Core Java| JSP| Servlets| XML| EJB| JEE5| Web Services| J2ME| Glossary| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials:
 

Software Solutions and Services
 

 
  JDO Tutorials
  EAI Articles
  Struts Tutorials
  Java Tutorials
  Java Certification
  Java Applet
Questions
Comments
 
Servlet Training Overview 
 

Our course is specially designed for the engineering graduates, who want to make a career in the Software development field. We even assist the IT ?professionals who want to shift on to the java software developments. Software companies take our services

 

Servlet Training Overview

                 

Duration: 5 days 

Our course is specially designed for the engineering graduates, who want to make a career in the Software development field. We even assist the IT –professionals who want to shift on to the java software developments. Software companies take our services to train their fresh engineers. 

Servlets Course duration is of the 5 days and during the training period we provide them expert training and hands on exercise to really master the Server-Side Technologies like Servlets. 

This training session aims to teach the beginners to develop database-driven Web applications using Servlets. 

Location: Onsite or at our premises 

Prerequisites to learn Servlets 

  • Knowledge of HTML

  • A prior knowledge of object-oriented or object-based programming,

  • Windows 2000,Xp or above

  • Java SE SDK, version 1.5.0 or later

  • Web Server - Tomcat 5.0 or later

  • Knowledge of SQL and other relational databases.

  • This class is 60% hands-on, 40% lecture

Hands-on / Lecture Ratio:

Course Content day wise:

Day 1:

Understanding Java Serlets 

  • What are Servlets ? Servlets Vs Applets.
    • Comparing Servlets with the CGI scripts
    • How servlets fits in the distributed environments.
  • What is a web application?
    • Role of a web application server. 
    • What does a Webserver do?
  • What are Servlet Containers?
    • How does it Handles the HTTP Requests? 
    • Tomcat web server: Understanding Servlet Containers.
  • Architecture of servlet package
    • Advantages the Servlet API 

Structure and deployment 

  • Directory structure of a web application 
    • Understanding the document root directory 
    • Understanding the WEB-INF directory 
    • The web archive (WAR) file 
    • Difference between jar & war files? 
    • Configuring a web application. 
  • The deployment descriptor: an overview 
    • A simple deployment descriptor 
    • Using the <servlet> element 
    • Using the <servlet-mapping> element 
    • Mapping a URL to a servlet 

Day 2 : 

The Servlet model 

  • Sending requests.
    • Web browsers and HTTP methods.
    • Comparing HTTP methods.
  • Servlet life cycle
    • Loading and instantiating a servlet.
    • Initializing a servlet. 
    • Servicing client requests. 
    • Destroying a servlet . 
    • Unloading a servlet. 
    • Servlet state transition from the servlet container's perspective. 
  • ServletConfig
    • Define Servlet Config
    • ServletConfig methods 
  • ServletContext:
    • Sharing the data (attribute scopes) 
    • Coordinating servlets using RequestDispatcher 
    • Redirect Vs RequestDispatcher. 

The servlet container model 

  • Initializing ServletContext 
  • Listeners
    • Understanding application events and listeners.
    • ServletContextListener 
    • HttpSessionAttributeListener etc 
  • Web applications in a distributed environment. 

Day 3 : 

Session management

  • About Session
    • Understanding state and sessions 
  • About HTTP 
  • Session Tracking methods:
    • Hidden Form Fields:
  • Cookies
    1. About cookie 
    2. Creating Cookie 
    3. Add Cookie to the response 
    4. Get Cookie from the request 
    5. More methods of cookie object 
    6. Understanding the benefits and drawbacks of cookies 
  • URL Rewriting
    • About URL rewriting.
    • Understanding the benefits of URL rewriting. 
  • Session Tracking API:
    1. Obtaining a session object
    2. Setting information to the session
    3. Getting information from session 
    4. Deleting information from session
    5. Invalidating session
Developing thread-safe servlets
  • Understanding the multithreaded servlet model
  • Understanding the single-threaded model
  • Variable scopes and thread safety
  • Attribute scopes and thread safety Context scope 
    • Context scope 
      Session scope 
      Request scope

  • Creating thread safe servlet
    1. Synchronizing block of code
    2. Synchronizing method
    3. Using SingleThreadModel interface
Day 4: 

Servlet Filters 
  • Filter and Servlet
             
    Filter Life Cycle
    Processing filters 
    Programming Filters
             
  • Configuring Filters
           
    Declaring Filter
    Declaring Filters with initialization parameter 
    Declaring Filter mapping to a URL pattern
    Declaring Filter mapping to a servlet name
              
  • Container's rule for ordering filters 
            
    Using filters to do preprocessing
    Using filters to block response 
    Using filters to modify response
    Programming Customized Requests and Responses

Handling server-side exceptions 

  • Handling exceptions programmatically 
  • Handling exceptions declaratively 
  • Using declarative exception handling 
  • Using RequestDispatcher to handle exceptions. 

Day 5 : 

Accessing Databases with JDBC 

  • Overview of JDBC technology
  • JDBC drivers 
  • Basic steps in using JDBC 
  • Retrieving data from a ResultSet 
  • Using prepared and callable statements 
  • Handling SQL exceptions

Note: This outline presumes that Apache Tomcat will be used to execute the servlets. However, all code taught will run on any Java platform, including BEA WebLogic, and IBM WebSphere.

Check Training Schedule and Apply Now!!

It Training Inquiry Form
Name:*
Your E-Mail:*
Phone:*
Company:*
Country:*
Your Requirement:*

                 

» View all related tutorials
Related Tags: java c ajax excel apache web api open-source jsp development ssis framework application struts io servlet user sed users packages

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Website Designing Services
 
Web Designing Packages From $150!
 
Website Designing Company Web Hosting
 
Website Designing Quotation
 
Search Tutorials:

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.