<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-8496221174283425977</atom:id><lastBuildDate>Sat, 22 Aug 2026 10:52:53 +0000</lastBuildDate><category>Java EE</category><category>Java EE 6 Web Component Developer</category><category>OCEJWCD</category><category>OCEJWCD 6</category><category>Web Component Developer</category><category>1Z0-899</category><category>Java</category><category>Java Certification</category><category>Java EE 6</category><category>Java Servlets</category><category>Java Tutorial</category><category>Oracle Certified Expert</category><category>CGI</category><category>HTML forms</category><category>HTTP Request</category><category>HTTP protocol</category><category>HttpServlet</category><category>JSP</category><category>JSP tutorials</category><category>Java EE 5</category><category>Java Training</category><category>Java Web application</category><category>JavaServer Pages</category><category>Oracle Certified Professional</category><category>Oracle Java Certification</category><category>Practice Exams</category><category>SCWCD</category><category>Servlet API</category><category>Servlet related APIs</category><category>Servlets Tutorial</category><category>Servlets Tutorials</category><category>Simulator</category><category>Training for EE</category><category>Training for Java SE</category><category>User-defined Servlets</category><category>Web Component Developer Certification</category><category>benefits</category><category>java 8</category><category>list of java certification</category><category>ocajp 8</category><category>ocajp 8 tutorial</category><category>ocajp tutorial</category><title>Kate Java</title><description>Oracle Java Training Consultant and Java Developer in Java And Java EE technology</description><link>http://kate-java.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><copyright>Copy rights 2013 KateJava</copyright><itunes:image href="https://lh3.googleusercontent.com/-Kz85KVFE920/UZda7DjE_aI/AAAAAAAAAAw/oD0sJMn1ex4/s250-no/Kate-Java.jpg"/><itunes:keywords>Oracle,Java,Java,Certification,Java,EE,Java,Training,list,of,java,certification,Oracle,Java,Certification,Practice,Exams,Training,for,EE,Training,for,Java,SE</itunes:keywords><itunes:summary>I am a Java Developer and Training Consultant in Java And Java EE technology. I have been working in IT for over 4 years as java developer and providing training solution for many large enterprise companies across the world wide. I am in Java and JEE Application training consulting for training and development background.</itunes:summary><itunes:subtitle>Oracle Java Training Consultant and Java Developer in Java And Java EE technology</itunes:subtitle><itunes:category text="Education"><itunes:category text="Educational Technology"/></itunes:category><itunes:category text="Technology"><itunes:category text="Software How-To"/></itunes:category><itunes:category text="Education"><itunes:category text="Training"/></itunes:category><itunes:author>Kate Java</itunes:author><itunes:owner><itunes:email>noreply@blogger.com</itunes:email><itunes:name>Kate Java</itunes:name></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-1260163894502244600</guid><pubDate>Wed, 10 Jan 2018 14:52:00 +0000</pubDate><atom:updated>2018-01-10T06:52:27.631-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">java 8</category><category domain="http://www.blogger.com/atom/ns#">Java Tutorial</category><category domain="http://www.blogger.com/atom/ns#">ocajp 8</category><category domain="http://www.blogger.com/atom/ns#">ocajp 8 tutorial</category><category domain="http://www.blogger.com/atom/ns#">ocajp tutorial</category><title>OCAJP -  Java SE 8 Tutorial For Beginners &amp; Professionals 2018</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqk92FXRJ5XBvrlNb4iWtJc-xbBQXeNBOZo7BiLGgUxWo-y3MocULJS-4r4e75PZmp77VSKlzEpeyhd7xktAUDOXjY02GGRPgpkNB7qOYGjJboe3F2YTNiC7gZc86CSMp1w4AZsOuX9No/s1600/ocajp-8-kate.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="720" data-original-width="1280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqk92FXRJ5XBvrlNb4iWtJc-xbBQXeNBOZo7BiLGgUxWo-y3MocULJS-4r4e75PZmp77VSKlzEpeyhd7xktAUDOXjY02GGRPgpkNB7qOYGjJboe3F2YTNiC7gZc86CSMp1w4AZsOuX9No/s1600/ocajp-8-kate.png" style="display: block; max-width: 100%;" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
If you are looking ahead to turning into a Java programmer, a certification from Oracle is the proper way to make certain that you stand out from the non-certified programmers in phrases of know-how and skills. Oracle’s Java Certifications are particularly esteemed inside the IT fraternity. Preparing for the certification exam requires a strategic method that may help the aspirant to master the language and its functions. Here is a step-by-step manual that elaborates on the numerous tiers within the training for &lt;a href="https://www.epractizelabs.com/certification/oracle/ocajp-8/mockexam.html" target="_blank"&gt;OCAJP 8&lt;/a&gt; [1Z0-808]&amp;nbsp;Certification exam.&lt;br /&gt;
&lt;h2&gt;
Before Preparation:&lt;/h2&gt;
The preparations require dedication, effort, and time. Incorporate the steps stated right here part of your every day habitual via allocating a normal and fixed time spot that can be without problems observed. A right know-how of the English language is beneficial as there may be a giant repository of excessive great assets in this language. Unless you try the examination in Spanish, observe path materials in English.&lt;br /&gt;
The time taken to put together for the Java SE 8 (OCAJP – 1Z0-808) Certification examination can range depending on your Java programming understanding and revel in. For a more energizing with primary programming know-how, the appropriate time span for education is 2 months, if they spend a large amount of time in a day for the arrangements. For those with a reasonably desirable know-how and revel in Java, this time can be reduced to one month or maybe 15 days, relying on to your velocity of learning and time allotted for daily exercise. For an amateur who has certainly no concept about Java or Object Oriented Programming, the time required for gaining knowledge of can move up to 6 months since they must apprehend the ideas of programming after which flow on Java precise getting to know.&lt;br /&gt;
&lt;h2&gt;
Steps for Preparation&lt;/h2&gt;
&lt;h3&gt;
&lt;b&gt;Understand the syllabus&lt;/b&gt;&lt;/h3&gt;
The number one step is to get the whole syllabus for the exam. This will provide you with an in-depth perception of the subjects that you need to cowl within the set time frame. A look at plan can be prepared primarily based on the wide variety of topics and time required to complete each phase. The OCAJP 8 certification exam curriculum includes these primary subjects:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Java Basics&lt;/li&gt;
&lt;li&gt;Working with Java Data Types&lt;/li&gt;
&lt;li&gt;Using Operators and Decision Constructs&lt;/li&gt;
&lt;li&gt;Creating and Using Arrays&lt;/li&gt;
&lt;li&gt;Using Loop Constructs&lt;/li&gt;
&lt;li&gt;Working with Methods and Encapsulation&lt;/li&gt;
&lt;li&gt;Working with Inheritance&lt;/li&gt;
&lt;li&gt;Handling Exceptions&lt;/li&gt;
&lt;li&gt;Working with Selected classes from the Java API&lt;/li&gt;
&lt;/ul&gt;
Collect more information about the exam format, a number of questions asked, exam duration, and the minimum percentage for passing which can help you while taking mock tests.&lt;br /&gt;
&lt;h3&gt;
&lt;b&gt;Collect Preparation Materials:&lt;/b&gt;&lt;/h3&gt;
Once you are acquainted with the syllabus and the subjects, the following step is to accumulate beneficial assets. These ought to consist of books in addition to online resources.&lt;br /&gt;
&lt;h2&gt;
OCAJP 8 Preparation Books (Study Guide)&lt;/h2&gt;
Books are in all likelihood the best reliable and good study materials for Java aspirants. There are any numbers of accurate guides that permit you to study the various elements of the topics. Before you spend heaps on Java books, it is essential to identify the most relevant ones. The right books can enhance your information of Java.&lt;br /&gt;
&lt;br /&gt;
The highly recommended Study Guides for OCAJP 8 Certification exam preparation is - &lt;b&gt;OCAJP 8 (1Z0-808) Exam Practice Tests&lt;/b&gt; (MyExamCloud.com)&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2018/01/ocajp-java-se-8-tutorial-for-beginners.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqk92FXRJ5XBvrlNb4iWtJc-xbBQXeNBOZo7BiLGgUxWo-y3MocULJS-4r4e75PZmp77VSKlzEpeyhd7xktAUDOXjY02GGRPgpkNB7qOYGjJboe3F2YTNiC7gZc86CSMp1w4AZsOuX9No/s72-c/ocajp-8-kate.png" width="72"/><thr:total>5</thr:total><author>noreply@blogger.com (Kate Java)</author><enclosure length="158094" type="image/png" url="https://2.bp.blogspot.com/-wWFjVVlimuk/WlYnhKAXDwI/AAAAAAAAAKo/F2-vQKMTv-sjkouEAaTJbfrvAp1nObuzQCLcBGAs/s1600/ocajp-8-kate.png"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>If you are looking ahead to turning into a Java programmer, a certification from Oracle is the proper way to make certain that you stand out from the non-certified programmers in phrases of know-how and skills. Oracle’s Java Certifications are particularly esteemed inside the IT fraternity. Preparing for the certification exam requires a strategic method that may help the aspirant to master the language and its functions. Here is a step-by-step manual that elaborates on the numerous tiers within the training for OCAJP 8 [1Z0-808]&amp;nbsp;Certification exam. Before Preparation: The preparations require dedication, effort, and time. Incorporate the steps stated right here part of your every day habitual via allocating a normal and fixed time spot that can be without problems observed. A right know-how of the English language is beneficial as there may be a giant repository of excessive great assets in this language. Unless you try the examination in Spanish, observe path materials in English. The time taken to put together for the Java SE 8 (OCAJP – 1Z0-808) Certification examination can range depending on your Java programming understanding and revel in. For a more energizing with primary programming know-how, the appropriate time span for education is 2 months, if they spend a large amount of time in a day for the arrangements. For those with a reasonably desirable know-how and revel in Java, this time can be reduced to one month or maybe 15 days, relying on to your velocity of learning and time allotted for daily exercise. For an amateur who has certainly no concept about Java or Object Oriented Programming, the time required for gaining knowledge of can move up to 6 months since they must apprehend the ideas of programming after which flow on Java precise getting to know. Steps for Preparation Understand the syllabus The number one step is to get the whole syllabus for the exam. This will provide you with an in-depth perception of the subjects that you need to cowl within the set time frame. A look at plan can be prepared primarily based on the wide variety of topics and time required to complete each phase. The OCAJP 8 certification exam curriculum includes these primary subjects: Java Basics Working with Java Data Types Using Operators and Decision Constructs Creating and Using Arrays Using Loop Constructs Working with Methods and Encapsulation Working with Inheritance Handling Exceptions Working with Selected classes from the Java API Collect more information about the exam format, a number of questions asked, exam duration, and the minimum percentage for passing which can help you while taking mock tests. Collect Preparation Materials: Once you are acquainted with the syllabus and the subjects, the following step is to accumulate beneficial assets. These ought to consist of books in addition to online resources. OCAJP 8 Preparation Books (Study Guide) Books are in all likelihood the best reliable and good study materials for Java aspirants. There are any numbers of accurate guides that permit you to study the various elements of the topics. Before you spend heaps on Java books, it is essential to identify the most relevant ones. The right books can enhance your information of Java. The highly recommended Study Guides for OCAJP 8 Certification exam preparation is - OCAJP 8 (1Z0-808) Exam Practice Tests (MyExamCloud.com)</itunes:subtitle><itunes:author>Kate Java</itunes:author><itunes:summary>If you are looking ahead to turning into a Java programmer, a certification from Oracle is the proper way to make certain that you stand out from the non-certified programmers in phrases of know-how and skills. Oracle’s Java Certifications are particularly esteemed inside the IT fraternity. Preparing for the certification exam requires a strategic method that may help the aspirant to master the language and its functions. Here is a step-by-step manual that elaborates on the numerous tiers within the training for OCAJP 8 [1Z0-808]&amp;nbsp;Certification exam. Before Preparation: The preparations require dedication, effort, and time. Incorporate the steps stated right here part of your every day habitual via allocating a normal and fixed time spot that can be without problems observed. A right know-how of the English language is beneficial as there may be a giant repository of excessive great assets in this language. Unless you try the examination in Spanish, observe path materials in English. The time taken to put together for the Java SE 8 (OCAJP – 1Z0-808) Certification examination can range depending on your Java programming understanding and revel in. For a more energizing with primary programming know-how, the appropriate time span for education is 2 months, if they spend a large amount of time in a day for the arrangements. For those with a reasonably desirable know-how and revel in Java, this time can be reduced to one month or maybe 15 days, relying on to your velocity of learning and time allotted for daily exercise. For an amateur who has certainly no concept about Java or Object Oriented Programming, the time required for gaining knowledge of can move up to 6 months since they must apprehend the ideas of programming after which flow on Java precise getting to know. Steps for Preparation Understand the syllabus The number one step is to get the whole syllabus for the exam. This will provide you with an in-depth perception of the subjects that you need to cowl within the set time frame. A look at plan can be prepared primarily based on the wide variety of topics and time required to complete each phase. The OCAJP 8 certification exam curriculum includes these primary subjects: Java Basics Working with Java Data Types Using Operators and Decision Constructs Creating and Using Arrays Using Loop Constructs Working with Methods and Encapsulation Working with Inheritance Handling Exceptions Working with Selected classes from the Java API Collect more information about the exam format, a number of questions asked, exam duration, and the minimum percentage for passing which can help you while taking mock tests. Collect Preparation Materials: Once you are acquainted with the syllabus and the subjects, the following step is to accumulate beneficial assets. These ought to consist of books in addition to online resources. OCAJP 8 Preparation Books (Study Guide) Books are in all likelihood the best reliable and good study materials for Java aspirants. There are any numbers of accurate guides that permit you to study the various elements of the topics. Before you spend heaps on Java books, it is essential to identify the most relevant ones. The right books can enhance your information of Java. The highly recommended Study Guides for OCAJP 8 Certification exam preparation is - OCAJP 8 (1Z0-808) Exam Practice Tests (MyExamCloud.com)</itunes:summary><itunes:keywords>Oracle,Java,Java,Certification,Java,EE,Java,Training,list,of,java,certification,Oracle,Java,Certification,Practice,Exams,Training,for,EE,Training,for,Java,SE</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-9134309364785443136</guid><pubDate>Thu, 20 Jun 2013 06:49:00 +0000</pubDate><atom:updated>2017-03-28T06:51:21.426-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">HTML forms</category><category domain="http://www.blogger.com/atom/ns#">HTTP protocol</category><category domain="http://www.blogger.com/atom/ns#">HTTP Request</category><category domain="http://www.blogger.com/atom/ns#">HttpServlet</category><category domain="http://www.blogger.com/atom/ns#">Java Servlets</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD 6</category><category domain="http://www.blogger.com/atom/ns#">Oracle Certified Expert</category><category domain="http://www.blogger.com/atom/ns#">Servlet API</category><category domain="http://www.blogger.com/atom/ns#">Servlet related APIs</category><category domain="http://www.blogger.com/atom/ns#">Servlets Tutorial</category><category domain="http://www.blogger.com/atom/ns#">Simulator</category><category domain="http://www.blogger.com/atom/ns#">User-defined Servlets</category><title>OCEJWCD 6 Tutorial: The servlet’s environment</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr"&gt;
&lt;div style="text-align: center;"&gt;
&lt;img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl09Gs79XmbrZXsFwLL1oFC_qPiNFPkVe7rPzd8n01cQkAlxrtFfAtWmZAxceDb3_edoP7dYXIqjsIReL8Te53f8AmEPME5q12XadI9rgfkFoayDBUftb_ArvnBhE6UyzK35VeoJLxiro/s1600/servlet-environment.png" /&gt;&lt;/div&gt;
The OCEJWCD 6 is the new exam for Java EE web component developers. This tutorial explains “The servlet’s environment” exam topic in detail with code examples.

&lt;br /&gt;
&lt;blockquote&gt;
Disclaimer : The contents are taken from free resources available on web including Oracle site and Wikipedia.&lt;/blockquote&gt;
Servlets communicate with web users over a request response pattern executed by the servlet container. HTTP protocol can process the request−response pattern. Servlet container is essentially a part of a web server that interacts with the servlets.&lt;br /&gt;
&lt;br /&gt;
The servlet container is used for managing other features of the servlet lifecycle.

This article shows how to communicate with Servlets. And also understand the HTTP protocols, HTML forms, HttpServlet, related APIs and sample program to manage client sessions and cookies.&lt;br /&gt;
&lt;div class="toc" id="toc"&gt;
&lt;div id="toctitle"&gt;
&lt;h2&gt;
Contents&lt;/h2&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#HTTP_protocol"&gt;1 HTTP protocol&lt;/a&gt;

 &lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Example_client_request"&gt;1.1 Example client request&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Example_server_response"&gt;1.2 Example server response&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Types_of_HTTP_Request"&gt;1.3 Types of HTTP Request&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#HTML_forms"&gt;2 HTML forms&lt;/a&gt;

 &lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#HTML_Page_Structure"&gt;2.1 HTML Page Structure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#HTML_Form"&gt;2.2 HTML Form&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#HttpServlet_and_related_APIs"&gt;3 HttpServlet and related APIs&lt;/a&gt;

 &lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Servlet_API"&gt;3.1 Servlet API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#User_defined_Servlets"&gt;3.2 User-defined Servlets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#doGet_and_doPost"&gt;3.3 doGet() and doPost()&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Servlet_related_APIs"&gt;3.3 Servlet related APIs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.blogger.com/blogger.g?blogID=8496221174283425977#Exam_Simulator"&gt;4 Exam Simulator&lt;/a&gt;
 &lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="HTTP_protocol"&gt;
&lt;strong&gt;HTTP protocol&lt;/strong&gt;&lt;/h2&gt;
&lt;strong&gt;Understand more details of the HTTP protocol&lt;/strong&gt;&lt;br /&gt;
Hypertext Transfer Protocol is a stateless protocol. Generally this HTTP protocol is used to transfer the HTML and other information. Uniform Resource Locator (URL) is a universal address for the HTML documents and other resources. This HTTP is belongs to the application layer.&lt;br /&gt;
Initially the client creates a connection to HTTP server. The HTTP client sends a message based on the HTTP standard (HTTP Request) and then waits for the answer. Server answers in the form of HTTP response to the client. HTTP client read the response. Then close/release the connection from the server.&lt;br /&gt;
&lt;h4 id="Example_client_request"&gt;
&lt;strong&gt;Example client request&lt;/strong&gt;&lt;/h4&gt;
&lt;table&gt;
 &lt;tbody&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Request Line&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;:&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;GET /images/help.jpg HTTP 1.1&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Header&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;:&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Connection : Keep-Alive&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Referrer : http://localhost:8080/index.html&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;User-Agent : Mozilla/4.0&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Host : nplus1.net&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Content-Type : application/x-www-form-urlencoded&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Content-Length : 28&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Body : name=images&amp;amp;value=bar&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4 id="Example_server_response"&gt;
&lt;strong&gt;Example server response&lt;/strong&gt;&lt;/h4&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Status Line HTTP/1.1 200 OK&lt;/span&gt;&lt;br /&gt;
&lt;table&gt;
 &lt;tbody&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Header&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;:&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Date : Mon, 10 June 2013 06:04:34 GMT&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Server : Apache/2.4.4&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Content-Type : text/html&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Content-Length : 2456&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Last-Modified : Mon, 10 June 2013 02:43:45 GMT&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Body&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;:&lt;/span&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;header&amp;gt;&amp;lt;title&amp;gt;Welcome Image&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;.....&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;/td&gt;
   &lt;td&gt;&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h4 id="Types_of_HTTP_Request"&gt;
&lt;strong&gt;Types of HTTP Request&lt;/strong&gt;&lt;/h4&gt;
Following HTTP types used for perform some actions&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;HEAD - requests header information.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;GET - retrieves a single resource&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;POST – Send the client information to server.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;PUT - Send a resource to be stored on the server.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;DELETE - removes resource from specified URL.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;TRACE - returns the entire network route from client to server and back.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;OPTIONS - returns list of server's supported HTTP methods.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;CONNECT - Converts the request connection to a transparent TCP/IP tunnel.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;PATCH - Is used to apply partial modifications to a resource.&lt;/span&gt;&lt;/div&gt;
&lt;h2 id="HTML_forms"&gt;
&lt;strong&gt;HTML forms&lt;/strong&gt;&lt;/h2&gt;
&lt;strong&gt;Understand fundamentals of HTML forms&lt;/strong&gt;

&lt;br /&gt;
&lt;h3 id="HTML_Page_Structure"&gt;
&lt;strong&gt;HTML Page Structure&lt;/strong&gt;&lt;/h3&gt;
A HTML page has global structure. The html page has two main element: 1. head and 2. body.&lt;br /&gt;
The Head element has following major parts:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;HEAD element, TITLE element and Meta data.&lt;/li&gt;
&lt;li&gt;The body element has following major fields: Identification element (class, id), Grouping element (span, p), Header element (H1, h3, h4...)&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;
&lt;strong&gt;Simple HTML document:&lt;/strong&gt;&lt;/h4&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;"http://www.w3.org/TR/html4/strict.dtd"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;HTML&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;HEAD&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;TITLE&amp;gt;Welcome to Kate Java Tutorials&amp;lt;/TITLE&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/HEAD&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;BODY&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;P&amp;gt;Simple HTML page document.&amp;lt;/p&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/BODY&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/HTML&amp;gt;
 &lt;/span&gt;&lt;br /&gt;
&lt;h3 id="HTML_Form"&gt;
&lt;strong&gt;HTML Form:&lt;/strong&gt;&lt;/h3&gt;
HTML form has following control types: buttons, checkboxes, radio buttons, menus, text input, file select and object controls.&lt;br /&gt;
HTML form control element has following attributes: accept, accept-charset, action, enctype, method, name and target&lt;br /&gt;
HTML form input element has following attributes: type, name, value, size, maxlength, checked, src.
 &lt;br /&gt;
&lt;h4&gt;
&lt;strong&gt;Sample HTML Form :&lt;/strong&gt;&lt;/h4&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;FORM action="http://katejava.com/exam/adduser" method="post"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;P&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;First name: &amp;lt;INPUT type="text" name="firstname"&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;Last name: &amp;lt;INPUT type="text" name="lastname"&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;email: &amp;lt;INPUT type="text" name="email"&amp;gt;&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;INPUT type="radio" name="sex" value="Male"&amp;gt; Male&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;INPUT type="radio" name="sex" value="Female"&amp;gt; Female&amp;lt;BR&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;INPUT type="submit" value="Send"&amp;gt; &amp;lt;INPUT type="reset"&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/P&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;lt;/FORM&amp;gt;
 &lt;/span&gt;&lt;br /&gt;
&lt;h2 id="HttpServlet_and_related_APIs"&gt;
&lt;strong&gt;HttpServlet and related APIs&lt;/strong&gt;&lt;/h2&gt;
&lt;strong&gt;Understand fundamentals of the HttpServlet and related APIs&lt;/strong&gt;
 &lt;br /&gt;
The Servlet API consists of two packages: javax.servlet and javax.servlet.http. The base functionality is defined in the javax.servlet package whose classes and interfaces outline a generic, protocol-independent implementation.&lt;br /&gt;
&lt;h3 id="Servlet_API"&gt;
&lt;strong&gt;Servlet API&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;javax.servlet
  &lt;ul&gt;
&lt;li&gt;Support generic, protocol-independent servlets&lt;/li&gt;
&lt;li&gt;Servlet (interface)&lt;/li&gt;
&lt;li&gt;GenericServlet (class)&lt;/li&gt;
&lt;li&gt;service()&lt;/li&gt;
&lt;li&gt;ServletRequest and ServletResponse&lt;/li&gt;
&lt;li&gt;Provide access to generic server requests and responses&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;javax.servlet.http
  &lt;ul&gt;
&lt;li&gt;Extended to add HTTP-specific functionality&lt;/li&gt;
&lt;li&gt;HttpServlet (extends GenericServlet )&lt;/li&gt;
&lt;li&gt;doGet()&lt;/li&gt;
&lt;li&gt;doPost()&lt;/li&gt;
&lt;li&gt;HttpServletRequest and HttpServletResponse&lt;/li&gt;
&lt;li&gt;Provide access to HTTP requests and responses&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="User_defined_Servlets"&gt;
&lt;strong&gt;User-defined Servlets&lt;/strong&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Inherit from HttpServlet
  &lt;ul&gt;
&lt;li&gt;Override doGet() and doPost()&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;To handle GET and POST requests
  &lt;ul&gt;
&lt;li&gt;Have no main() method&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;strong&gt;HttpServlet must override at least one method&lt;/strong&gt;, usually one of these:

 &lt;br /&gt;
&lt;div&gt;
doGet, if the servlet supports HTTP GET requests&lt;br /&gt;
doPost, for HTTP POST requests&lt;br /&gt;
doPut, for HTTP PUT requests&lt;br /&gt;
doDelete, for HTTP DELETE requests&lt;br /&gt;
init and destroy, to manage resources that are held for the life of the servlet&lt;br /&gt;
getServletInfo, which the servlet uses to provide information about itself&lt;/div&gt;
&lt;h3 id="doGet_and_doPost"&gt;
&lt;strong&gt;doGet() and doPost()&lt;/strong&gt;&lt;/h3&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;protected void doGet( HttpServletRequest req, HttpServletResponse resp)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;protected void doPost(HttpServletRequest req, HttpServletResponse resp)
 &lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;strong&gt;Sample HttpServlet&lt;/strong&gt;&lt;/h4&gt;
&lt;div&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;import java.io.*;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;import javax.servlet.*;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;import javax.servlet.http.*;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;public class HelloWorld extends HttpServlet {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;public void doGet(HttpServletRequest req, HttpServletResponse res)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;throws ServletException, IOException {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;res.setContentType("text/html");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;PrintWriter out = res.getWriter();&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;out.println("&amp;lt;html&amp;gt;");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;out.println("&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;hello world&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;out.println("&amp;lt;body&amp;gt;");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;out.println("&amp;lt;big&amp;gt;hello world&amp;lt;/big&amp;gt;");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;out.println("&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;");&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;public void doPost(HttpServletRequest req, HttpServletResponse res)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;throws ServletException, IOException {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;doGet(req, res);&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;h3 id="Servlet_related_APIs"&gt;
&lt;strong&gt;Servlet related APIs&lt;/strong&gt;&lt;/h3&gt;
For more information refer following documents

 &lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;JavaTM Platform, Enterprise Edition 6 API Specification&lt;br /&gt;
  &lt;a href="http://docs.oracle.com/javaee/6/api/" rel="nofollow" target="_blank"&gt;http://docs.oracle.com/javaee/6/api/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;What is servlet API in java?&lt;br /&gt;
  &lt;a href="http://wiki.answers.com/Q/What_is_servlet_API_in_java" rel="nofollow" target="_blank"&gt;http://wiki.answers.com/Q/What_is_servlet_API_in_java&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="Exam_Simulator"&gt;
&lt;strong&gt;Exam Simulator&lt;/strong&gt;&lt;/h2&gt;
&lt;strong&gt;Commercial Exam Simulator for OCEJWCD 6 Certification&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;
MyExamCloud's&amp;nbsp;&lt;a href="http://www.myexamcloud.com/onlineexam/viewStudyPlan.html?s=mzqA/ItJ3Bs=" target="_blank"&gt;OCEJWCD 6&lt;/a&gt;&amp;nbsp;Training Lab&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2013/06/ocejwcd-6-tutorial-servlets-environment.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl09Gs79XmbrZXsFwLL1oFC_qPiNFPkVe7rPzd8n01cQkAlxrtFfAtWmZAxceDb3_edoP7dYXIqjsIReL8Te53f8AmEPME5q12XadI9rgfkFoayDBUftb_ArvnBhE6UyzK35VeoJLxiro/s72-c/servlet-environment.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Kate Java)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-6090593119748146413</guid><pubDate>Thu, 06 Jun 2013 12:45:00 +0000</pubDate><atom:updated>2013-06-06T05:45:48.057-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java EE</category><category domain="http://www.blogger.com/atom/ns#">Java EE 5</category><category domain="http://www.blogger.com/atom/ns#">Java EE 6</category><category domain="http://www.blogger.com/atom/ns#">Java EE 6 Web Component Developer</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD</category><category domain="http://www.blogger.com/atom/ns#">Oracle Certified Expert</category><category domain="http://www.blogger.com/atom/ns#">Oracle Certified Professional</category><category domain="http://www.blogger.com/atom/ns#">SCWCD</category><category domain="http://www.blogger.com/atom/ns#">Web Component Developer</category><category domain="http://www.blogger.com/atom/ns#">Web Component Developer Certification</category><title>OCEJWCD ( SCWCD 6) Web Component Developer Certification Exam</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJKatSP8ppAqMAbmJn4UNSPL945WCRIcOuk9wVmpx8mhhYGMHXRImqnb3B5r0HdfmYwLtxp0tSUCk0XN2cj2Jkh9TKBAYwOCUhyxbdxavOQZU0AGt36meOQLBh4DXH0ny3532ex3aF3Ok/s500/SCWCD-5-OCEJWCD-6.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="120" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJKatSP8ppAqMAbmJn4UNSPL945WCRIcOuk9wVmpx8mhhYGMHXRImqnb3B5r0HdfmYwLtxp0tSUCk0XN2cj2Jkh9TKBAYwOCUhyxbdxavOQZU0AGt36meOQLBh4DXH0ny3532ex3aF3Ok/s200/SCWCD-5-OCEJWCD-6.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="background-color: white; color: #222222; font-family: Helvetica, arial, verdana; font-size: 15px; line-height: 22px;"&gt;The web component developer certification for Java EE is hotter than other exams. Oracle offers two certifications for web component developers one for Java EE 5 and another one for Java EE 6.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em style="background-color: white; border: 0px; color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"&gt;Read the full article &lt;b&gt;&lt;a href="http://java.dzone.com/articles/ocejwcd-scwcd-6-web-component/"&gt;here&lt;/a&gt;&lt;/b&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2013/06/ocejwcd-scwcd-6-web-component-developer_6.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJKatSP8ppAqMAbmJn4UNSPL945WCRIcOuk9wVmpx8mhhYGMHXRImqnb3B5r0HdfmYwLtxp0tSUCk0XN2cj2Jkh9TKBAYwOCUhyxbdxavOQZU0AGt36meOQLBh4DXH0ny3532ex3aF3Ok/s72-c/SCWCD-5-OCEJWCD-6.jpg" width="72"/><thr:total>1</thr:total><author>noreply@blogger.com (Kate Java)</author><enclosure length="37761" type="image/jpeg" url="http://2.bp.blogspot.com/-wk_mWLoFDN8/Ua7jqZOtvYI/AAAAAAAAAF8/IitnhNElAWo/s500/SCWCD-5-OCEJWCD-6.jpg"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>The web component developer certification for Java EE is hotter than other exams. Oracle offers two certifications for web component developers one for Java EE 5 and another one for Java EE 6. Read the full article here.</itunes:subtitle><itunes:author>Kate Java</itunes:author><itunes:summary>The web component developer certification for Java EE is hotter than other exams. Oracle offers two certifications for web component developers one for Java EE 5 and another one for Java EE 6. Read the full article here.</itunes:summary><itunes:keywords>Oracle,Java,Java,Certification,Java,EE,Java,Training,list,of,java,certification,Oracle,Java,Certification,Practice,Exams,Training,for,EE,Training,for,Java,SE</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-4589108067069103660</guid><pubDate>Fri, 31 May 2013 14:35:00 +0000</pubDate><atom:updated>2013-05-31T07:35:09.151-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">1Z0-899</category><category domain="http://www.blogger.com/atom/ns#">Java EE</category><category domain="http://www.blogger.com/atom/ns#">Java EE 6</category><category domain="http://www.blogger.com/atom/ns#">Java EE 6 Web Component Developer</category><category domain="http://www.blogger.com/atom/ns#">JavaServer Pages</category><category domain="http://www.blogger.com/atom/ns#">JSP</category><category domain="http://www.blogger.com/atom/ns#">JSP tutorials</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD 6</category><category domain="http://www.blogger.com/atom/ns#">Web Component Developer</category><title>OCEJWCD 6 Tutorial: Introduction to JavaServer Pages (JSP)</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;i style="background-color: white; color: #222222; font-family: Helvetica, arial, verdana; font-size: 15px; line-height: 22px;"&gt;The 1Z0-899 Java EE 6 Web Component Developer Certified Expert Exam focus more on business tier components. &amp;nbsp;This tutorial is one of the certification exam topics which gives attention into JavaServer Pages (JSP).&amp;nbsp;&lt;/i&gt;&lt;br /&gt;
&lt;i style="background-color: white; color: #222222; font-family: Helvetica, arial, verdana; font-size: 15px; line-height: 22px;"&gt;&lt;br /&gt;&lt;/i&gt;
&lt;em style="background-color: white; border: 0px; color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"&gt;Read the full article&lt;/em&gt;&lt;span style="background-color: white; color: #373737; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; line-height: 24px;"&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style="color: #373737; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"&gt;&lt;span style="font-size: 15px; line-height: 24px;"&gt;&lt;a href="http://java.dzone.com/articles/ocejwcd-6-tutorial-0"&gt;OCEJWCD 6 Tutorial: Introduction to JavaServer Pages (JSP)&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2013/05/ocejwcd-6-tutorial-introduction-to_31.html</link><thr:total>2</thr:total><author>noreply@blogger.com (Kate Java)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-135531386536624685</guid><pubDate>Wed, 22 May 2013 14:26:00 +0000</pubDate><atom:updated>2013-05-22T07:28:52.663-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">1Z0-899</category><category domain="http://www.blogger.com/atom/ns#">benefits</category><category domain="http://www.blogger.com/atom/ns#">CGI</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Java Certification</category><category domain="http://www.blogger.com/atom/ns#">Java EE</category><category domain="http://www.blogger.com/atom/ns#">Java EE 6 Web Component Developer</category><category domain="http://www.blogger.com/atom/ns#">Java Servlets</category><category domain="http://www.blogger.com/atom/ns#">Java Tutorial</category><category domain="http://www.blogger.com/atom/ns#">Java Web application</category><category domain="http://www.blogger.com/atom/ns#">OCEJWCD 6</category><category domain="http://www.blogger.com/atom/ns#">Servlets Tutorials</category><category domain="http://www.blogger.com/atom/ns#">Web Component Developer</category><title>OCEJWCD 6 Tutorials: Introduction to Java Servlets</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;br /&gt;
&lt;i&gt;This tutorial is one of the certification exam topics which gives attention into &lt;b&gt;Java Servlet Technology&lt;/b&gt; . This will help your preparation to pass the 1Z0-899 &lt;b&gt;Java EE 6 Web Component Developer Certified Expert Exam&lt;/b&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Servlet is a Java class that supplies compatible mechanism used to extend the ability of a Web-server that can support dynamic content generation. A servlet can almost be considered an applet that runs on the server side. Servlet provides a platform-independent methods to build Web-based applications. Servlets is a highly efficient CGI programs written in Java. When a Servlet-capable Web server receives a request for a URL that corresponds to a Java Servlet, the server hands the request off to the Servlet for processing. The Servlet dynamically produces a response to the request (typically an HTML Web page) and sends it back to the requesting browser.&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Describe web applications, CGI, and the role of Java&lt;/h3&gt;
&lt;h4 style="text-align: left;"&gt;
Java Web application:&lt;/h4&gt;
Web application is an computer application which is then deployed on the web server, the user can access that application via the Internet or an intranet using a browser. Java has strong support for building web applications using Java Enterprise technology. A Java web application is a collection of &amp;nbsp;HTML pages, XML files, webservices, servlets, JSPs Java classes and jars to create dynamic web project.&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
Java CGI - Common Gateway Interface:&lt;/h4&gt;
CGI is a scripts to receive the request and generate a response for transferring dynamic information between server and client. A CGI program can be written in any language, including Java, that can be executed by your Web server. CGI programs are commonly used to add search engines, guest-book applications, database-query engines, interactive-user forums, and other interactive applications to Web sites. Most of the input to a CGI program is passed into it through environment variables.&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
Role of Java:&lt;/h4&gt;
Following different roles are divided based on the Servlet performance. Receive the explicit data sent by the client, receive the implicit HTTP request data sent by the browser, Generate the results, Dispatch the explicit information to the client and Dispatch the implicit HTTP response data.&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Describe benefits of Java servlet technology&lt;/h3&gt;
The advantages of using servlets is their fast performance and ease of use combined with more power over traditional CGI (Common Gateway Interface). Traditional CGI scripts written in Java have a number of disadvantages when it comes to performance: When a HTTP request is made, a new process is created for each call of the CGI script. This overhead of process creation can be very system-intensive, especially when the script does relatively fast operations. Thus, process creation will take more time than CGI script execution. Java servlets solve this, as a servlet is not a separate process. Each request to be handled by a servlet is handled by a separate Java thread within the Web server process, omitting separate process forking by the HTTP daemon.&lt;br /&gt;
&lt;br /&gt;
Simultaneous CGI request causes the CGI script to be copied and loaded into memory as many times as there are requests. However, with servlets, there are the same amount of threads as requests, but there will only be one copy of the servlet class created in memory that stays there also between requests.&lt;br /&gt;
&lt;br /&gt;
The Web container calls the init()method. This method initializes the servlet and must be called before life of a servlet, the init()method is called only once.&lt;br /&gt;
&lt;br /&gt;
After initialization, the servlet can service client requests. Each requestis serviced in its own separate thread. The Web container calls the &lt;span style="font-family: Courier New, Courier, monospace;"&gt;service()&lt;/span&gt; method of the servlet for every request. The service()method determines the kind of request being made and dispatches it to an appropriate method to handle the request. The developer of the servlet must provide an implementation for these methods. If a request for a method that is not implemented by the servlet is made, the method of the parent class is called, typically resulting in an error being returned to the requester.&lt;br /&gt;
Finally, the Web container calls the &lt;span style="font-family: Courier New, Courier, monospace;"&gt;destroy()&lt;/span&gt;&lt;span style="font-family: inherit;"&gt;&amp;nbsp;&lt;/span&gt;method that takes the servlet out of service. The &lt;span style="font-family: Courier New, Courier, monospace;"&gt;destroy()&lt;/span&gt; method, like &lt;span style="font-family: Courier New, Courier, monospace;"&gt;init()&lt;/span&gt;, is called only once in the lifecycle of a servlet.&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
Create a simple Java Servlet&lt;/h4&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;public class MyServlet extends HttpServlet {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; public void doGet (HttpServletRequest req,&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;HttpServletResponse res) {&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ....&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Deployment descriptor (&lt;span style="font-family: Courier New, Courier, monospace;"&gt;web.xml&lt;/span&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;lt;web-app&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;lt;servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;samples.MyServlet&amp;lt;/servlet-class&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;lt;/servlet&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/MyApp&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;nbsp; &amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Courier New, Courier, monospace;"&gt;&amp;lt;/web-app&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Define three-tier architecture&lt;/h3&gt;
3-Tier client-server architectures have 3 essential components:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;A Client PC&amp;nbsp;&lt;/li&gt;
&lt;li&gt;An Application Server&amp;nbsp;&lt;/li&gt;
&lt;li&gt;A Database Server&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
3-Tier Architecture Considerations:&amp;nbsp;&lt;/h4&gt;
&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Client program contains presentation logic only&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Less resources needed for client workstation&amp;nbsp;&lt;/li&gt;
&lt;li&gt;No client modification if database location changes&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Less code to distribute to client workstations&amp;nbsp;&lt;/li&gt;
&lt;li&gt;One server handles many client requests&amp;nbsp;&lt;/li&gt;
&lt;li&gt;More resources available for server program&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Reduces data traffic on the network&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFv4mylzf1PCdhmfr6HkVO2mgJLSKk2KcLv2TOFf4RrDrk6Wq_V8IeQyDAaWcXZ_smgLGbJrH1M2oP2vTB3Mlc_WtFACo9GKh7yVTdSsHTkVimIHZIKDbMb6Rzy_3VI8r3z2nCQBWr3q8/s1600/3-Tier-Architecture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFv4mylzf1PCdhmfr6HkVO2mgJLSKk2KcLv2TOFf4RrDrk6Wq_V8IeQyDAaWcXZ_smgLGbJrH1M2oP2vTB3Mlc_WtFACo9GKh7yVTdSsHTkVimIHZIKDbMb6Rzy_3VI8r3z2nCQBWr3q8/s640/3-Tier-Architecture.jpg" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Define Model-View-Controller (MVC) architecture&lt;/h3&gt;
One of the most common Design Patterns is Model-View-Controller (MVC). The model does all the computational work. It is input/output free. All communication with the model is via methods. The controller tells the model what to do. User input goes to the controller. The view shows results; it is a “window” into the model. The view can get results from the controller, or The view can get results directly from the model&lt;br /&gt;
&lt;br /&gt;
The model, as usual, does all the computational work, and no Input / Output. The model can consist of multiple classes. The servlet class (the one that extends HttpServlet) acts as the controller. The servlet gives any relevant information from the user request to the model. The servlet takes the results and passes them on to the view. The view—that is, the HTML page that is returned to the user—is frequently created by JSP.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Model:&lt;/b&gt; The domain-speciﬁc representation of the information on which the application operates. The model is another name for the application logic layer (sometimes also called the domain layer). Application (or domain)logic adds meaning to raw data (e.g., calculating iftoday is the user’s birthday, or the totals, taxes and shipping charges for shopping cart items). Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not speciﬁcally mention the resource management layer because it is understood to be underneath or encapsulated by the Model.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;View:&lt;/b&gt; Renders the model into a form suitable for interaction, typically a user interface element. MVC is often seen in web applications, where the view is the HTML page and the code which gathers dynamic data for the page.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Controller:&lt;/b&gt; Processes and responds to events, typically user actions, and may invoke changes on the model and view&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2013/05/ocejwcd-6-tutorials-introduction-to.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFv4mylzf1PCdhmfr6HkVO2mgJLSKk2KcLv2TOFf4RrDrk6Wq_V8IeQyDAaWcXZ_smgLGbJrH1M2oP2vTB3Mlc_WtFACo9GKh7yVTdSsHTkVimIHZIKDbMb6Rzy_3VI8r3z2nCQBWr3q8/s72-c/3-Tier-Architecture.jpg" width="72"/><author>noreply@blogger.com (Kate Java)</author><enclosure length="63971" type="image/jpeg" url="http://1.bp.blogspot.com/-FYr2VoxYs2U/UZzR-XpL5kI/AAAAAAAAACc/4YlDWKRVHn4/s1600/3-Tier-Architecture.jpg"/><itunes:explicit>no</itunes:explicit><itunes:subtitle>This tutorial is one of the certification exam topics which gives attention into Java Servlet Technology . This will help your preparation to pass the 1Z0-899 Java EE 6 Web Component Developer Certified Expert Exam. Servlet is a Java class that supplies compatible mechanism used to extend the ability of a Web-server that can support dynamic content generation. A servlet can almost be considered an applet that runs on the server side. Servlet provides a platform-independent methods to build Web-based applications. Servlets is a highly efficient CGI programs written in Java. When a Servlet-capable Web server receives a request for a URL that corresponds to a Java Servlet, the server hands the request off to the Servlet for processing. The Servlet dynamically produces a response to the request (typically an HTML Web page) and sends it back to the requesting browser. Describe web applications, CGI, and the role of Java Java Web application: Web application is an computer application which is then deployed on the web server, the user can access that application via the Internet or an intranet using a browser. Java has strong support for building web applications using Java Enterprise technology. A Java web application is a collection of &amp;nbsp;HTML pages, XML files, webservices, servlets, JSPs Java classes and jars to create dynamic web project. Java CGI - Common Gateway Interface: CGI is a scripts to receive the request and generate a response for transferring dynamic information between server and client. A CGI program can be written in any language, including Java, that can be executed by your Web server. CGI programs are commonly used to add search engines, guest-book applications, database-query engines, interactive-user forums, and other interactive applications to Web sites. Most of the input to a CGI program is passed into it through environment variables. Role of Java: Following different roles are divided based on the Servlet performance. Receive the explicit data sent by the client, receive the implicit HTTP request data sent by the browser, Generate the results, Dispatch the explicit information to the client and Dispatch the implicit HTTP response data. Describe benefits of Java servlet technology The advantages of using servlets is their fast performance and ease of use combined with more power over traditional CGI (Common Gateway Interface). Traditional CGI scripts written in Java have a number of disadvantages when it comes to performance: When a HTTP request is made, a new process is created for each call of the CGI script. This overhead of process creation can be very system-intensive, especially when the script does relatively fast operations. Thus, process creation will take more time than CGI script execution. Java servlets solve this, as a servlet is not a separate process. Each request to be handled by a servlet is handled by a separate Java thread within the Web server process, omitting separate process forking by the HTTP daemon. Simultaneous CGI request causes the CGI script to be copied and loaded into memory as many times as there are requests. However, with servlets, there are the same amount of threads as requests, but there will only be one copy of the servlet class created in memory that stays there also between requests. The Web container calls the init()method. This method initializes the servlet and must be called before life of a servlet, the init()method is called only once. After initialization, the servlet can service client requests. Each requestis serviced in its own separate thread. The Web container calls the service() method of the servlet for every request. The service()method determines the kind of request being made and dispatches it to an appropriate method to handle the request. The developer of the servlet must provide an implementation for these methods. If a request for a method that is not implemented by the servlet is made, the method of the parent class is called, typically resulting in an error being returned to the requester. Finally, the Web container calls the destroy()&amp;nbsp;method that takes the servlet out of service. The destroy() method, like init(), is called only once in the lifecycle of a servlet. Create a simple Java Servlet public class MyServlet extends HttpServlet { &amp;nbsp; &amp;nbsp; public void doGet (HttpServletRequest req,&amp;nbsp;HttpServletResponse res) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .... &amp;nbsp; &amp;nbsp; } } Deployment descriptor (web.xml) &amp;lt;web-app&amp;gt; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;samples.MyServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/MyApp&amp;lt;/url-pattern&amp;gt; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; ... &amp;lt;/web-app&amp;gt; Define three-tier architecture 3-Tier client-server architectures have 3 essential components: A Client PC&amp;nbsp; An Application Server&amp;nbsp; A Database Server 3-Tier Architecture Considerations:&amp;nbsp; Client program contains presentation logic only&amp;nbsp; Less resources needed for client workstation&amp;nbsp; No client modification if database location changes&amp;nbsp; Less code to distribute to client workstations&amp;nbsp; One server handles many client requests&amp;nbsp; More resources available for server program&amp;nbsp; Reduces data traffic on the network Define Model-View-Controller (MVC) architecture One of the most common Design Patterns is Model-View-Controller (MVC). The model does all the computational work. It is input/output free. All communication with the model is via methods. The controller tells the model what to do. User input goes to the controller. The view shows results; it is a “window” into the model. The view can get results from the controller, or The view can get results directly from the model The model, as usual, does all the computational work, and no Input / Output. The model can consist of multiple classes. The servlet class (the one that extends HttpServlet) acts as the controller. The servlet gives any relevant information from the user request to the model. The servlet takes the results and passes them on to the view. The view—that is, the HTML page that is returned to the user—is frequently created by JSP. Model: The domain-speciﬁc representation of the information on which the application operates. The model is another name for the application logic layer (sometimes also called the domain layer). Application (or domain)logic adds meaning to raw data (e.g., calculating iftoday is the user’s birthday, or the totals, taxes and shipping charges for shopping cart items). Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not speciﬁcally mention the resource management layer because it is understood to be underneath or encapsulated by the Model. View: Renders the model into a form suitable for interaction, typically a user interface element. MVC is often seen in web applications, where the view is the HTML page and the code which gathers dynamic data for the page. Controller: Processes and responds to events, typically user actions, and may invoke changes on the model and view</itunes:subtitle><itunes:author>Kate Java</itunes:author><itunes:summary>This tutorial is one of the certification exam topics which gives attention into Java Servlet Technology . This will help your preparation to pass the 1Z0-899 Java EE 6 Web Component Developer Certified Expert Exam. Servlet is a Java class that supplies compatible mechanism used to extend the ability of a Web-server that can support dynamic content generation. A servlet can almost be considered an applet that runs on the server side. Servlet provides a platform-independent methods to build Web-based applications. Servlets is a highly efficient CGI programs written in Java. When a Servlet-capable Web server receives a request for a URL that corresponds to a Java Servlet, the server hands the request off to the Servlet for processing. The Servlet dynamically produces a response to the request (typically an HTML Web page) and sends it back to the requesting browser. Describe web applications, CGI, and the role of Java Java Web application: Web application is an computer application which is then deployed on the web server, the user can access that application via the Internet or an intranet using a browser. Java has strong support for building web applications using Java Enterprise technology. A Java web application is a collection of &amp;nbsp;HTML pages, XML files, webservices, servlets, JSPs Java classes and jars to create dynamic web project. Java CGI - Common Gateway Interface: CGI is a scripts to receive the request and generate a response for transferring dynamic information between server and client. A CGI program can be written in any language, including Java, that can be executed by your Web server. CGI programs are commonly used to add search engines, guest-book applications, database-query engines, interactive-user forums, and other interactive applications to Web sites. Most of the input to a CGI program is passed into it through environment variables. Role of Java: Following different roles are divided based on the Servlet performance. Receive the explicit data sent by the client, receive the implicit HTTP request data sent by the browser, Generate the results, Dispatch the explicit information to the client and Dispatch the implicit HTTP response data. Describe benefits of Java servlet technology The advantages of using servlets is their fast performance and ease of use combined with more power over traditional CGI (Common Gateway Interface). Traditional CGI scripts written in Java have a number of disadvantages when it comes to performance: When a HTTP request is made, a new process is created for each call of the CGI script. This overhead of process creation can be very system-intensive, especially when the script does relatively fast operations. Thus, process creation will take more time than CGI script execution. Java servlets solve this, as a servlet is not a separate process. Each request to be handled by a servlet is handled by a separate Java thread within the Web server process, omitting separate process forking by the HTTP daemon. Simultaneous CGI request causes the CGI script to be copied and loaded into memory as many times as there are requests. However, with servlets, there are the same amount of threads as requests, but there will only be one copy of the servlet class created in memory that stays there also between requests. The Web container calls the init()method. This method initializes the servlet and must be called before life of a servlet, the init()method is called only once. After initialization, the servlet can service client requests. Each requestis serviced in its own separate thread. The Web container calls the service() method of the servlet for every request. The service()method determines the kind of request being made and dispatches it to an appropriate method to handle the request. The developer of the servlet must provide an implementation for these methods. If a request for a method that is not implemented by the servlet is made, the method of the parent class is called, typically resulting in an error being returned to the requester. Finally, the Web container calls the destroy()&amp;nbsp;method that takes the servlet out of service. The destroy() method, like init(), is called only once in the lifecycle of a servlet. Create a simple Java Servlet public class MyServlet extends HttpServlet { &amp;nbsp; &amp;nbsp; public void doGet (HttpServletRequest req,&amp;nbsp;HttpServletResponse res) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .... &amp;nbsp; &amp;nbsp; } } Deployment descriptor (web.xml) &amp;lt;web-app&amp;gt; &amp;nbsp; &amp;lt;servlet&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-class&amp;gt;samples.MyServlet&amp;lt;/servlet-class&amp;gt; &amp;nbsp; &amp;lt;/servlet&amp;gt; &amp;nbsp; &amp;lt;servlet-mapping&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;servlet-name&amp;gt;MyServlet&amp;lt;/servlet-name&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/MyApp&amp;lt;/url-pattern&amp;gt; &amp;nbsp; &amp;lt;/servlet-mapping&amp;gt; ... &amp;lt;/web-app&amp;gt; Define three-tier architecture 3-Tier client-server architectures have 3 essential components: A Client PC&amp;nbsp; An Application Server&amp;nbsp; A Database Server 3-Tier Architecture Considerations:&amp;nbsp; Client program contains presentation logic only&amp;nbsp; Less resources needed for client workstation&amp;nbsp; No client modification if database location changes&amp;nbsp; Less code to distribute to client workstations&amp;nbsp; One server handles many client requests&amp;nbsp; More resources available for server program&amp;nbsp; Reduces data traffic on the network Define Model-View-Controller (MVC) architecture One of the most common Design Patterns is Model-View-Controller (MVC). The model does all the computational work. It is input/output free. All communication with the model is via methods. The controller tells the model what to do. User input goes to the controller. The view shows results; it is a “window” into the model. The view can get results from the controller, or The view can get results directly from the model The model, as usual, does all the computational work, and no Input / Output. The model can consist of multiple classes. The servlet class (the one that extends HttpServlet) acts as the controller. The servlet gives any relevant information from the user request to the model. The servlet takes the results and passes them on to the view. The view—that is, the HTML page that is returned to the user—is frequently created by JSP. Model: The domain-speciﬁc representation of the information on which the application operates. The model is another name for the application logic layer (sometimes also called the domain layer). Application (or domain)logic adds meaning to raw data (e.g., calculating iftoday is the user’s birthday, or the totals, taxes and shipping charges for shopping cart items). Many applications use a persistent storage mechanism (such as a database) to store data. MVC does not speciﬁcally mention the resource management layer because it is understood to be underneath or encapsulated by the Model. View: Renders the model into a form suitable for interaction, typically a user interface element. MVC is often seen in web applications, where the view is the HTML page and the code which gathers dynamic data for the page. Controller: Processes and responds to events, typically user actions, and may invoke changes on the model and view</itunes:summary><itunes:keywords>Oracle,Java,Java,Certification,Java,EE,Java,Training,list,of,java,certification,Oracle,Java,Certification,Practice,Exams,Training,for,EE,Training,for,Java,SE</itunes:keywords></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-8496221174283425977.post-7529705423009368271</guid><pubDate>Sat, 18 May 2013 16:01:00 +0000</pubDate><atom:updated>2013-05-18T09:05:07.558-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">Java Certification</category><category domain="http://www.blogger.com/atom/ns#">Java EE</category><category domain="http://www.blogger.com/atom/ns#">Java Training</category><category domain="http://www.blogger.com/atom/ns#">list of java certification</category><category domain="http://www.blogger.com/atom/ns#">Oracle Java Certification</category><category domain="http://www.blogger.com/atom/ns#">Practice Exams</category><category domain="http://www.blogger.com/atom/ns#">Training for EE</category><category domain="http://www.blogger.com/atom/ns#">Training for Java SE</category><title>Best Oracle Java Certification &amp; Training</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
The most extensive honoured IT certification programs available through Oracle Certifications bring valuable, measurable rewards to Java associate, professionals, master and expert their careers. In this article, we will guide you about Oracle certifications for Java Java programming language and technology. Also it will enhance your basic knowledge and teach you how to get started.
&lt;br /&gt;
&lt;br /&gt;
Here some of the impotent guidelines and notes for the who attend the training and who want become certified in Java Programming Technologies. &lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Why Java Certification &amp;amp; Training
&lt;/h3&gt;
The main reasons for Java Certification &amp;amp; Training is employee skills not matched to coming demand for jobs. There are six major industries IT, Education, Financial services, Business services and Heath services will provide the job for the programmers. So most of the industries will require post-secondary education and training. The real battle for the skill was started for the employee.&lt;br /&gt;
&lt;br /&gt;
Technical changes will create demand for the candidates highly educated and certified in  developing Rich user interface, application performance and security, web applications, mobile and other embedded devices.&lt;br /&gt;
So certification gives the job seekers with additional qualification and having better changes of being employed. Which means holding the Oracle certification would improve their employment opportunities.&lt;br /&gt;
&lt;h3 style="text-align: left;"&gt;
Oracle Java Training Overview
&lt;/h3&gt;
Java training classes - including Java SE 7&amp;nbsp;lessons&amp;nbsp;- that can help get beginners up to speed on Java and help experienced users become experts in Java.&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
Training for Java SE Application Development&amp;nbsp;&lt;/h4&gt;
This section will guide you to OOPs principles and the Java Programming language, so you can code smarter and develop programs more quickly. Following area must you should need to be familiar.&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Java SE 7 New Features&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Java SE 7 Fundamentals&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Java SE 7 Programming&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Java Performance Tuning and Optimization&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Developing Applications With the Java SE 6 Platform&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Object-Oriented Analysis and Design Using UML&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style="text-align: left;"&gt;
Training for Enterprise Development with Java EE&amp;nbsp;&lt;/h4&gt;
This level was designed to get you going with enterprise application development and help you become an expert on core Java EE technologies including Enterprise JavaBeans (EJB), Java Persistence API (JPA), Web Services, JavaServer Faces (JSF), JavaServer Pages (JSP).&lt;br /&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li&gt;Developing Applications for the Java EE 6 Platform&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Web Component Development with Servlets &amp;amp; JSPs, Java EE 6
Developing&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Web Applications using JSF Technologies&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Business Component Development with EJB Technology, Java EE 6&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Building Database Driven Applications with JPA&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Developing Web Services Using Java Technology, Java EE 6&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Architect Enterprise Applications with Java EE&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style="text-align: left;"&gt;
Oracle Java Certification
&lt;/h3&gt;
Oracle certifications exams and brings you the recognition for your knowledge and skills in developing Rich user interface, application performance and security, web applications, mobile and other embedded devices. Following certification are currently available.&lt;br /&gt;
&lt;h4 style="text-align: left;"&gt;
Oracle Entry level and Associate level certification&amp;nbsp;&lt;/h4&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Oracle Certified Associate, Java SE 7 Programmer.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Associate, Java SE 5/SE 6.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 style="text-align: left;"&gt;
Oracle Professional level certification&amp;nbsp;&lt;/h4&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Oracle Certified Professional, Java SE 5 Programmer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java SE 6 Programmer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java SE 7 Programmer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java EE 5 Web Component Developer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java EE 5 Web Services Developer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java EE 5 Business Component Developer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Professional, Java ME 1 Mobile Application Developer&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 style="text-align: left;"&gt;
Oracle Master level certification&amp;nbsp;&lt;/h4&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Oracle Certified Master, Java SE 6 Developer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Master, Java EE 5 Enterprise Architect&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Master, Java EE 6 Enterprise Architect&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 style="text-align: left;"&gt;
Oracle Expert level certification&amp;nbsp;&lt;/h4&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Oracle Certified Master, Java SE 6 Developer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Master, Java EE 5 Enterprise Architect&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle Certified Master, Java EE 6 Enterprise Architect&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 style="text-align: left;"&gt;
Practice Exams for Oracle Java certification
&lt;/h3&gt;
Practice tests are one of the most effective ways candidates can prepare for Oracle certification exams. Before candidates attend the exams we must test their knowledge. So that's the only way they can know their weakness, How much they can score the marks on the examination. That’s why we need the practice exam.&lt;br /&gt;
&lt;br /&gt;
I would prefer for my training and teaching, Epractize labs &lt;a href="http://www.epractizelabs.com/certification/sun/index.html" target="_blank"&gt;Java Certification&lt;/a&gt; mock exams really help candidates to self-assess their knowledge using realistic exam simulations. This training lab built on practice exam tools including: Basic and Advanced Session (knowledge level practice exam preferences), Certification Session (Prepare and got real time experience thing with simulated exams) and Quiz Mode (self check in the form of game or mind sport). And also EPractize Labs provide all Oracle certification with industrial standard.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Good luck and Be more competitive in the Job market&lt;/i&gt;&lt;/div&gt;
</description><link>http://kate-java.blogspot.com/2013/05/best-oracle-java-certification-training.html</link><thr:total>35</thr:total><author>noreply@blogger.com (Kate Java)</author></item></channel></rss>