![]() |
Home | ![]() |
My Account | ![]() |
Courses & Pricing | ![]() |
Schedules | ![]() |
FAQ | ![]() |
Inquiry | ![]() |
Contact Us | ![]() |
Bharats web site and name came up after a search through Google. I emailed him and set up my first appointment. I was impressed, he covered the topics I was having problems with, and in a manner I could easily understand.
Rose India servlet training is provided to develop server-side applications using servlets for control and flow of e-business applications. This Servlet Training course will enable you to build servlets according to Servlet 2.3 specification and integrate servlets into a complete Java EE application. Besides the trainee will be able to access and manipulate databases from a servlet and maintain user session information. So enroll today for Rose India's Servlet Training course.
Course Details:
Course 1:
Understanding Java Servlets
- 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
Course 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.
Course 3:
Session management
- About Session
- Understanding state and sessions
- About HTTP
- Session Tracking methods:
- Hidden Form Fields:
- Cookies
- About cookie
- Creating Cookie
- Add Cookie to the response
- Get Cookie from the request
- More methods of cookie object
- Understanding the benefits and drawbacks of cookies
- URL Rewriting
- About URL rewriting.
- Understanding the benefits of URL rewriting.
- Session Tracking API:
- Obtaining a session object
- Setting information to the session
- Getting information from session
- Deleting information from session
- 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
- Synchronizing block of code
- Synchronizing method
- Using SingleThreadModel interface
Course 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 pre-processing
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 Request Dispatcher to handle exceptions.
Course 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



