<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6474609310510172769</id><updated>2012-01-28T14:13:34.417+05:30</updated><category term='C-Kid'/><category term='J2EE'/><category term='Database'/><title type='text'>IT-Kids</title><subtitle type='html'>A blog on computing fundamentals especially written for an absolute beginner in தமிழ் language.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-6189934945371415668</id><published>2011-03-02T19:19:00.007+05:30</published><updated>2011-03-04T21:22:15.777+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Chapter 02: Installing a Database Server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;iframe frameborder="0" height="440" src="http://player.vimeo.com/video/20605519" width="625"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h3 style="text-align: justify;"&gt;1) Installing MySQL&lt;/h3&gt;&lt;h3 style="text-align: justify;"&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;MySQL is an open-source RDBMS. We will install this to learn SQL.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Installing MySQL is very easy. Follow these steps.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;1) Just search in Google for &lt;i&gt;Download MySQL&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;2) Download the software named &lt;b&gt;MySQL Community Server&lt;/b&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt;3) Choose the hardware architecture. &lt;b&gt;x86&lt;/b&gt; or &lt;b&gt;x64&lt;/b&gt;. (It is &lt;b&gt;x86 &lt;/b&gt;most of the time for Home PC's)&lt;br /&gt;&lt;br /&gt;Once the installer is downloaded, watch the below video for  installation instructions.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;a href="http://rapidshare.com/files/450614947/Chapter-02-Installing-Database-Server.mp4" target="_blank"&gt;&lt;span style="font-size: large;"&gt; &lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;2) Installing Oracle XE&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;Oracle XE is a free version of Database released by Oracle. We will install this also. It will help you&amp;nbsp; understand that all the databases are SAME, and speak the language SQL.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Installing Oracle XE is also very easy. Follow these steps.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;1) Just search in Google for &lt;i&gt;Download Oracle XE, &lt;/i&gt;and go to the downloads page.&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;2) Download the software named &lt;b&gt; Oracle Database 10g Express Edition (OracleXEUniv.exe)&lt;/b&gt; &lt;/div&gt;3) Choose the hardware architecture. &lt;b&gt;x86&lt;/b&gt; or &lt;b&gt;x64&lt;/b&gt;. (It is &lt;b&gt;x86 &lt;/b&gt;most of the time for Home PC's)&lt;br /&gt;&lt;h3 style="text-align: justify;"&gt;Download:&lt;/h3&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://rapidshare.com/files/450614947/Chapter-02-Installing-Database-Server.mp4" target="_blank"&gt;Click here to download &lt;b&gt;Chapter-2&lt;/b&gt; Video&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;u&gt;&lt;b&gt;Note:&amp;nbsp;&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;Choose &lt;b&gt;Slow Download&lt;/b&gt; option in the download page.&lt;br /&gt;Use &lt;b&gt;VLC Media Player&lt;/b&gt; if this file is not opening in &lt;b&gt;Windows Media Player&lt;/b&gt;. &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-6189934945371415668?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/6189934945371415668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2011/03/installing-database-server.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/6189934945371415668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/6189934945371415668'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2011/03/installing-database-server.html' title='Chapter 02: Installing a Database Server'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-8751828524183798990</id><published>2010-04-17T21:18:00.007+05:30</published><updated>2011-03-02T19:20:22.336+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Chapter 01: An Introduction to Databases</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="text-align: center;"&gt;&lt;object height="444" width="625"&gt;&lt;param name="movie" value="http://www.youtube.com/v/jsbwaaImyes?hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/jsbwaaImyes?hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="625" height="444"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;Download Video Source: High-Quality : 40 MB&lt;/h3&gt;&lt;div style="text-align: center;"&gt;Click below arrow to download….&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://rapidshare.com/files/407629511/Chapter-1-An-Introduction-To-Database.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;What:&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;We all know Database is used for storing Data. There are billions of technical definitions available, but we will just continue with this simple definition for now ;-)&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;Why:&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;Once upon a time, Computing is used for only Mathematical Calculations. A need for permanent storage of data was not there then. In this new age of Computing, we need to permanently store data for future processing. Example situations are available in millions. Be it, a list of employees in a company or students in a school/university, online reservation systems and lot more. We just can't keep records in hand-written notebooks anymore.&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;Problem with Previous Techniques:&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;When we talk about Permanent storage, don't we have files ? Text documents ? Word Documents ? Excel spreadsheets ?&lt;/div&gt;&lt;ol style="text-align: justify;"&gt;&lt;li&gt;Open a Notepad&lt;/li&gt;&lt;li&gt;Type a list of 10 or 20 employees&lt;/li&gt;&lt;li&gt;Save it as Employees.txt &lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: justify;"&gt;Well, yes. We did it. We permanently stored data. Why need a Database then? Answer lies behind the advancement of Computing. Consider the following situation.&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;I need the list of employees joined this year ?&lt;/li&gt;&lt;li&gt;I need the no. of employees retiring this year ?&lt;/li&gt;&lt;li&gt;How many employees have a P.G Degree in Mathematics ?&lt;/li&gt;&lt;li&gt;Which department has the most number of Employees ?&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;Now, doing this manually would be a herculean task.You open the employee.txt file, check and count the employees. If it is 10 or 20 employees, fine. But how about, 100 ? or 1000 ? or assume &lt;b&gt;20 Million ?&lt;/b&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;It has just become impossible. Retrieval was extremely difficult. Even managing the data would be even more difficult, in terms of adding a new record or modifying an existing one, say for example - changing phone/address of an employee. Such tasks can be achieved in Micro Seconds if you are using a Database. That's why Computing has advanced and created a data storage TECHNOLOGY called DATABASE using which data can be stored,retrieved &amp;amp; maintained easily &amp;amp; effectively.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Well, we just got an Improved definition !&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;Database Model&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;Now that you understood Database stores data somewhere &amp;amp; helps you maintain it efficiently, you should also know that there are different Database Models available that define HOW THE DATA IS STORED !&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Some standard models available are Relational Model, Network Model, Object-Oriented model...&lt;/div&gt;&lt;div style="text-align: justify;"&gt;You should remember that in all those models, the Data is still stored in a file BUT the way it is stored and retrieved is different. This is performed by something called DBMS.&lt;/div&gt;&lt;h3 style="text-align: justify;"&gt;DBMS&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;DBMS is the next buzzword used most of the times in Databases technology.&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;It's the abbreviation of DataBase Management System.&lt;/li&gt;&lt;li&gt;DBMS is a software.&lt;/li&gt;&lt;li&gt;It helps you create and manage a DATABASE.&lt;/li&gt;&lt;li&gt;It will work based on one of the Database models described above.&lt;/li&gt;&lt;li&gt;RDBMS is a DBMS software that implements the RELATIONAL Model.&lt;/li&gt;&lt;li&gt;RELATIONAL Model uses TABLES to represent data.&lt;/li&gt;&lt;li&gt;TABLES are a collection of rows and columns.&lt;/li&gt;&lt;li&gt;Below is a good example of TABLE&lt;/li&gt;&lt;/ul&gt;&lt;table style="margin-left: 0px; margin-right: 0px; text-align: left;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Emp_Id&lt;/th&gt;&lt;th&gt;Emp_Name&lt;/th&gt;&lt;th&gt;Age&lt;/th&gt;&lt;th&gt;DateJoined&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt; &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1001&lt;/td&gt;&lt;td&gt;Vignesh&lt;/td&gt;&lt;td&gt;23&lt;/td&gt;&lt;td&gt;OCT-22-2008&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1002&lt;/td&gt;&lt;td&gt;Raju&lt;/td&gt;&lt;td&gt;25&lt;/td&gt;&lt;td&gt;NOV-13-2007&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1003&lt;/td&gt;&lt;td&gt;Sachin&lt;/td&gt;&lt;td&gt;35&lt;/td&gt;&lt;td&gt;APR-24-2006&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Most of the Prominent Databases available these days are RDBMS.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Few examples are - Oracle, MySQL, MS SQL Server.&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;Hmmm.....Familiar names, aren't they ?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Apart from storage &amp;amp; retrieval, DBMS softwares provide some extraordinary features like the following.&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Allows concurrency&lt;/li&gt;&lt;li&gt;Control security&lt;/li&gt;&lt;li&gt;Maintain data integrity&lt;/li&gt;&lt;li&gt;Provide options for backup and recovery&lt;/li&gt;&lt;li&gt;Control redundancy&lt;/li&gt;&lt;li&gt;Provide non-procedural query language&lt;/li&gt;&lt;li&gt;Perform automatic query optimization&lt;/li&gt;&lt;/ul&gt;&lt;h3 style="text-align: justify;"&gt;Database Schema&lt;/h3&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Once you install an RDBMS, you need to create a database schema.&lt;/li&gt;&lt;li&gt;A database schema is a collection of Database objects. &lt;/li&gt;&lt;li&gt;Database objects are the various concepts/features provided by a DBMS like, Tables, Views, Indexes, Sequences, Functions, Procedures, etc.,&lt;/li&gt;&lt;li&gt;For Example, we can have a schema named UniversityXYZ which will contain some 15 tables, 10 views, 32 functions etc.,&lt;/li&gt;&lt;li&gt;So, Schema helps us GROUP the database objects together.&lt;/li&gt;&lt;/ul&gt;&lt;h3 style="text-align: justify;"&gt;SQL&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;You have something called DATABASE which will store data. Now, to STORE and RETRIEVE, you will need a STANDARD FORMAT to communicate with the DBMS software. If you are going to store some employee details in a Database like ORACLE, how will you add a new employee ?&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Two approaches.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Hi Computer, Mr.X has unfortunately joined our company TODAY. Please add this pathetic young man to your database.&lt;/li&gt;&lt;li&gt;INSERT INTO Employees VALUES('Mr.X', '17-APR-2010')&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;We are storing data of one employee in database. And the important thing here is - how you STORE it in database. First example, English sentence...the compter cannont undertstand.....That's why you have a standard language......named as SQL. The beauty is that the above Query will be accepted by any RDBMS !&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Because SQL is a common standard and is understood by all the RDBMS like Oracle, MySQL etc.,&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;SQL is the abbreviation of Structured Query Language.&lt;/li&gt;&lt;li&gt;It was accepted as the STANDARD language for Databases.&lt;/li&gt;&lt;li&gt;SQL has a set of KEYWORDS using which you write a Query.&lt;/li&gt;&lt;li&gt;A Query is a request to the database to perform an operation.&lt;/li&gt;&lt;li&gt;There are two basic type of SQL namely, DDL &amp;amp; DML.&lt;/li&gt;&lt;li&gt;DDL - Data Definition language - used to create, delete database objects.&lt;/li&gt;&lt;li&gt;Some standard DDL Keywords are CREATE &amp;amp; DROP.&lt;/li&gt;&lt;li&gt;DML - Data Manipulation Language  used to retrive &amp;amp; modify data. &lt;/li&gt;&lt;li&gt;Some standard DML Keywords are SELECT, INSERT, UPDATE &amp;amp; DELETE.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-8751828524183798990?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/8751828524183798990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2010/04/introduction-to-database.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/8751828524183798990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/8751828524183798990'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2010/04/introduction-to-database.html' title='Chapter 01: An Introduction to Databases'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-5509699913088064283</id><published>2009-10-21T01:11:00.002+05:30</published><updated>2010-12-17T02:16:24.962+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 11: J2EE – The Eclipse Way</title><content type='html'>&lt;h3&gt;Why Tools?&lt;/h3&gt;Often we repeatedly do something which turns out to be time consuming and frustrating&amp;nbsp; over a period of time. Not only in computing but this happens in general. Most of the times, we tend to automate it &amp;amp; make it easier to accomplish.&lt;br /&gt;So the aim of software is to automate these type human tasks and save time, effort, money. But the funny part is that the developer who creates a software also has a set of repeated tasks. What are the possibilities ?&lt;br /&gt;For example, let’s take the compilation of servlets. what are we doing there ?&lt;br /&gt;&lt;ol&gt;&lt;li&gt;We write the servlet program, save it as &lt;b&gt;filename.java &lt;/b&gt;under the &lt;b&gt;src &lt;/b&gt;folder. &lt;/li&gt;&lt;li&gt;We compile it and A &lt;b&gt;filename.class &lt;/b&gt;gets created. &lt;/li&gt;&lt;li&gt;We copy (or cut) the &lt;b&gt;.class &lt;/b&gt;file and paste it in &lt;b&gt;classes &lt;/b&gt;folder. &lt;/li&gt;&lt;li&gt;Reload the application. &lt;/li&gt;&lt;/ol&gt;Now even if we make a small change, we have to repeat all 4 steps. Consider if we have some 50 servlets in the &lt;b&gt;src&lt;/b&gt; folder, repeating them lead to horrible software development. &lt;br /&gt;&lt;h3&gt;Code for Code&lt;/h3&gt;Tools are developed these days to make software development quick and easy. These tools are usually termed as IDE (&lt;b&gt;I&lt;/b&gt;ntegrated &lt;b&gt;D&lt;/b&gt;evelopment&amp;nbsp; &lt;b&gt;E&lt;/b&gt;nvironment). So i tagged “Code for Code”, just because people write code to develop a tool which will be used to code :) Like “&lt;i&gt;Tit for Tat&lt;/i&gt;”.&lt;br /&gt;&lt;h3&gt;Advantage of Tools&lt;/h3&gt;Using a tool for software development makes life easy for a programmer.&lt;br /&gt;Basically speaking (oops, it’s writing actually :)) tools gives,&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Efficiency&lt;/b&gt;: Enhances coding productivity. &lt;/li&gt;&lt;li&gt;&lt;b&gt;Speed:&lt;/b&gt; Lesser development time. &lt;/li&gt;&lt;/ul&gt;Technically speaking, a tool has the following common features.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Syntax highlighting for better visibility. &lt;/li&gt;&lt;li&gt;Validation mechanisms that helps get rid of errors during development itself. &lt;/li&gt;&lt;li&gt;Code Assists that provides technical insights. &lt;/li&gt;&lt;li&gt;Automatic compilations &amp;amp; builds. &lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;What: Eclipse IDE&lt;/h3&gt;&lt;b&gt;Eclipse&lt;/b&gt; is a free, open-source multi-language software development environment comprising an &lt;a href="http://en.wikipedia.org/wiki/Integrated_development_environment"&gt;IDE&lt;/a&gt; and a &lt;a href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29"&gt;plug-in&lt;/a&gt; system to extend it. It is written primarily in Java and can be used to develop applications in Java and, by means of the various plug-ins, in other languages as well, including &lt;a href="http://en.wikipedia.org/wiki/C_%28programming_language%29"&gt;C&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/C%2B%2B"&gt;C++&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/COBOL"&gt;COBOL&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29"&gt;Python&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/Perl"&gt;Perl&lt;/a&gt;, &lt;a href="http://en.wikipedia.org/wiki/PHP"&gt;PHP&lt;/a&gt;, and others.&lt;br /&gt;&lt;h6&gt;(Taken from Wikepedia)&lt;/h6&gt;&lt;h3&gt;Eclipse: Installation&lt;/h3&gt;Installing eclipse is equal to unzipping a &lt;b&gt;.zip &lt;/b&gt;file. Only two steps.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Download eclipse &lt;/b&gt;(&lt;a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-jee-ganymede-SR2-win32.zip" target="_blank"&gt;click here&lt;/a&gt; to download) &lt;/li&gt;&lt;li&gt;Unzip the downloaded file (to anywhere in your hard disk). &lt;/li&gt;&lt;/ol&gt;That’s it. Installation complete. Start coding. Have fun. Enjoy the pleasure of the advantages.&lt;br /&gt;&lt;h3&gt;Tomcat Plug-in for Eclipse&lt;/h3&gt;Eclipse is a tool which has a limited set of features after installation. It provides a feature called &lt;b&gt;plug-in &lt;/b&gt;using which we can add any feature later. Tomcat has provided a plug-in for eclipse using which we can &lt;b&gt;start/stop&lt;/b&gt; the tomcat server from eclipse itself. &lt;br /&gt;When we create a &lt;b&gt;Tomcat project, &lt;/b&gt;eclipse will automatically create the standard folder structure for you&lt;b&gt;. &lt;/b&gt;Like the WEB-INF, src, classes etc.,&lt;br /&gt;&lt;h4&gt;&lt;b&gt;Tomcat Plug-in: &lt;/b&gt;Installation&lt;/h4&gt;Again, Installing an &lt;b&gt;eclipse plug-in&lt;/b&gt; is equal to unzipping a &lt;b&gt;.zip &lt;/b&gt;file. Only two steps.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;b&gt;Download Tomcat Plug-in for eclipse &lt;/b&gt;(&lt;a href="http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV321.zip"&gt;click here&lt;/a&gt; to download) &lt;/li&gt;&lt;li&gt;Unzip the downloaded file (to &lt;b&gt;&amp;lt;eclipse-install-dir&amp;gt; \ plugins&lt;/b&gt; folder). &lt;/li&gt;&lt;/ol&gt;&lt;h3 align="center"&gt;&amp;nbsp;&lt;/h3&gt;&lt;h4&gt;Watch the below video to learn more….&lt;/h4&gt;&lt;br /&gt;&lt;div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:0c1ede83-6c25-47e8-9530-86095c38c3e5" style="display: inline; float: none; margin: 0px; padding: 0px;"&gt;&lt;div id="7ae3ad3d-811a-4f08-9bb7-4a17d4d0b008" style="display: inline; margin: 0px; padding: 0px;"&gt;&lt;div&gt;&lt;a href="http://www.youtube.com/watch?v=onzMb2XLm_g&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" target="_new"&gt;&lt;img alt="" galleryimg="no" onload="var downlevelDiv = document.getElementById('7ae3ad3d-811a-4f08-9bb7-4a17d4d0b008'); downlevelDiv.innerHTML = &amp;quot;&amp;lt;div&amp;gt;&amp;lt;object width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;param name=\&amp;quot;movie\&amp;quot; value=\&amp;quot;http://www.youtube.com/v/onzMb2XLm_g&amp;amp;hl=en&amp;amp;fs=1&amp;amp;&amp;amp;hl=en\&amp;quot;&amp;gt;&amp;lt;\/param&amp;gt;&amp;lt;embed src=\&amp;quot;http://www.youtube.com/v/onzMb2XLm_g&amp;amp;hl=en&amp;amp;fs=1&amp;amp;&amp;amp;hl=en\&amp;quot; type=\&amp;quot;application/x-shockwave-flash\&amp;quot; width=\&amp;quot;425\&amp;quot; height=\&amp;quot;355\&amp;quot;&amp;gt;&amp;lt;\/embed&amp;gt;&amp;lt;\/object&amp;gt;&amp;lt;\/div&amp;gt;&amp;quot;;" src="http://lh5.ggpht.com/_yRKuwQvooRo/St4Sg5hzlGI/AAAAAAAAAng/67ZvSVfv4UM/video1bfd714c1c23%5B3%5D.jpg?imgmax=800" style="border-style: none;" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 18 MB&lt;/h3&gt;&lt;div align="center"&gt;Click below arrow to download….&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://rapidshare.com/files/286033548/Tamil_JEE_Tutorial_Chapter_11_J2EE_-_The_Eclipse_Way.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-5509699913088064283?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/5509699913088064283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/10/chapter-11-j2ee-eclipse-way.html#comment-form' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5509699913088064283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5509699913088064283'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/10/chapter-11-j2ee-eclipse-way.html' title='Chapter 11: J2EE – The Eclipse Way'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_yRKuwQvooRo/St4Sg5hzlGI/AAAAAAAAAng/67ZvSVfv4UM/s72-c/video1bfd714c1c23%5B3%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-2201974847186253502</id><published>2009-09-26T15:41:00.003+05:30</published><updated>2010-12-17T02:16:28.903+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 10: More Examples: JSP + Servlets</title><content type='html'>&lt;h3&gt;What now?&lt;/h3&gt;Both JSP and servlets combined together forms a better web application. Lets write a sample application that involves both &lt;b&gt;JSP&lt;/b&gt; and &lt;b&gt;Servlets&lt;/b&gt;.&lt;br /&gt;we will use four files for this example.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;home.jsp &lt;/li&gt;&lt;li&gt;AuthenticateServlet.java &lt;/li&gt;&lt;li&gt;welcome.jsp &lt;/li&gt;&lt;li&gt;error.jsp &lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;index.jsp&lt;/h4&gt;This is like our login page where the user will enter an username and password.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt;     &lt;br /&gt;&amp;lt;h5&amp;gt;Welcome to VikiMail !&amp;lt;/h5&amp;gt;      &lt;br /&gt;&amp;lt;h4&amp;gt;Login&amp;lt;/h4&amp;gt;      &lt;br /&gt;&amp;lt;FORM ACTION = "&lt;b&gt;AuthenticateUser&lt;/b&gt;" METHOD ="POST"&amp;gt;      &lt;br /&gt;Username: &amp;lt;INPUT TYPE = "TEXT" NAME = "&lt;b&gt;username&lt;/b&gt;"&amp;gt;&amp;lt;BR&amp;gt;      &lt;br /&gt;Password: &amp;lt;INPUT TYPE = "PASSWORD" NAME = "&lt;b&gt;password&lt;/b&gt;"&amp;gt;&amp;lt;BR&amp;gt;      &lt;br /&gt;&amp;lt;INPUT TYPE = "SUBMIT" VALUE = "Login"&amp;gt;      &lt;br /&gt;&amp;lt;/FORM&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;     &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;h4&gt;AuthenticateServlet.java&lt;/h4&gt;This is the only servlet program in our example. It will be invoked when we enter username/password and submit the &lt;b&gt;index.jsp &lt;/b&gt;page.&lt;br /&gt;For making it simple, this servlet just checks if the password is &lt;b&gt;super*&lt;/b&gt;, goes to &lt;b&gt;success.jsp. O&lt;/b&gt;therwise it will go to &lt;b&gt;error.jsp&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;import java.io.*;     &lt;br /&gt;import javax.servlet.*;      &lt;br /&gt;import javax.servlet.http.*; &lt;br /&gt;public class AuthenticateServlet extends HttpServlet     &lt;br /&gt;{      &lt;br /&gt;public void doPost      &lt;br /&gt;(HttpServletRequest request,      &lt;br /&gt;HttpServletResponse response)      &lt;br /&gt;throws ServletException, IOException      &lt;br /&gt;{      &lt;br /&gt;String username = request.getParameter("username").toString();      &lt;br /&gt;String password = request.getParameter("password").toString(); &lt;br /&gt;if(password.equals("super*"))     &lt;br /&gt;response.sendRedirect("success.jsp");      &lt;br /&gt;else      &lt;br /&gt;response.sendRedirect("error.jsp");      &lt;br /&gt;}      &lt;br /&gt;} &lt;/blockquote&gt;&lt;h4&gt;web.xml&lt;/h4&gt;This file, usually resides inside the WEB-INF folder. Whatever servlets we have written in our application, we need to specify it here.&lt;br /&gt;In our case there is one servlet called &lt;b&gt;AuthenticateServlet.java. &lt;/b&gt;&lt;br /&gt;&lt;h3&gt;Mapping with web.xml&lt;/h3&gt;Follow these steps to add a servlet mapping.&lt;br /&gt;1) Create a &lt;b&gt;&amp;lt;servlet&amp;gt; &amp;lt;/servlet&amp;gt;&lt;/b&gt; tag.&lt;br /&gt;2) Create a &lt;b&gt;&amp;lt;servlet-name&amp;gt;&lt;/b&gt; tag and &lt;b&gt;&amp;lt;servlet-class&amp;gt;&lt;/b&gt; tag INSIDE the &lt;b&gt;&amp;lt;servlet&amp;gt;&lt;/b&gt; tag like shown below.&lt;br /&gt;&amp;lt;servlet&amp;gt;   &lt;br /&gt;&amp;lt;servlet-name&amp;gt; &amp;lt;/servlet-name&amp;gt;    &lt;br /&gt;&amp;lt;servlet-class&amp;gt;  &amp;lt;/servlet-class&amp;gt;    &lt;br /&gt;&amp;lt;/servlet&amp;gt; &lt;br /&gt;3) In &lt;b&gt;&amp;lt;servlet-class&amp;gt;, &lt;/b&gt;give the &lt;b&gt;.class &lt;/b&gt;name of the servlet program. The name you specify here must be the same name as the servlet program file name. &lt;br /&gt;4) In &lt;b&gt;&amp;lt;/servlet-name&amp;gt; &lt;/b&gt;tag, give any dummy name. This is like a reference name for mapping purposes. The dummy name given here needs be specified exactly in another place of the &lt;b&gt;web.xml&lt;/b&gt; file.    &lt;br /&gt;&lt;br /&gt;&amp;lt;servlet&amp;gt;   &lt;br /&gt;&amp;lt;servlet-name&amp;gt;CallAuthenticate&amp;lt;/servlet-name&amp;gt;    &lt;br /&gt;&amp;lt;servlet-class&amp;gt;AuthenticateServlet&amp;lt;/servlet-class&amp;gt;    &lt;br /&gt;&amp;lt;/servlet&amp;gt; &lt;br /&gt;5) Create a &lt;b&gt;&amp;lt;servlet-mapping&amp;gt; &lt;/b&gt;tag and inside that, create two other tags namely, &lt;b&gt;&amp;lt;servlet-name&amp;gt;&lt;/b&gt; and &lt;b&gt;&amp;lt;url-pattern&amp;gt; &lt;/b&gt;like the one which is shown below.&lt;br /&gt;&amp;lt;servlet-mapping&amp;gt;   &lt;br /&gt;&amp;lt;servlet-name&amp;gt;   &amp;lt;/servlet-name&amp;gt;    &lt;br /&gt;&amp;lt;url-pattern&amp;gt;       &amp;lt;/url-pattern&amp;gt;    &lt;br /&gt;&amp;lt;/servlet-mapping&amp;gt; &lt;br /&gt;6) In the &lt;b&gt;&amp;lt;servlet-name&amp;gt;&lt;/b&gt; tag (under &lt;b&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/b&gt;), give the same dummy name that you specified in the &lt;b&gt;&amp;lt;servlet-name&amp;gt;&lt;/b&gt; tag under &lt;b&gt;&amp;lt;servlet&amp;gt;&lt;/b&gt; tag.&lt;br /&gt;7) Finally in the &lt;b&gt;&amp;lt;url-pattern&amp;gt;&lt;/b&gt; tag, give this symbol first. :  &lt;b&gt;/ &lt;/b&gt;&lt;br /&gt;8) Followed by the slash, give any URL name. &lt;br /&gt;&lt;b&gt;Remember:&lt;/b&gt; This URL pattern will be specified in the &lt;b&gt;ACTION &lt;/b&gt;attribute of the &lt;b&gt;&amp;lt;form&amp;gt;&lt;/b&gt; tag in the jsp page. (Check the &lt;b&gt;index.jsp&lt;/b&gt; page)&lt;br /&gt;After changing everything, your &lt;b&gt;web.xml &lt;/b&gt;will look something like this.&lt;br /&gt;&lt;b&gt;Note: &lt;/b&gt;Follow the same procedure for creating servlet mappings. Except for the (1)Actual java file name (2) dummy servlet name and the (3) URL Pattern, everything procedure remains same.&lt;br /&gt;&lt;h4&gt;web.xml&lt;/h4&gt;&lt;hr /&gt;&amp;lt;?xml version="1.0"?&amp;gt;   &lt;br /&gt;&amp;lt;web-app    &lt;br /&gt;xmlns="&lt;a href="http://java.sun.com/xml/ns/javaee%22"&gt;http://java.sun.com/xml/ns/javaee"&lt;/a&gt;    &lt;br /&gt;xmlns:xsi="&lt;a href="http://www.w3.org/2001/XMLSchema-instance%22"&gt;http://www.w3.org/2001/XMLSchema-instance"&lt;/a&gt;    &lt;br /&gt;xsi:schemaLocation="&lt;a href="http://java.sun.com/xml/ns/javaee"&gt;http://java.sun.com/xml/ns/javaee&lt;/a&gt; &lt;a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd%22"&gt;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"&lt;/a&gt;    &lt;br /&gt;version="2.5"&amp;gt; &lt;br /&gt;&amp;lt;display-name&amp;gt;Demo Application&amp;lt;/display-name&amp;gt;   &lt;br /&gt;&amp;lt;description&amp;gt;    &lt;br /&gt;For Learning purposes.    &lt;br /&gt;&amp;lt;/description&amp;gt; &lt;br /&gt;&amp;lt;servlet&amp;gt;   &lt;br /&gt;&amp;lt;servlet-name&amp;gt;CallAuthenticate&amp;lt;/servlet-name&amp;gt;    &lt;br /&gt;&amp;lt;servlet-class&amp;gt;AuthenticateServlet&amp;lt;/servlet-class&amp;gt;    &lt;br /&gt;&amp;lt;/servlet&amp;gt; &lt;br /&gt;&amp;lt;servlet-mapping&amp;gt;   &lt;br /&gt;&amp;lt;servlet-name&amp;gt;CallAuthenticate&amp;lt;/servlet-name&amp;gt;    &lt;br /&gt;&amp;lt;url-pattern&amp;gt;/AuthenticateUser&amp;lt;/url-pattern&amp;gt;    &lt;br /&gt;&amp;lt;/servlet-mapping&amp;gt; &lt;br /&gt;&amp;lt;/web-app&amp;gt;&lt;br /&gt;&lt;hr /&gt;&lt;h4&gt;success.jsp&lt;/h4&gt;This is the page that the servlet re-directs to when the password is correct.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt;     &lt;br /&gt;&amp;lt;h5&amp;gt;Welcome!&amp;lt;/h5&amp;gt;&amp;lt;BR&amp;gt;      &lt;br /&gt;&amp;lt;h4&amp;gt;Login Successful&amp;lt;/h4&amp;gt;      &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;h4&gt;error.jsp&lt;/h4&gt;This is the page that the servlet re-directs to when the password is wrong.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt;     &lt;br /&gt;&amp;lt;h5&amp;gt;Sorry!&amp;lt;/h5&amp;gt;&amp;lt;BR&amp;gt;      &lt;br /&gt;&amp;lt;h4&amp;gt;Login failed&amp;lt;/h4&amp;gt;      &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;h4&gt;&lt;/h4&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 17 MB&lt;/h3&gt;&lt;div align="center"&gt;Click below arrow to download….&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://rapidshare.com/files/285522699/Tamil_JEE_Tutorial_Chapter_10_Examples_Servlets_and_JSP.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h4&gt;Watch Video&lt;/h4&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/bT_aEe7JZD4&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/bT_aEe7JZD4&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-2201974847186253502?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/2201974847186253502/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-10-more-examples-jsp-servlets.html#comment-form' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2201974847186253502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2201974847186253502'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-10-more-examples-jsp-servlets.html' title='Chapter 10: More Examples: JSP + Servlets'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-6106581259922725263</id><published>2009-09-08T02:04:00.004+05:30</published><updated>2011-01-16T14:55:19.145+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Chapter 09: Beginning Servlets</title><content type='html'>&lt;h3&gt;What: Servlet &lt;/h3&gt;A &lt;b&gt;Servlet&lt;/b&gt; is a Java Program that extends HttpServlet class. A servlet is basically responsible for processing request &amp;amp; sending response to the client. Servlet helps developing a more robust, secure web application.   &lt;br /&gt;&lt;h3&gt;Like: Servlet&lt;/h3&gt;These are the other scripting languages that are like Java Servlet. If you are learning a concept, it’s good to know the counterparts.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;CGI &lt;/li&gt;&lt;li&gt;PHP &lt;/li&gt;&lt;li&gt;ASP.NET &lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;The King: &lt;b&gt;web.xml&lt;/b&gt;&lt;/h3&gt;An XML file called "&lt;b&gt;web.xml&lt;/b&gt;" contains information about all the servlets written in a java application. This is the most important file in a JEE web application and it is &lt;b&gt;mandatory&lt;/b&gt;. Inside the project folder/directory, a folder called “&lt;b&gt;WEB-INF&lt;/b&gt;” should be created. Inside this folder, the &lt;b&gt;web.xml &lt;/b&gt;file needs to be placed.&lt;br /&gt;&lt;h4&gt;Example:&lt;/h4&gt;&lt;blockquote&gt;&amp;lt;?xml version="1.0"?&amp;gt;     &lt;br /&gt;&amp;lt;web-app      &lt;br /&gt;xmlns="http://java.sun.com/xml/ns/javaee"      &lt;br /&gt;xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      &lt;br /&gt;xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"      &lt;br /&gt;version="2.5"&amp;gt;      &lt;br /&gt;&amp;lt;display-name&amp;gt;Demo Application&amp;lt;/display-name&amp;gt;      &lt;br /&gt;&amp;lt;description&amp;gt;      &lt;br /&gt;For Learning purposes.      &lt;br /&gt;&amp;lt;/description&amp;gt;      &lt;br /&gt;&amp;lt;servlet&amp;gt;      &lt;br /&gt;&amp;lt;servlet-name&amp;gt;MyFirstServlet&amp;lt;/servlet-name&amp;gt;      &lt;br /&gt;&amp;lt;servlet-class&amp;gt;DemoServlet&amp;lt;/servlet-class&amp;gt;      &lt;br /&gt;&amp;lt;/servlet&amp;gt;      &lt;br /&gt;&amp;lt;servlet-mapping&amp;gt;      &lt;br /&gt;&amp;lt;servlet-name&amp;gt;MyFirstServlet&amp;lt;/servlet-name&amp;gt;      &lt;br /&gt;&amp;lt;url-pattern&amp;gt;/HitTheServlet&amp;lt;/url-pattern&amp;gt;      &lt;br /&gt;&amp;lt;/servlet-mapping&amp;gt;      &lt;br /&gt;&amp;lt;/web-app&amp;gt;&lt;/blockquote&gt;&lt;h3&gt;Servlet Vs JSP&lt;/h3&gt;Both Servlet and JSP are basically &lt;b&gt;same&lt;/b&gt;. A JSP is actually &lt;b&gt;converted &lt;/b&gt;to a servlet before execution. Whenever a JSP file is executed, it is first compiled into a Java Servlet &amp;amp; then executed by the server.&lt;br /&gt;&lt;h3&gt;My First Servlet&lt;/h3&gt;&lt;blockquote&gt;import java.io.*;     &lt;br /&gt;import javax.servlet.*;      &lt;br /&gt;import javax.servlet.http.*;      &lt;br /&gt;public class HelloWorld extends HttpServlet      &lt;br /&gt;{      &lt;br /&gt;public void doGet(HttpServletRequest request,      &lt;br /&gt;HttpServletResponse response)      &lt;br /&gt;throws ServletException, IOException      &lt;br /&gt;{      &lt;br /&gt;PrintWriter out = response.getWriter();      &lt;br /&gt;out.println("Hello World");      &lt;br /&gt;}      &lt;br /&gt;} &lt;/blockquote&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 33 MB&lt;/h3&gt;&lt;div align="center"&gt;Click below arrow to download….&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://rapidshare.com/files/277802513/Tamil_JEE_Tutorial_Chapter_09_Beginning_Servlets.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h5&gt;Watch it !&lt;/h5&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/mt3WI5bSom0?hl=en&amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/mt3WI5bSom0?hl=en&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-6106581259922725263?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/6106581259922725263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-09-beginning-servlets.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/6106581259922725263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/6106581259922725263'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-09-beginning-servlets.html' title='Chapter 09: Beginning Servlets'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-1372505194047074916</id><published>2009-09-05T01:59:00.004+05:30</published><updated>2009-11-23T21:07:28.595+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 08: More JSP Examples</title><content type='html'>With this chapter, we will wind up jsp and start learning Servlets. Of course there are too many topics we missed out in jsp but the objective of my blog is to get you started. Once you get the start, you will learn everything on your own. From my experience, Self-Learning is the best learning. &lt;br /&gt;I will discuss two more examples on jsp in this chapter. &lt;br /&gt;&lt;h3&gt;Example 1: The Dynamic Table&lt;/h3&gt;  &lt;p&gt;We will build a multiplication table which we've come across during our early school days.  &lt;br /&gt;First, i will build it with HTML Alone. Then we will do it the &lt;strong&gt;JSP &lt;/strong&gt;way.   &lt;br /&gt;&lt;/p&gt;  &lt;h5&gt;table.html &lt;/h5&gt;  &lt;p&gt;The following table is a static one. It’s just a multiplication table of 5.&lt;/p&gt;  &lt;blockquote&gt;&amp;lt;html&amp;gt;  &lt;br /&gt;&amp;lt;h3&amp;gt;5 Table&amp;lt;/h3&amp;gt;     &lt;p&gt;&amp;lt;TABLE border = 1&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;TR&amp;gt;&amp;lt;TH&amp;gt;A&amp;lt;/TH&amp;gt;&amp;lt;TH&amp;gt;B&amp;lt;/TH&amp;gt;&amp;lt;/TR&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;1 * 5&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;    &lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;2 * 5&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;10&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;     &lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;3 * 5&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;15&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;     &lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;4 * 5&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;     &lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;5 * 5&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;25&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;TABLE&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h5&gt;table.jsp&lt;/h5&gt;  &lt;p&gt;Here we go…Our cute dynamic one. Notice the number of &lt;strong&gt;Multiply operation &lt;/strong&gt;performed in both the examples. It’s 5 lines in the HTML version. But here, it’s just &lt;strong&gt;ONLY ONE&lt;/strong&gt; line. The number you define in the &lt;em&gt;for &lt;/em&gt;loop, decides the number of rows. Check out the video @ the end of this blog to see this in action. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;html&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;h3&amp;gt;5 Tables&amp;lt;/h3&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;TABLE border = 1&amp;gt;    &lt;br /&gt;&amp;lt;TR&amp;gt;&amp;lt;TH&amp;gt;A&amp;lt;/TH&amp;gt;&amp;lt;TH&amp;gt;B&amp;lt;/TH&amp;gt;&amp;lt;/TR&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;%    &lt;br /&gt;int number = 5;     &lt;br /&gt;for(int i = 1; i &amp;lt;= number ; i++)     &lt;br /&gt;{     &lt;br /&gt;%&amp;gt;     &lt;br /&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;1 * &amp;lt;%=number%&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;%=number*i%&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;     &lt;br /&gt;&amp;lt;%     &lt;br /&gt;}     &lt;br /&gt;%&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;TABLE&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;/html&amp;gt;&lt;/p&gt; &lt;/blockquote&gt;&lt;br /&gt;&lt;h3&gt;Example 2: Website Helper&lt;/h3&gt;&lt;br /&gt;&lt;h5&gt;where1.jsp&lt;/h5&gt;  &lt;p&gt;This is a typical “Re-direct” example. If you just say the name of the site, it takes you right there. This &lt;strong&gt;where1.jsp &lt;/strong&gt;has the HTML form where you give the input.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;    &lt;br /&gt;&amp;lt;h3&amp;gt;Where do you want to go ?&amp;lt;/h3&amp;gt;     &lt;br /&gt;Enter the site name alone. Dont give www, http.     &lt;br /&gt;&amp;lt;BR&amp;gt;Eg., Yahoo. &lt;/p&gt;    &lt;p&gt;&amp;lt;FORM ACTION = "where2.jsp" METHOD = "POST"&amp;gt;    &lt;br /&gt;&amp;lt;BR&amp;gt;&amp;lt;B&amp;gt;Website : &amp;lt;INPUT TYPE = TEXT NAME = "website"&amp;gt;     &lt;br /&gt;&amp;lt;BR&amp;gt;&amp;lt;INPUT TYPE = SUBMIT VALUE = "Go !"&amp;gt;     &lt;br /&gt;&amp;lt;/FORM&amp;gt;     &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h5&gt;where2.jsp&lt;/h5&gt;  &lt;p&gt;Once you define a site, the following piece of code will attach http, www, com to the name and performs a re-direct.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;    &lt;br /&gt;&amp;lt;%     &lt;br /&gt;String siteName = request.getParameter("website");     &lt;br /&gt;String siteURL = "http://www."+ siteName + ".com";     &lt;br /&gt;response.sendRedirect(siteURL);     &lt;br /&gt;%&amp;gt;     &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;What Next?&lt;/h3&gt;  &lt;p&gt;Well, there is a lot, lot &amp;amp; lot to learn. It will never end and you should never stop learning. What i have taught you in 8 chapters is just a start. You need to keep surfing more &amp;amp; explore &lt;strong&gt;JSP&lt;/strong&gt;. We will now move to &lt;strong&gt;servlets&lt;/strong&gt;.&lt;/p&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 23 MB&lt;/h3&gt;  &lt;p align="center"&gt;Click below arrow to download….&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/276245845/Tamil_JEE_Tutorial_Chapter_08_JSP_Examples.wmv"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" height="66" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h5&gt;Video: Part 1&lt;/h5&gt; &lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1omGfPqDwo8&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/1omGfPqDwo8&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;Video: Part 2&lt;/h5&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/E82zHTrFmN4&amp;hl=en_US&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/E82zHTrFmN4&amp;hl=en_US&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-1372505194047074916?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/1372505194047074916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-08-more-jsp-examples_05.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/1372505194047074916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/1372505194047074916'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/09/chapter-08-more-jsp-examples_05.html' title='Chapter 08: More JSP Examples'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-2865414103505497091</id><published>2009-08-28T00:08:00.003+05:30</published><updated>2010-07-18T20:40:31.524+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 07: Working with Forms</title><content type='html'>&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/61C_ftob4Es&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/61C_ftob4Es&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/-F1vlFy4cOI&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/-F1vlFy4cOI&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 15 MB&lt;/h3&gt;&lt;div align="center"&gt;Click below arrow to download….&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://rapidshare.com/files/274557139/j2ee_tutorial_chapter_7.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;h3&gt;Why Forms ?&lt;/h3&gt;Forms are the foremost feature found in any web application. I refer form to the HTML "Form" Tag. We do know that we can add Text Box, Buttons, List box to the web page using this Form tag.&lt;br /&gt;So to interact with the user, using forms is inevitable. Let's go and see some examples around the web &amp;amp; figure out how important Forms are.... &lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Examples&lt;/h3&gt;&lt;a href="https://na.edit.yahoo.com/registration?intl=us&amp;amp;done=http%3A%2F%2Fin.mc944.mail.yahoo.com%2Fmc%2Fwelcome%3F.gx%3D1%26amp%3B.tm%3D1250561262%26amp%3B.rand%3D8o19ig5eotvkb&amp;amp;src=ym&amp;amp;last=&amp;amp;partner=yahoo_default&amp;amp;domain=&amp;amp;yahooid="&gt;Yahoo! Mail - Registration Page&lt;/a&gt; &lt;br /&gt;This site is world famous &amp;amp; most of us have created an account in Yahoo! &lt;br /&gt;This registration page is built using HTML "Forms" Tag only. &lt;br /&gt;&lt;a href="http://www.google.co.in/advanced_search?hl=en"&gt;Google - Advanced Search Window&lt;/a&gt; &lt;br /&gt;Yet another example of a form...See, if you want to get data from the user, you need a form. Just imagine how it is processed. Let's imagine the steps that follows... &lt;br /&gt;&lt;ol&gt;&lt;li&gt;You will fill the form. &lt;/li&gt;&lt;li&gt;Then submit the form. &lt;/li&gt;&lt;li&gt;Then Google server will catch all your inputs. &lt;/li&gt;&lt;li&gt;It will completely 'change' it's way of search. &lt;/li&gt;&lt;li&gt;When you search again, you get different results.  &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;This is indeed a terrific example of a web application. Based on user input in the form, What you see after that completely changes. Ok...Let's stop our crap stories...we had enough...Now let's go to our favorite...programming....&lt;br /&gt;&lt;h3&gt;HTML Forms&lt;/h3&gt;Let’s start with a sample login form. We will have a username &amp;amp; password text box.&lt;br /&gt;And finally, we will also add one login button at the bottom of the page.&lt;br /&gt;Here is how the code will look like. Name it, “&lt;b&gt;one.jsp&lt;/b&gt;”.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt; &lt;br /&gt;&amp;lt;FORM ACTION = "&lt;b&gt;two.jsp&lt;/b&gt;" METHOD = "POST"&amp;gt;  &lt;br /&gt;&amp;lt;BR&amp;gt;&amp;lt;B&amp;gt;Username : &amp;lt;INPUT TYPE = TEXT NAME = "username"&amp;gt;  &lt;br /&gt;&amp;lt;BR&amp;gt;&amp;lt;B&amp;gt;Password  : &amp;lt;INPUT TYPE = TEXT NAME = "password"&amp;gt;  &lt;br /&gt;&amp;lt;BR&amp;gt;&amp;lt;INPUT TYPE = SUBMIT VALUE = "LOGIN"&amp;gt;  &lt;br /&gt;&amp;lt;/FORM&amp;gt;  &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;b&gt;HTML Forms &amp;amp; JSP&lt;/b&gt;&lt;br /&gt;Now let’s find out what JSP has to do with this. Listen, you designed a page. You got text boxes to type. Think what next. Well, the answer is &lt;b&gt;processing&lt;/b&gt;. Once you have your data, you need to process. For example, say once you click on the login button, you have to search the database and validate the login. Whether the user actually has an account &amp;amp; given the right password. Too much theory ? Don’t worry.&lt;br /&gt;&lt;blockquote&gt;HTML can only design the form. It is not having any feature to process data. But JSP can… &lt;/blockquote&gt;JSP uses the request attribute to get the form data. So let’s see how actually JSP does it with an example.&lt;br /&gt;The following file is &lt;b&gt;two.jsp&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt; &lt;br /&gt;&amp;lt;h3&amp;gt;Form submitted successfully. &amp;lt;/h3&amp;gt;  &lt;br /&gt;User name : &amp;lt;%=request.getParameter("username").toString()%&amp;gt;  &lt;br /&gt;&amp;lt;BR&amp;gt;Password   : &amp;lt;%=request.getParameter("password").toString()%&amp;gt;  &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;h3&gt;&lt;b&gt;response&lt;/b&gt; Object&lt;/h3&gt;Just like the request, we have another object called response. It’s evident from the name that it contains details regarding a page response. One of the famous example used is &lt;b&gt;sendRedirect&lt;/b&gt;. This method is used to navigate from one page to another page. Below example will check if the password entered in page one is ‘jothika’.&lt;br /&gt;If yes, then it goes to &lt;b&gt;success.jsp.  &lt;/b&gt;Otherwise, it will go to &lt;b&gt;failed.jsp&lt;/b&gt;. Try it…See it for yourselves.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;HTML&amp;gt; &lt;br /&gt;&amp;lt;h3&amp;gt;Form submitted successfully. &amp;lt;/h3&amp;gt;  &lt;br /&gt;User name : &amp;lt;%=request.getParameter("username").toString()%&amp;gt;  &lt;br /&gt;&amp;lt;BR&amp;gt;Password   : &amp;lt;%=request.getParameter("password").toString()%&amp;gt; &lt;br /&gt;&amp;lt;% &lt;br /&gt;String username = request.getParameter("username").toString();  &lt;br /&gt;String password = request.getParameter("password").toString(); &lt;br /&gt;if(password.equals("jothika")) &lt;br /&gt;response.sendRedirect("success.jsp");  &lt;br /&gt;else  &lt;br /&gt;response.sendRedirect("failed.jsp");  &lt;br /&gt;%&amp;gt; &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-2865414103505497091?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/2865414103505497091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-07-working-with-forms.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2865414103505497091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2865414103505497091'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-07-working-with-forms.html' title='Chapter 07: Working with Forms'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-5123228716477127495</id><published>2009-08-24T23:50:00.002+05:30</published><updated>2009-09-03T00:04:59.034+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 06: Digging JSP</title><content type='html'>&lt;p&gt;We discussed some basics of JSP in previous chapter. Let’s try and get along more with JSP :)&lt;/p&gt;  &lt;p&gt;Focus for the chapter would be:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Scriptlets &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;&lt;em&gt;out&lt;/em&gt;&lt;/strong&gt; Object &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;request &lt;/strong&gt;Object &lt;/li&gt; &lt;/ol&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h3&gt;1.Scriptlets&lt;/h3&gt;  &lt;p&gt;We have already seen how to embed Java expressions in JSP pages by putting them between the &lt;b&gt;&lt;tt&gt;&amp;lt;%=&lt;/tt&gt;&lt;/b&gt; and &lt;b&gt;&lt;tt&gt;%&amp;gt;&lt;/tt&gt;&lt;/b&gt; character sequences. But it is difficult to do much programming just by putting Java expressions inside HTML. &lt;/p&gt;  &lt;p&gt;JSP also allows you to write blocks of Java code inside the JSP. You do this by placing your Java code between &lt;strong&gt;&lt;tt&gt;&amp;lt;%&lt;/tt&gt; and &lt;tt&gt;%&amp;gt;&lt;/tt&gt;&lt;/strong&gt; characters (just like expressions, but without the &lt;b&gt;&lt;tt&gt;=&lt;/tt&gt;&lt;/b&gt; sign at the start of the sequence.) &lt;/p&gt;  &lt;p&gt;This block of code is known as a "scriptlet". A scriptlet contains Java code that is executed every time the JSP is invoked.&lt;/p&gt;  &lt;p&gt;Here is a modified version of our JSP from previous section, adding in a scriptlet. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;    &lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;%    &lt;br /&gt;System.out.println( "Evaluating date now" );     &lt;br /&gt;java.util.Date date = new java.util.Date();     &lt;br /&gt;%&amp;gt;     &lt;br /&gt;Hello! The time is now &amp;lt;%= date %&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;/BODY&amp;gt;    &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/blockquote&gt; If you run the above example, you will notice the output from the "&lt;tt&gt;System.out.println&lt;/tt&gt;" on the server log file. It will not print on the browser.   &lt;h3&gt;&lt;/h3&gt;  &lt;h3&gt;2. &lt;strong&gt;&lt;em&gt;out&lt;/em&gt;&lt;/strong&gt; Object&lt;/h3&gt;  &lt;p&gt;By itself a scriptlet does not generate HTML. If a scriptlet wants to generate HTML, it can use a variable called &lt;strong&gt;"&lt;tt&gt;out&lt;/tt&gt;".&lt;/strong&gt; This variable does not need to be declared. It is already predefined for scriptlets, along with some other variables. The following example shows how the scriptlet can generate HTML output.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;    &lt;br /&gt;&amp;lt;BODY&amp;gt;     &lt;br /&gt;&amp;lt;%     &lt;br /&gt;//This scriptlet declares and initializes "date"     &lt;br /&gt;System.out.println( "Evaluating date now" );     &lt;br /&gt;java.util.Date date = new java.util.Date();     &lt;br /&gt;%&amp;gt; &lt;/p&gt;    &lt;p&gt;Hello! The time is now    &lt;br /&gt;&amp;lt;%     &lt;br /&gt;out.println(date);     &lt;br /&gt;%&amp;gt;     &lt;br /&gt;&amp;lt;/BODY&amp;gt;     &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Here, instead of using an expression, we are generating the HTML directly by printing to the "&lt;tt&gt;out&lt;/tt&gt;" variable. The "&lt;tt&gt;out&lt;/tt&gt;" variable is of type &lt;tt&gt;&lt;a href="http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/jsp/JspWriter.html"&gt;javax.servlet.jsp.JspWriter&lt;/a&gt;.&lt;/tt&gt;&lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h3&gt;Greetings ! Example&lt;/h3&gt;  &lt;p&gt;Ok. Lets try out a more informative example. This is the scenario. &lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;If it’s a morning, it should greet me “Good Morning. Have a nice day”. &lt;/li&gt;    &lt;li&gt;If it’s a evening, it should greet me “Good Evening, Good day”. &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Ok. Try this example &amp;amp; let me know if you are able to do it…&lt;/p&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;h3&gt;3. &lt;strong&gt;&lt;em&gt;request&lt;/em&gt;&lt;/strong&gt; Object&lt;/h3&gt;  &lt;p&gt;Another very useful pre-defined variable (or object) is &lt;strong&gt;"&lt;tt&gt;request&lt;/tt&gt;".&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;It is of type &lt;tt&gt;&lt;a href="http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServletRequest.html"&gt;javax.servlet.http.HttpServletRequest&lt;/a&gt;&lt;/tt&gt;&lt;/p&gt;  &lt;p&gt;A "request" in server-side processing refers to the transaction between a browser and the server. When someone clicks or enters a URL, the browser sends a "request" to the server for that URL, and shows the data returned. As a part of this "request", various data is available, including the file the browser wants from the server, and if the request is coming from pressing a SUBMIT button, the information the user has entered in the form fields. &lt;/p&gt;  &lt;p&gt;The JSP "&lt;tt&gt;request&lt;/tt&gt;" variable is used to obtain information from the request as sent by the browser. For instance, you can find out the name of the client's host (if available, otherwise the IP address will be returned.) Let us modify the code as shown:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;    &lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;%    &lt;br /&gt;// This scriptlet declares and initializes "date"     &lt;br /&gt;System.out.println( "Evaluating date now" );     &lt;br /&gt;java.util.Date date = new java.util.Date();     &lt;br /&gt;%&amp;gt; &lt;/p&gt;    &lt;p&gt;Hello! The time is now &lt;/p&gt;    &lt;p&gt;&amp;lt;%    &lt;br /&gt;out.println( date );     &lt;br /&gt;out.println( "&amp;lt;BR&amp;gt;Your machine's address is " );     &lt;br /&gt;out.println( request.getRemoteHost());     &lt;br /&gt;%&amp;gt; &lt;/p&gt;    &lt;p&gt;&amp;lt;/BODY&amp;gt;    &lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;/p&gt; &lt;/blockquote&gt; A similar variable is "response". This can be used to affect the response being sent to the browser. For instance, you can call &lt;tt&gt;response.sendRedirect( anotherUrl ); &lt;/tt&gt;to send a response to the browser that it should load a different URL. This response will actualy go all the way to the browser. The browser will then send a different request, to "&lt;tt&gt;anotherUrl&lt;/tt&gt;". This is a little different from some other JSP mechanisms we will come across, for including another page or forwarding the browser to another page. &lt;br /&gt;&lt;br /&gt;&lt;h3 align="center"&gt;Download Video Source: High-Quality : 15 MB&lt;/h3&gt;  &lt;p align="center"&gt;Click below arrow to download….&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/274543134/j2ee_chapter_6.wmv"&gt;&lt;img src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" height="66" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/558HQz43FPk&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/558HQz43FPk&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/0o0U1Cv6jd8&amp;hl=en&amp;fs=1&amp;"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/0o0U1Cv6jd8&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-5123228716477127495?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/5123228716477127495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-6-digging-jsp.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5123228716477127495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5123228716477127495'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-6-digging-jsp.html' title='Chapter 06: Digging JSP'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-1990270099147161735</id><published>2009-08-23T23:15:00.001+05:30</published><updated>2009-08-24T23:14:27.938+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 05: Beginning JSP</title><content type='html'>&lt;h3&gt;What is JSP ?&lt;/h3&gt;  &lt;p&gt;JSP is the abbreviation of Java Server Pages.    &lt;br /&gt;Simply put,&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;JSP = HTML + Java&lt;/strong&gt;. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;HTML is a markup language &amp;amp; it's features are very limited. It is still simple &amp;amp; superb but can only generate static content. The key concept of a web application, i.e, the &lt;strong&gt;Dynamic Content Generation&lt;/strong&gt; cannot be performed by HTML. So this only happens when it gets some help. To conclude the story, here is viki’s bottom liner.     &lt;br /&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;When the power of Java combined with the simply-superb HTML, the outcome is technically termed &lt;strong&gt;JSP&lt;/strong&gt;. &lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;JSP: Static content&lt;/h3&gt;  &lt;p&gt;JSP simply puts Java inside HTML pages. You can take any existing HTML page and change its extension to &amp;quot;.jsp&amp;quot; instead of &amp;quot;.html&amp;quot;. Take the HTML file you used in the previous exercise. Change its extension from &amp;quot;.html&amp;quot; to &amp;quot;.jsp&amp;quot;. Now load the new file, with the &amp;quot;.jsp&amp;quot; extension, in your browser. &lt;/p&gt;  &lt;p&gt;You will see the same output, but it will take longer! But only the first time. If you reload it again, it will load normally. &lt;/p&gt;  &lt;p&gt;What is happening behind the scenes is that your JSP is being turned into a Java file, compiled and loaded. This compilation happens only once and after the first load, the file will not take more time to load. (But everytime you change the JSP file, it will be re-compiled again.) &lt;/p&gt;  &lt;p&gt;Of course, it is &lt;strong&gt;not&lt;/strong&gt; very useful to just write HTML pages with a .jsp extension! &lt;/p&gt;  &lt;h3&gt;JSP: Dynamic content&lt;/h3&gt;  &lt;p&gt;what makes JSP useful is the ability to embed Java. Put the following text in a file with .jsp extension (let us call it hello.jsp), place it in your JSP directory, and view it in a browser. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;HTML&amp;gt;      &lt;br /&gt;&amp;lt;BODY&amp;gt;       &lt;br /&gt;Hello! The time is now &amp;lt;%= new java.util.Date() %&amp;gt;       &lt;br /&gt;&amp;lt;/BODY&amp;gt;       &lt;br /&gt;&amp;lt;/HTML&amp;gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Notice that each time you reload the page in the browser, it comes up with the current time. &lt;/p&gt;  &lt;p&gt;The character sequences &lt;strong&gt;&amp;lt;%= and %&amp;gt;&lt;/strong&gt; enclose Java expressions, which are evaluated at run time. &lt;/p&gt;  &lt;p&gt;This is what makes it possible to use JSP to generate &lt;strong&gt;dynamic&lt;/strong&gt; HTML pages that change in response to user actions or vary from user to user. &lt;/p&gt;  &lt;p&gt;Watch a demo below.&lt;/p&gt;  &lt;h4 align="center"&gt;Download Video Source: High-Quality : 8 MB&lt;/h4&gt;  &lt;p align="center"&gt;Click below arrow to download….&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/270957833/j2ee_tutorial_chapter_5_tamil.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/LGY4MAhGerk&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/LGY4MAhGerk&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-1990270099147161735?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/1990270099147161735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-05-beginning-jsp.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/1990270099147161735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/1990270099147161735'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-05-beginning-jsp.html' title='Chapter 05: Beginning JSP'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-2279511801731220954</id><published>2009-08-23T19:56:00.000+05:30</published><updated>2009-08-24T23:15:02.357+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 04: Know your Server</title><content type='html'>&lt;p&gt;There are two things you must know if you have a server.    &lt;br /&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Where to place the files (or programs) in the server.      &lt;br /&gt;&lt;/li&gt;    &lt;li&gt;How to access them from a web browser. &lt;/li&gt; &lt;/ol&gt; We are gonna write a sample HTML program and try to do the above steps.   &lt;br /&gt;In apache Tomcat, we have to place the files in the webapps folder of tomcat's installation directory. For me, it's &lt;span style="font-weight: bold"&gt;F:\tomcat 6.0&lt;/span&gt;.   &lt;br /&gt;So, if your application name is &lt;span style="font-style: italic"&gt;&amp;quot;demo&amp;quot;&lt;/span&gt;, then create a folder called&lt;span style="font-weight: bold"&gt; &amp;quot;demo&amp;quot;&lt;/span&gt; under the following directory.   &lt;br /&gt;  &lt;blockquote&gt;&lt;span style="font-weight: bold"&gt;F:\Tomcat 6.0\webapps\demo&lt;/span&gt; &lt;/blockquote&gt; View the below video for understanding more.   &lt;br /&gt;  &lt;h4 align="center"&gt;Download Video Source: High-Quality : 7 MB&lt;/h4&gt;  &lt;p align="center"&gt;Click below arrow to download…. &lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/270955417/j2ee_tutorial_chapter_4_tamil.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/7b5PJ7gQtfo&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/7b5PJ7gQtfo&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-2279511801731220954?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/2279511801731220954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-04-know-your-server-setup.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2279511801731220954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2279511801731220954'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-04-know-your-server-setup.html' title='Chapter 04: Know your Server'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-4422103101664236674</id><published>2009-08-23T01:33:00.002+05:30</published><updated>2010-09-26T22:56:44.257+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 03: Before Beginning: The basic Tool sets</title><content type='html'>You might wonder why we still didn't write a single line of code even after the 3rd chapter. I understand your thoughts. But you need some patience. We are not done yet. We need to install some softwares before we get going. &lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Basically we need &lt;span style="font-weight: bold;"&gt;THREE&lt;/span&gt; tools. &lt;span style="font-weight: bold;"&gt;Java, Server, Editor&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;We need to download &amp;amp; install the following tools. &lt;/div&gt;&lt;ul&gt;&lt;li&gt;JDK - Java Development Kit : &lt;a href="http://java.sun.com/javase/downloads/widget/jdk6.jsp"&gt;Download&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Apache Tomcat (server) : &lt;a href="http://apache.inetbridge.net//tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.exe"&gt;Download&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Eclipse IDE : &lt;a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-jee-ganymede-SR2-win32.zip"&gt;Download&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;No tutorial is necessary for installing java. You are not eligible to learn JEE if you don't even know how to install java. However it's not the same case for Apache Tomcat. So lets discuss about it. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Apache Tomcat:&lt;/span&gt;&lt;b&gt; &lt;br /&gt;Apache Tomcat&lt;/b&gt; is a &lt;a href="http://en.wikipedia.org/wiki/Java_Servlet#Servlet_containers" title="Java Servlet"&gt;servlet container&lt;/a&gt; developed by the &lt;a href="http://en.wikipedia.org/wiki/Apache_Software_Foundation" title="Apache Software Foundation"&gt;Apache Software Foundation&lt;/a&gt; (ASF). Tomcat implements the &lt;a href="http://en.wikipedia.org/wiki/Java_Servlet" title="Java Servlet"&gt;Java Servlet&lt;/a&gt; and the &lt;a href="http://en.wikipedia.org/wiki/JavaServer_Pages" title="JavaServer Pages"&gt;JavaServer Pages&lt;/a&gt; (JSP) specifications from &lt;a href="http://en.wikipedia.org/wiki/Sun_Microsystems" title="Sun Microsystems"&gt;Sun Microsystems&lt;/a&gt;, and provides a "pure &lt;a href="http://en.wikipedia.org/wiki/Java_%28programming_language%29" title="Java (programming language)"&gt;Java&lt;/a&gt;" &lt;a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" title="Hypertext Transfer Protocol"&gt;HTTP&lt;/a&gt; &lt;a href="http://en.wikipedia.org/wiki/Web_server" title="Web server"&gt;web server&lt;/a&gt; environment for &lt;a href="http://en.wikipedia.org/wiki/Java_%28programming_language%29" title="Java (programming language)"&gt;Java&lt;/a&gt; code to run. &lt;br /&gt;Tomcat should not be confused with the &lt;a href="http://en.wikipedia.org/wiki/Apache_HTTP_Server" title="Apache HTTP Server"&gt;Apache web server&lt;/a&gt;, which is a &lt;a href="http://en.wikipedia.org/wiki/C_%28programming_language%29" title="C (programming language)"&gt;C&lt;/a&gt; implementation of an HTTP web server; these two web servers are not bundled together. Apache Tomcat includes tools for configuration and management, but can also be configured by editing &lt;a href="http://en.wikipedia.org/wiki/XML" title="XML"&gt;XML&lt;/a&gt; configuration files.&lt;/div&gt;&lt;h4 align="center"&gt;Download Video Source: High-Quality : 8 MB&lt;/h4&gt;&lt;div align="center"&gt;Click below arrow to download….&lt;/div&gt;&lt;div align="center"&gt;&lt;a href="http://rapidshare.com/files/270953411/j2ee_tutorial_chapter_3_tamil.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/uk3o7hMLFnQ&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/uk3o7hMLFnQ&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt; &lt;br /&gt;&lt;div&gt;&lt;br /&gt;All right. We are geared up to get our hands dirty with JEE code.... &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-4422103101664236674?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/4422103101664236674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-03-before-beginning-basic-tool.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/4422103101664236674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/4422103101664236674'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-03-before-beginning-basic-tool.html' title='Chapter 03: Before Beginning: The basic Tool sets'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-5316606491459897023</id><published>2009-08-23T01:02:00.000+05:30</published><updated>2009-08-24T23:07:04.807+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 02: Before Beginning: The basic skill sets</title><content type='html'>We just can't jump into J2EE and start learning. There are few basics concepts or skills we need to acquire first., The following skill set are compulsory learnings before beginning J2EE.  &lt;blockquote&gt;   &lt;div&gt;     &lt;ol&gt;       &lt;li&gt;Basic knowledge on Java programming&lt;/li&gt;        &lt;li&gt;Good understanding of HTML&lt;/li&gt;        &lt;li&gt;Client - Server &lt;/li&gt;        &lt;li&gt;Working knowledge of HTTP. &lt;/li&gt;        &lt;li&gt;Basic knowledge on XML.&lt;/li&gt;     &lt;/ol&gt;   &lt;/div&gt; &lt;/blockquote&gt;  &lt;div&gt;&lt;/div&gt;  &lt;div&gt;However, these are optional learnings but important for JEE mastery.&lt;/div&gt;  &lt;div&gt;   &lt;ol&gt;     &lt;li&gt;Java Script&lt;/li&gt;      &lt;li&gt;CSS&lt;/li&gt;      &lt;li&gt;Good knowledge in java&lt;/li&gt;   &lt;/ol&gt; &lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;Java skills&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;You don't need to be a java guru to learn JEE. It's just an extra edge and absolutely not mandate. So you should have a basic understanding concepts like Class, Objects, Inheritance, Interface, Packages, Constructors, Exception Handling.&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;HTML skills&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;Again, You don't need to be a HTML guru to learn JEE. It's just an extra edge and absolutely not mandate. So you should have a basic skills on creating a sample HTML page, creating Forms, Tables, etc. If you don't have much idea, i suggest you to read the below tutorial.&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;&lt;a href="http://www.w3schools.com/html/"&gt;&lt;span class="Apple-style-span" style="font-size: medium"&gt;http://www.w3schools.com/html/&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;     &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;Client - Server&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;Server - One who process the request. Basically server is like a java program only. It communicates with the clients who speak HTTP. I refer 'speak' to processing a request &amp;amp; sending back a response.HTTP is a network protocol. Client - One who raises the request. It's just YOU. When you type, &amp;quot;google.com&amp;quot; in a browser (like internet explorer) you want to open the google page. This operation is technically termed &amp;quot;HTTP Request&amp;quot;. Now the GOOGLE server will accept your request, process it, returns the &amp;quot;google search&amp;quot; page. This returning operation is technically termed a &amp;quot;HTTP Response&amp;quot;.&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold"&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;HTTP&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;HTTP is expanded to Hyper Text Transfer Protocol. Never care about the long confusing abbreviation. It's just a language for communication between a client &amp;amp; server.&lt;/div&gt;  &lt;div&gt;If you take humans, I will order, &amp;quot;Tea, please&amp;quot;. &lt;/div&gt;  &lt;div&gt;This a &lt;b&gt;request&lt;/b&gt;. And obviously, there comes a cup of Tea. And Voila, that's the &lt;b&gt;response&lt;/b&gt;.&lt;/div&gt;  &lt;div&gt;Same way, Client request is &lt;b&gt;HTTP Request&lt;/b&gt; &amp;amp; Server response is &lt;b&gt;HTTP Response&lt;/b&gt;.&lt;/div&gt;  &lt;div&gt;But the problem is the language representation. It's not as explicit as common english.&lt;/div&gt;  &lt;div&gt;The following passage is &lt;b&gt;NOT&lt;/b&gt; a HTTP request.&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;blockquote&gt;   &lt;div&gt;&amp;quot;Dear computer Ji, i want to steal a code for my lab assignment. Please give me a working C++ program for generating the fibonacci series&amp;quot;.&lt;/div&gt;    &lt;div&gt;&lt;/div&gt; &lt;/blockquote&gt;  &lt;div&gt;IF this is not, then what is a valid request. Interested in seeing how a valid HTTP Request will look like ?&lt;/div&gt;  &lt;div&gt;Here you go..&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;The following HTTP request was received from IP address 123.236.74.4 (port 2818) by IP address 91.84.196.2 (port 80):&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;&lt;/div&gt;  &lt;blockquote&gt;   &lt;div&gt;GET /dumprequest HTTP/1.1&lt;/div&gt;    &lt;div&gt;Host: djce.org.uk&lt;/div&gt;    &lt;div&gt;Connection: keep-alive&lt;/div&gt;    &lt;div&gt;User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.39 Safari/530.5&lt;/div&gt;    &lt;div&gt;Accept:application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;&lt;/div&gt;    &lt;div&gt;Accept-Encoding: gzip,deflate,sdch&lt;/div&gt;    &lt;div&gt;Accept-Language: en-US,en;q=0.8&lt;/div&gt;    &lt;div&gt;Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3&lt;/div&gt;    &lt;div&gt;&lt;/div&gt; &lt;/blockquote&gt;  &lt;div&gt;I know you cannot understand it easily. It's a computer's language &amp;amp; obviously it will be complicated. So to understand clearly, &lt;/div&gt;  &lt;div&gt;Read more: &lt;a href="http://www.jmarshall.com/easy/http/"&gt;http://www.jmarshall.com/easy/http/&lt;/a&gt;&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;   &lt;div&gt;     &lt;h2&gt;&lt;span class="Apple-style-span" style="font-size: large"&gt;XML skills&lt;/span&gt;&lt;/h2&gt;   &lt;/div&gt;    &lt;h2&gt;&lt;span class="Apple-style-span" style="font-weight: normal"&gt;&lt;span class="Apple-style-span" style="font-size: medium"&gt;If you know what is XML and if you can create a sample XML document, Fair Enough,. You are ready to go &amp;amp; begin JEE learning. Or else, read the following tutorial.&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;    &lt;h2&gt;&lt;span class="Apple-style-span" style="font-weight: normal"&gt;&lt;a href="http://www.w3schools.com/xml"&gt;&lt;span class="Apple-style-span" style="font-size: medium"&gt;http://www.w3schools.com/xml&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;    &lt;h4 align="center"&gt;Download Video Source: High-Quality : 10 MB&lt;/h4&gt;    &lt;p align="center"&gt;Click below arrow to download….&lt;/p&gt;    &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/270949522/j2ee_chapter_2_basic_skills__tamil_.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;h2&gt;&lt;span class="Apple-style-span" style="font-weight: normal"&gt;&lt;/span&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/JcveGH3TJbI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/JcveGH3TJbI&amp;amp;hl=en&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/h2&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-5316606491459897023?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/5316606491459897023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-02-before-beginning-basic-skill.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5316606491459897023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/5316606491459897023'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-02-before-beginning-basic-skill.html' title='Chapter 02: Before Beginning: The basic skill sets'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-2680583220065516571</id><published>2009-08-21T23:26:00.000+05:30</published><updated>2009-08-24T23:07:40.313+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='J2EE'/><title type='text'>Chapter 01: Introduction to J2EE</title><content type='html'>This chapter gives an overview of the what &amp;amp; why of J2EE. In Tamil language, i have interactively explained assuming that my best friend is sitting next to me.   &lt;br /&gt;  &lt;hr /&gt;  &lt;div&gt;J2EE is the abbreviation of Java 2 Enterprise Edition. &lt;/div&gt;  &lt;div&gt;The jargon 'Java' can be broke up into THREE main components.&lt;/div&gt;  &lt;div&gt;   &lt;ol&gt;     &lt;li&gt;J2SE : Java 2 Standard Edition &lt;/li&gt;      &lt;li&gt;J2EE : Java 2 Enterprise Edition. &lt;/li&gt;      &lt;li&gt;J2ME : Java 2 Micro (or Mobile) Edition. &lt;/li&gt;   &lt;/ol&gt; &lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; font-size: 130%"&gt;J2SE:&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;J2SE is the basic form. This is the actual programming language. The other two are actually &lt;/div&gt;  &lt;div&gt;derivatives. It's also termed as &amp;quot;core java&amp;quot; or &amp;quot;pure java&amp;quot; in some locales. Basically used to create small scale applications that runs on a CUI. Implementation of &amp;quot;Applets&amp;quot; concept helps create GUI based applications.&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold"&gt;Note:&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;CUI is Character user interface. It's like the black-white DOS prompt where you can interact with the system only via characters. GUI is Graphical user interface. As the name indicates, &amp;quot;Graphical&amp;quot;, you can control the applcation through mouse &amp;amp; clicking buttons, etc.&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; font-size: 130%"&gt;J2ME:&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;Simply put, This edition is used for creating operating systems, softwares &amp;amp; games for mobiles.&lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold; font-size: 130%"&gt;J2EE:&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;This is what we are gonna dig in &amp;amp; get our hands dirty. The real deal.&lt;/div&gt;  &lt;div&gt;Till version 1.4, it is named J2EE 1.4. Ever since 1.4, it's termed JEE these days.&lt;/div&gt;  &lt;div&gt;Latest version, 1.5 is named JEE 5. And FYI, JEE 6 is released recently.&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;Normal Java (termed J2SE) is a programming language.&lt;/div&gt;  &lt;div&gt;J2EE is Not a Programming language or a Software.&lt;/div&gt;  &lt;div&gt;J2EE is officially termed as a &amp;quot;Tehnology&amp;quot;.&lt;/div&gt;  &lt;div&gt;For me, &lt;/div&gt;  &lt;div&gt;JEE is&lt;/div&gt;  &lt;div&gt;   &lt;ol&gt;     &lt;li&gt;J2SE + Some API's. &lt;/li&gt;      &lt;li&gt;Server programming language. &lt;/li&gt;      &lt;li&gt;Used for building java - based web applications. &lt;/li&gt;      &lt;li&gt;Supports Dynamic web page creation thorugh 'JSP' &amp;amp; 'Servlets' concept. &lt;/li&gt;   &lt;/ol&gt; &lt;/div&gt;  &lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold"&gt;NOTE:&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;PHP, ASP (from Microsoft) are other counterparts for JSP. These languages are scripting languages. They are all used for building dynamic web applications.&lt;/div&gt;  &lt;div&gt;   &lt;br /&gt;&lt;/div&gt;  &lt;div&gt;Watch the chapter as an interactive video in tamil.&lt;/div&gt;  &lt;h3 align="center"&gt;&amp;#160;&lt;/h3&gt;  &lt;h4 align="center"&gt;Download Video Source: High-Quality : 16 MB&lt;/h4&gt;  &lt;p align="center"&gt;Click below arrow to download….&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://rapidshare.com/files/270941996/jee_tutorials_-_chapter_01-_Tamil.wmv"&gt;&lt;img height="66" src="http://upload.wikimedia.org/wikipedia/commons/2/26/Nuvola_apps_download_manager.png" width="66" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;b&gt;Part 1:&lt;/b&gt;   &lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/F3OJUOTxrR4&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/F3OJUOTxrR4&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;  &lt;br /&gt;&lt;b&gt;Part 2:&lt;/b&gt;   &lt;br /&gt;&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://www.youtube.com/v/45vFXQ8vS44&amp;amp;hl=en&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/45vFXQ8vS44&amp;amp;hl=en&amp;amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-2680583220065516571?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/2680583220065516571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-01-introduction-to-j2ee.html#comment-form' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2680583220065516571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2680583220065516571'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/08/chapter-01-introduction-to-j2ee.html' title='Chapter 01: Introduction to J2EE'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-2484262879324335958</id><published>2009-07-15T22:52:00.001+05:30</published><updated>2009-08-18T19:37:20.676+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 01: Introduction to C-Kid</title><content type='html'>&lt;h1 align="center"&gt;Introduction&lt;/h1&gt;  &lt;h3&gt;What is this ? &lt;/h3&gt;  &lt;p&gt;There are million books for C-Language. This is &lt;strong&gt;not&lt;/strong&gt; just another book. It's almost like a starter you use to have before the main course. This is a just 12 page article on C-Language. My primary objective will be promoting you to a position from where you can &lt;strong&gt;master&lt;/strong&gt; &lt;u&gt;C-language&lt;/u&gt; on your own. Getting a start is what everyone wanted &amp;amp; it's exactly what i am gonna give you. I will give my best to mould this mini article as simple &amp;amp; interesting as possible.   &lt;br /&gt;Happy learning ! &lt;/p&gt;  &lt;h3&gt;Who are you ? &lt;/h3&gt;  &lt;p&gt;This is what i expect in you before triggering a start.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;First, I assume you are a human being. lol !    &lt;br /&gt;Aleast Once, You might have come across the word 'computer'.     &lt;br /&gt;You might have took part in a C-class or course somewhere but have very little or no Knowledge about it.     &lt;br /&gt;You just want to learn the basics so that you can pass in the academic 'C' subject.     &lt;br /&gt;You need to become a world-famous programmer but  didn't got the perfect start. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you are someone different, I &lt;em&gt;assume&lt;/em&gt; you are an expert in C-language &amp;amp; i welcome you to storm in with your comments &amp;amp; criticisms. &lt;/p&gt;  &lt;h3&gt;Lets Get Started... &lt;/h3&gt;  &lt;p&gt;A  Building can be strong as a rock. Can be 10 storey's or 100 storey's. But if the basement is not built properly, then everything is gone. So before jumping in to C-language, there is something you should know. And don't worry. I am not gonna make you read boring stories. I presume.&lt;/p&gt;  &lt;h3&gt;Computer&lt;/h3&gt;  &lt;p&gt;You have seen a computer but what actually you think it is ? &lt;/p&gt;  &lt;p&gt;This is what &lt;strong&gt;wikipedia&lt;/strong&gt; says in one line. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;"A computer is a machine that manipulates data according to a set of instructions". &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;My first impression, it's a wonderful entertainment device. I love it. From "Dave" to "GTA", i've played all the games. A Home Theatre. Music System. With my 4.1 Frontech speakers support, it has given me a wonderful movie experience.  A box used to kill ample time with chatting, Facebook, orkut, Twitter,You tube and all. &lt;/p&gt;  &lt;p&gt;This is what i think it is. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;"A computer is a Total Idiot which does almost anything we order it to, &lt;strong&gt;anytime&lt;/strong&gt;, &lt;strong&gt;any number &lt;/strong&gt;of times." &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Women likes it very much just beacuse it never asks "Why ?" and it's always at your service.  I tag it an Idiot because it never thinks before doing a task. I ask you to jump in the well. Will you do it ? You will think of the after effects. But the computer never thinks about anything. It just does what you ask it to. &lt;/p&gt;  &lt;h3&gt;Life Without computer ? &lt;/h3&gt;  &lt;p&gt;At this moment, think of a life without a computer. &lt;/p&gt;  &lt;p&gt;With hype of technology at it's peak, the fact that IT (Information Technology) enables business is blatant. I refer "business" to every possible category like banks, media, travel, automobiles, entertainment, shopping…… &lt;/p&gt;  &lt;p&gt;Simply put, everything. Now I would like to share few examples about how IT supports the business before i write brief on what i do @ work. &lt;/p&gt;  &lt;p&gt;Here is a very simple, small scenario. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;    A billing system in a provisional store. Without one, the store keeper use to write down the list of items in a paper, adds them up to finally get your bill. Now the billing system not only gives the bill in a minute but also it keeps track of the total sales for the day, month &amp;amp; year too. Even it will order the wholesaler for more goods whenever a particular item is sold out. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;My friend, Sri vallabha is a mechanical engineer by graduation. But at work he spends most of his time with a computer. You might wonder what does a mechanical engineer have to do with a computer. This is what he does. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;    Sri’s uses an engine automation tool using which he can ‘virtually’ build an engine &amp;amp; test it’s output &amp;amp; performance. He configures this ‘virtual’ engine with varying parameters and he gets a perfect design after finalizing the torque, size, bhp, diameter etc., &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Previously they are made physically &amp;amp; tested live. To get the perfect design, we need to change the parameters &amp;amp; manufacture the engine multiple number of times. So now you can easily understand how much time &amp;amp; money IT saves for his business. &lt;/p&gt;  &lt;p&gt;Few other examples are… &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;    The ATM you use every day    &lt;br /&gt;    The online shopping you do with your credit card     &lt;br /&gt;    Automation of Rocket launch.     &lt;br /&gt;    The visual effects &amp;amp; sound effects in movies. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;So now you have an idea of What a computer can do &amp;amp; it's now time we move further into technology. &lt;/p&gt;  &lt;h3&gt;Main Categories:&lt;/h3&gt;  &lt;p&gt;  &lt;br /&gt;There are two main categories when it comes to computer.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;    &lt;br /&gt;&lt;strong&gt;Hardware      &lt;br /&gt;Software&lt;/strong&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;  &lt;br /&gt;Let's quickly find out what are these.   &lt;br /&gt;&lt;/p&gt;  &lt;h5&gt;Hardware&lt;/h5&gt;  &lt;p&gt;Knowing this is a less priority for our goals of becoming a C-Master, but still you should be able to distinguish between hardware &amp;amp; software. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;In my understanding, whatever part of the computer you can see, touch &amp;amp; feel, take a baseball bat &amp;amp; whack! it or lift it and throw out of the window are called Hardwares. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Dumb books use to describe it as the "&lt;strong&gt;Physical components of the computer&lt;/strong&gt;". Examples are your key board, mouse, monitor, speakers and all.   &lt;br /&gt;Inside your &lt;strong&gt;CPU&lt;/strong&gt; (Central Processing Unit) Box, there are something that is worth knowing. If you are eager to see how they look like, just click on the respective names. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;MotherBoard:&lt;/strong&gt; An electronic board which is considered the heart of the computer.   &lt;br /&gt;&lt;strong&gt;Processor:&lt;/strong&gt; A Square-Box like device which is fit into the mother board. Intel &amp;amp; AMD are famous manufacturers of those.   &lt;br /&gt;&lt;strong&gt;RAM :&lt;/strong&gt; Abbreviated to Random-Access-Memory. A small chip serves a temporay memory which is also fit into the mother board.   &lt;br /&gt;&lt;strong&gt;HDD :&lt;/strong&gt; Hard Disk Drive or simply Hard Disk is the permanant storage device connected to the mother board through a cable (or bus, they call it technically). &lt;/p&gt;  &lt;h5&gt;Software&lt;/h5&gt;  &lt;p&gt;You might have come across this word. Definitely. Still, let me try to put it simple. Softwares are invisible components of a computer. They are logical components and there is no chances of banging! them with baseball bats.  &lt;br /&gt;&lt;strong&gt;In general, &lt;/strong&gt;a software is a &lt;strong&gt;tool&lt;/strong&gt; which is added inside a computer to perform a specific task.   &lt;br /&gt;&lt;strong&gt;Technically,&lt;/strong&gt;   &lt;br /&gt;A software is a single or set of &lt;strong&gt;programs&lt;/strong&gt;. A programs is a single or set of &lt;strong&gt;instructions&lt;/strong&gt;.   &lt;br /&gt;An instruction can be any basic mathematical instruction like add or subtract or even something more complicated.   &lt;br /&gt;So a set of programs written to set up a &lt;strong&gt;Billing system&lt;/strong&gt; is a Software as well as a small, simple, single program to &lt;strong&gt;add two numbers&lt;/strong&gt; is also a software.   &lt;br /&gt;Simply put, it solves a purpose. &lt;/p&gt;  &lt;h5&gt;Types of Software &lt;/h5&gt;  &lt;p&gt;Don't get harsh &amp;amp; think that this article is getting too theoretical. I know how worse it is to read too boring theory. I've experienced it during my academics. This page has a whole lot of fundamental concepts and are Must-Know information.  &lt;br /&gt;So just keep reading and &lt;strong&gt;don't&lt;/strong&gt; skip it like we do during exam preparations :)&lt;/p&gt;  &lt;p&gt;Basically, there are two types of software. I will just say what they are with an example.  &lt;br /&gt;You know that software is a tool which is included inside a computer to perform a specific task. &lt;/p&gt;  &lt;h5&gt;Application Software &lt;/h5&gt;  &lt;p&gt;If the tool is performing a task &lt;strong&gt;specific to the user&lt;/strong&gt;, then it is an application software. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Examples&lt;/u&gt;&lt;/strong&gt;   &lt;br /&gt;&lt;strong&gt;Windows Media Player :&lt;/strong&gt; Just to hear song, we use it.   &lt;br /&gt;&lt;strong&gt;Solitare Game :&lt;/strong&gt; To kill some time, relax &amp;amp; enjoy, we play this famous game.   &lt;br /&gt;&lt;strong&gt;Notepad:&lt;/strong&gt; A simple applicaion Used to compose text.   &lt;br /&gt;&lt;strong&gt;Internet Explorer:&lt;/strong&gt; Used to browse websites. &lt;/p&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;NOTE:      &lt;br /&gt;&lt;/strong&gt;&lt;/u&gt;Though solitare is a game, still it's actually an application software.   &lt;br /&gt;&lt;u&gt;&lt;strong&gt;TIP:      &lt;br /&gt;&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p&gt;Internet Explorer comes under an Application Softwares Category called "Browsers".&lt;/p&gt;  &lt;p&gt;A Browser is an application used to communicate with the Web.&lt;/p&gt;  &lt;p&gt;Other famous browsers are Mozilla, Firefox, Netscape, Google Chrome. &lt;/p&gt;  &lt;p&gt;So these examples will give you a clear idea what an application software is. Bottom-line is,  &lt;br /&gt;The computer can perfectly function without an application software. &lt;/p&gt;  &lt;h5&gt;System Software&lt;/h5&gt;  &lt;p&gt;If the tool is performing a task specific to the system, then it is a system software.  &lt;br /&gt;These softwares are essential for the computer to function properly. If they aren't added to the computer, or if not working properly, then the chances are you cannot type in notepad, or hear music in Windows Media Player or open Internet Explorer. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;INFO&lt;/strong&gt;   &lt;br /&gt;If you think i am writing too much theory, then F.Y.I, there is a separate paper on "System Software" in Computer Science &amp;amp; Engineering.  The book is around 800 pages. And god, please don't ask me how i passed the exam. &lt;/p&gt;  &lt;p&gt;And even if you don't understand these below mentioned application software, don't worry. I am gonna brief them.  &lt;br /&gt;&lt;strong&gt;&lt;u&gt;Examples:&lt;/u&gt;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Operating System :&lt;/strong&gt; The primary, all important sofware that communicates with hardware.   &lt;br /&gt;&lt;strong&gt;Boot loader :&lt;/strong&gt; When you press the power button of your computer, this is the first software that starts to do it's work. &lt;/p&gt;  &lt;h3&gt;Operating System: What &amp;amp; Why ?&lt;/h3&gt;  &lt;p&gt;  &lt;br /&gt;As i said its "the primary, all important software", you must have a strong understanding of what an &lt;strong&gt;Operating System&lt;/strong&gt; (OS) is &amp;amp; why is it so important to the computer.   &lt;br /&gt;A pretty straight simple question. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;You press the "A" key in your keyboard. And an "A" exactly appears on the monitor. HOW ?    &lt;br /&gt;Who is doing this job ?&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;How the computer knows that you actually pressed "A" in the keyboard ?  &lt;br /&gt;Is there any genie sitting inside your CPU box &amp;amp; looks from a pin hole what you are hitting in the key board ? &lt;/p&gt;  &lt;p&gt;One thing is certain. There is someone who takes this onus for this job. And now you almost found out who it is.  &lt;br /&gt;That someone is the "Operating System". &lt;/p&gt;  &lt;p&gt;Ok. now you got some idea. Let's make it clear. &lt;/p&gt;  &lt;p&gt;Assume, you have bought a brand new, high-end, costly computer at home. Everything is ready.  &lt;br /&gt;A 29" Monitor, 9.1 Surround speakers, 1 TB Hard disk (1024 GB) &amp;amp; a DVD of your all-time favourite movie.   &lt;br /&gt;Now, if you don't have an Operating System installed on your computer, then everything is waste.   &lt;br /&gt;All the million dollar worth hardwares are just like dolls. &lt;/p&gt;  &lt;p&gt;Because whatever hardwares you have, it is the O.S, the system software that interacts with YOU &amp;amp; the computer hardware.  &lt;br /&gt;It understands your request &amp;amp; directs the hardwares inside the CPU box to get it done. Like a supervisor who ensures the user (it's you) requests are completed.   &lt;br /&gt;Here are few examples of operating systems. &lt;/p&gt;  &lt;h5&gt;Examples of O.S&lt;/h5&gt;  &lt;p&gt;Microsoft created a series of application softwares (O.S) like, Windows 98, &lt;strong&gt;Windows XP&lt;/strong&gt;, Windows Vista.   &lt;br /&gt;&lt;strong&gt;Linux &lt;/strong&gt;is a Free O.S  and few of then are RedHat Linux, Mandrake Linux, Suse Linux, Ubuntu Linux.   &lt;br /&gt;&lt;strong&gt;Unix,&lt;/strong&gt; &lt;strong&gt;Mac OS&lt;/strong&gt; from Apple (manufacturer of the famous iPOD) and &lt;strong&gt;Solaris&lt;/strong&gt; O.S from Sun Microsystems. &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BootLoader &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Huh oh....i forget to mention this one. Bootloader is another system software., Ok, so what in heaven is it doing ?  &lt;br /&gt;As i mentioned before, when you press the power button of your computer, this is the first software that starts.   &lt;br /&gt;It just loads the operating system into the computer. So without a boot loader, even an O.S is a doll ! Lol ! &lt;/p&gt;  &lt;p&gt;Ok. We're done here. We have discussed all the fundamental concepts.  &lt;br /&gt;Now we are gonna wind-off these stories &amp;amp; storm towards our goal. Programming. &lt;/p&gt;  &lt;h3&gt;Programming Languages&lt;/h3&gt;  &lt;p&gt; &lt;/p&gt;  &lt;p&gt;We saw about softwares, types, examples just now. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;So a programming language is like a tool using which we can write programs.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;programs means, as i said, &lt;strong&gt;set of instructions&lt;/strong&gt;. IF you ask me what type of instructions ? &lt;strong&gt;Why instructions ?&lt;/strong&gt;   &lt;br /&gt;I'm replying you. "Buy me a Cheese burger, less salt, Chicken Pizza &amp;amp; a schezwan fried rice. more spicy."   &lt;br /&gt;Anyway, you are not gonna buy me [:o] that but still you can understand what i am asking you.   &lt;br /&gt;Can i ask this to a computer ? will it be capable of understanding my language ?   &lt;br /&gt;Unfortunately, it can't. Atleast for now, 10 July, 2009, There isn't any intelligent computer built yet capable of understanding what a human being talks. &lt;/p&gt;  &lt;p&gt;So now you know why we write programs. "Programming Language" is a 'language' which can be understood well by computers. As the computers cannot understand our language(English or Tamil or French) we are left with only one option. Learn the computers language &amp;amp; then talk to it. When i say 'talking', its actually not a voice but text. This text is called a program. &lt;/p&gt;  &lt;p&gt;So, great. We're done with our first chapter. pretty small when compared to books, isn't it ?  &lt;br /&gt;This is what they will elaborate in 50-60 pages &amp;amp; which ultimately forces us fell asleep [:o]   &lt;br /&gt;We end chapter 01 with those 3-4 pages &amp;amp; i wish you are now clear with Computer, Hardware, Software, their Types, Operating system, and What + Why of Programming languages.   &lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="color:#ff0080;"&gt;LINE TO REMEMBER:        &lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;You have all the privelage of asking me doubts/question/queries/suggestions, Use the '&lt;span style="font-weight: bold;"&gt;comment&lt;/span&gt;' feature in case you have any ! &lt;/p&gt;  &lt;p&gt;So, what are you gonna see next ? Just get a glimpse below.  &lt;br /&gt;C-language is a programming language. So, it's evident. After learning C, we are gonna write programs and talk to the computer.   &lt;br /&gt;How about that ? Sounds cool right ? Let's do it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-2484262879324335958?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/2484262879324335958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/07/chapter-01.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2484262879324335958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/2484262879324335958'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/07/chapter-01.html' title='Chapter 01: Introduction to C-Kid'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-7709014726010475677</id><published>2009-05-03T21:04:00.001+05:30</published><updated>2009-08-18T22:07:16.290+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 09: Finally Files.</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-7709014726010475677?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/7709014726010475677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-9-finally-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7709014726010475677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7709014726010475677'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-9-finally-files.html' title='Chapter 09: Finally Files.'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-361885799905657641</id><published>2009-05-03T21:00:00.001+05:30</published><updated>2009-08-18T21:09:30.773+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 08: A “Structure” Lecture.</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-361885799905657641?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/361885799905657641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-8-structure-lecture.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/361885799905657641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/361885799905657641'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-8-structure-lecture.html' title='Chapter 08: A “Structure” Lecture.'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-9181758103002307801</id><published>2009-05-03T20:58:00.001+05:30</published><updated>2009-08-18T21:08:49.069+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 07: Arrays</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-9181758103002307801?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/9181758103002307801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/arrays.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/9181758103002307801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/9181758103002307801'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/arrays.html' title='Chapter 07: Arrays'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-4083564296304794966</id><published>2009-05-03T20:57:00.001+05:30</published><updated>2009-08-18T21:08:28.583+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 06: Breakdown with Functions</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-4083564296304794966?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/4083564296304794966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-6-breakdown-with-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/4083564296304794966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/4083564296304794966'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-6-breakdown-with-functions.html' title='Chapter 06: Breakdown with Functions'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-7594844572410435676</id><published>2009-05-03T20:56:00.001+05:30</published><updated>2009-08-18T21:08:06.816+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 05: Whoop with Loops</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-7594844572410435676?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/7594844572410435676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-5-whoop-with-loops.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7594844572410435676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7594844572410435676'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-5-whoop-with-loops.html' title='Chapter 05: Whoop with Loops'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-3480817226649838683</id><published>2009-05-03T20:55:00.001+05:30</published><updated>2009-08-18T21:07:32.339+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 04: Conditional Statements</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-3480817226649838683?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/3480817226649838683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-4-conditional-statements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/3480817226649838683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/3480817226649838683'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-4-conditional-statements.html' title='Chapter 04: Conditional Statements'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-7799833745402538836</id><published>2009-05-03T20:53:00.001+05:30</published><updated>2009-08-18T21:07:01.993+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 03: Getting started with C</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-7799833745402538836?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/7799833745402538836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-3-getting-started-with-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7799833745402538836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7799833745402538836'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-3-getting-started-with-c.html' title='Chapter 03: Getting started with C'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-981906001451799180</id><published>2009-05-03T20:50:00.001+05:30</published><updated>2009-08-18T21:06:23.479+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='C-Kid'/><title type='text'>Chapter 02: A KID story on C-language</title><content type='html'>Page Under Construction...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-981906001451799180?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/981906001451799180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-2-kid-story-on-c-language.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/981906001451799180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/981906001451799180'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/05/chapter-2-kid-story-on-c-language.html' title='Chapter 02: A KID story on C-language'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6474609310510172769.post-7243919092099305177</id><published>2009-04-13T21:11:00.000+05:30</published><updated>2009-04-13T21:12:52.683+05:30</updated><title type='text'>Network Kid</title><content type='html'>&lt;div style="font-family: verdana;" id="title"&gt;                     &lt;h1&gt;What Is An IP Address?&lt;/h1&gt;                 &lt;/div&gt;        &lt;!-- Column 1 start --&gt;&lt;span style="font-family: verdana;"&gt;IP Address (Internet Protocol Address):&lt;/span&gt;                     &lt;p style="font-family: verdana;"&gt;This number is an exclusive number all information technology devices (printers, routers, modems, et al) use which identifies and allows them the ability to communicate with each other on a computer network. There is a standard of communication which is called an &lt;strong&gt;I&lt;/strong&gt;nternet &lt;strong&gt;P&lt;/strong&gt;rotocol standard (&lt;strong&gt;IP&lt;/strong&gt;). In laymans terms it is the same as your home address. In order for you to receive snail mail at home the sending party must have your correct mailing address (&lt;strong&gt;IP address&lt;/strong&gt;) in your town (&lt;strong&gt;network&lt;/strong&gt;) or you do not receive bills, pizza coupons or your tax refund. The same is true for all equipment on the internet. Without this specific address, information cannot be received. IP addresses may either be assigned permanently for an Email server/Business server or a permanent home resident or temporarily, from a pool of available addresses (first come first serve) from your &lt;strong&gt;I&lt;/strong&gt;nternet &lt;strong&gt;S&lt;/strong&gt;ervice &lt;strong&gt;P&lt;/strong&gt;rovider.  A permanent number may not be available in all areas and may cost extra so be  sure to ask your &lt;strong&gt;ISP&lt;/strong&gt;.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;Domain Name System (DNS):&lt;/strong&gt; This allows the IP address to be translated to words. It is much easier for us to remember a word than a series of numbers. The same is true for email addresses.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;br /&gt;For example, it is much easier for you to remember a web address name such as whatismyip.com than it is to remember 192.168.1.1 or in the case of email it is much easier to remember email@somedomain.com than email@192.168.1.1&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;Dynamic IP Address:&lt;/strong&gt; An IP address that is not static and could change at any time. This IP address is issued to you from a pool of IP addresses allocated by your ISP or DHCP Server. This is for a large number of customers that do not require the same IP Address all the time for a variety of reasons. Your computer will automatically get this number as it logs on to the network and saves you the trouble of having to know details regarding the specific network configurations. This number can be assigned to anyone using a dial-up connection, Wireless and High Speed Internet connections. If you need to run your own email server or web server, it would be best to have a static IP.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;Static IP Address:&lt;/strong&gt; An IP address that is fixed and never changes. This is in contrast to a dynamic IP address which may change at any time. Most ISP's a single static IP or a block of static IP's for a few extra bucks a month.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;IP version 4:&lt;/strong&gt; Currently used by most network devices. However, with more and more computers accessing the internet, IPv4 addresses are running out quickly. Just like in a city, addresses have to be created for new neighborhoods but, if your neighborhood gets too large, you will have to come up with an entire new pool of addresses. IPv4 is limited to 4,294,967,296 addresses.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;IP version 5:&lt;/strong&gt; This is an experimental protocol for UNIX based systems. In keeping with standard UNIX (a computer Operating System) release conventions, all odd-numbered versions are considered experimental. It was never intended to be used by the general public.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;&lt;strong&gt;IP version 6:&lt;/strong&gt; The replacement for the aging IPv4. The estimated number of unique addresses for IPv6 is 340,282,366,920,938,463,463,374,607,431,768,211,456 or 2^128.&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;The old and current standard of addresses was this: 192.168.100.100 the new way can be written different ways but means the same and are all valid: &lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;* 1080:0000:0000:0000:0000:0034:0000:417A&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;* 1080:0:0:0:0:34:0:417A&lt;/p&gt;                     &lt;p style="font-family: verdana;"&gt;* 1080::34:0:417A&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6474609310510172769-7243919092099305177?l=it-kids.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-kids.blogspot.com/feeds/7243919092099305177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-kids.blogspot.com/2009/04/network-kid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7243919092099305177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6474609310510172769/posts/default/7243919092099305177'/><link rel='alternate' type='text/html' href='http://it-kids.blogspot.com/2009/04/network-kid.html' title='Network Kid'/><author><name>Vignesh Dhakshinamoorthy</name><uri>https://profiles.google.com/106477922197575928039</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-i0MiSIXrlo0/AAAAAAAAAAI/AAAAAAAABPA/0zRzDF-nrdk/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>
