Training
  + Request a Consultant Call
  + 91 495-6573966
Home
Students Login
Registration
Enquiry
Search by Keyword / Course
search
     
Course We Offer  
Project Topics  
Seminar Topics  
Freshers World  
Framed Intellectuals  

Web Component Development With Servlet and JSP Technologies

JavaServer Pages (JSP page) technology and servlets are the key web-tier technologies defined in the Java Platform, Enterprise Edition (Java EE platform). The Web Component Development With Servlet and JSP Technologies course provides experienced developers of Java technology applications the knowledge and skills to quickly build web applications from JSP page and servlet technologies using the Sun Java System Application Server, and the Apache Struts framework. Students are exposed to the current methods for analyzing, designing, developing, and deploying web applications with Java technologies. Lab exercises provide students with experience in constructing and deploying the small-to-medium scale web applications found in intranet and low-volume commercial sites. The course features the Java EE 5 technology, and uses the Java EE 5 SDK. The students perform the lab exercises using the NetBeans/Ecplipse Integrated Development Environment (IDE) 5.5. This course is also an ideal method of preparing for the revised Sun Certified Web Component Developer (SCWCD) for Java EE 5 certification examination. However, an SCWCD candidate should also spend six months building web applications using the JSP page and servlet technologies before taking the exam.

Who Can Benefit

Developers with skills equivalent to that of a Sun Certified Java Developer, who are creating web components (such as servlets and custom tags), can benefit. This is not a course for web page designers using Hypertext Markup Language (HTML), JavaScript technology, or other web presentation technologies.

Prerequisites

To succeed fully in this course, students should be able to:

  • Write Java technology applications, demonstrating significant programming ability
  • Integrate existing Java code (for example, reuse existing classes created by other team members)
  • Design Java technology applications
  • Functionally describe the benefits of an n-tier architecture
  • Write a web page using HTML
Skills Gained

Upon completion of this course, students will be able to:

  • Write servlets using the Java programming language (Java servlets)
  • Create robust web applications using Struts, session management, filters, and database integration
  • Write JSP pages
  • Create easy to maintain JSP pages using the Expression Language, JSP Standard Tag Library (JSTL), and the Struts Tiles framework
  • Create robust web applications that integrate Struts and JSP pages
Related Courses

Before:

  • Java Programming Language
  • Java Programming Language Workshop

After:

  • Developing JavaServer Faces Components with Ajax
Course Content
Part I

Module 1 – Introduction (2 hour)

  • Why Swing?
    • AWT, SWT & Swing Comparison
    • Why Model–View–Controller?
    • Pluggable Look-and-Feels
    • Applets
    • Java web start
  • Hello World in Swing
  • Sample UIs

Module 2 - Developing a View Component (3 hour)

  • Design a view component
  • Describe the Hypertext Transfer Protocol
  • Describe the web container behavior
  • Develop a simple HTTP servlet
  • Configure and deploy a servlet

Module 3 - Developing a Controller Component (3 hour)

  • Design a controller component
  • Create an HTML form
  • Describe how HTML form data is sent in an HTTP request
  • Develop a controller servlet
  • Dispatch from a controller servlet to a view servlet

Module 4 - Developing Dynamic Forms (3 hour)

  • Describe the servlet life cycle
  • Customize a servlet with initialization parameters
  • Explain error reporting within the web form
  • Repopulating the web form

Module 5 - Sharing Application Resources Using the Servlet Context (3 hour)

  • Describe the purpose and features of the servlet context
  • Develop a servlet context listener to initialize a shared application resource

Module 6 - Designing the Business Tier (3 hour)

  • Describe the Analysis model
  • Design entity components
  • Design service components

Module 7 - Developing Web Applications Using Session Management (6 hour)

  • Describe the purpose of session management
  • Design a web application that uses session management
  • Develop servlets using session management
  • Describe the cookies implementation of session management
  • Describe the URL-rewriting implementation of session management

Module 8 - Using Filters in Web Applications (3 hour)

  • Describe the web container request cycle
  • Describe the Filter API
  • Develop a filter class
  • Configure a filter in the web.xml file

Module 9 - Integrating Web Applications With Databases (3 hour)

  • Map sample data structure into database entities
  • Design a web application to integrate with a DBMS
  • Configuring a DataSource and Java Naming and Directory Interface (JNDI) API

Module 10 - Developing JSP Pages (4 hour)

  • Describe JSP page technology
  • Write JSP code using scripting elements
  • Write JSP code using the page directive
  • Write JSP code using standard tags
  • Write JSP code using the Expression Language (EL)
  • Configure the JSP page environment in the web.xml file

Module 11 - Developing JSP Pages Using Custom Tags (3 hour)

  • Describe the Java EE job roles involved in web application development
  • Design a web application using custom tags
  • Use JSTL tags in a JSP page

Module 12 - Building Reusable Web Presentation Components (3 hour)

  • Describe how to build web page layouts from reusable presentation components
  • Include JSP segments
Part II

Struts:-

Module 1 – Introduction (1 hour)

  • An introduction to Struts
  • Building a simple Struts application
  • The Model layer

Module 2 - Struts Architecture (1 hour)

  • The View layer
  • The Controller layer
  • Validator

Module 3 - Applying Struts (2 hour)

  • Tiles
  • Declarative exception handling
  • Internationalizing Struts applications
Module 4 - Extending Struts (2 hour)
  • Using the Struts Tag Libraries and JSTL
  • Securing and testing Struts applications
  • Best practices

Module 5 - Developing a Web Application Using Struts (4 hour)

  • Design a web application using the Struts MVC framework
  • Develop a Struts action class
  • Configure the Struts action mappings

Module 6 - Developing Web Applications Using Struts Action Forms (4 hour)

  • Describe the components in a Struts application
  • Develop an ActionForm class
  • Develop a JSP page for a View form
  • Configure the View forms

Module 7 - Building Reusable Web Presentation Components (2 hour)

  • Develop layouts using the Struts Tiles framework
Part III

Hibernate:-

Module 1 - Introduction to mapping objects to relational databases (1 hour)

Module 2 - Introduction to Hibernate (1 hour)

Module 3 - Hibernate development environment (1 hour)

Module 4 - Database connecting and schema generation (3 hour)

Module 5 - Creating persistent classes (2 hour)

Module 6 - Working with collections (1 hour)

Module 7 - Using persistent objects (1 hour)

Module 8 - Hibernate query language(4 hour)

Module 9 - Hibernate caching (2 hour)

Module 10 - Hibernate transactions and locking (2 hour)

Module 11- J2EE and Hibernate(1 hour)

Module 12 - Hibernate and DAO design pattern(3 hour)

Module 13 - Hibernate and XDoclet (3 hour)

Module 14 - Hibernate interceptors. (3 hour)

Part IV
Spring:-

Module 1 -  Overview (1 hour)

  •  Prerequisite software
  •  The application we are building

Module 2. Basic Application and Environment Setup (3 hour)

  • Create the project directory structure
  • Deploy the application to Tomcat
  • Download and Install the Spring Framework
  • Create the Controller
  • Create the View
  • Compile and deploy the application
Module 3. Developing and Configuring the Views and the Controller (3 hour)
  • Configure JSTL and add JSP header file
  • Improve the controller
  • Decouple the view from the controller

Module 4. Developing the Business Logic (2 hour)

  • Review the business case of the Inventory Management System
  • Add some classes for business logic

Module 5. Developing the Web Interface (3 hour)

  •  Add reference to business logic in the controller
  • Modify the view to display business data and add support for message bundle
  • Add some test data to automatically populate some business objects
  • Add the message bundle and a 'clean' target to 'build.xml'
  • Adding a form
  • Adding a form controller

Module 6. Implementing Database Persistence (3 hour)

  • Create database startup script
  • Create table and test data scripts
  • Add Ant tasks to run scripts and load test data
  • Create a Data Access Object (DAO) implementation for JDBC
  • Implement tests for JDBC DAO implementation

Module 7. Integrating the Web Application with the Persistence Layer (4 hour)

  • Modify service layer
  • Fix the failing tests
  • Create new application context for service layer configuration
  • transaction and connection pool configuration to application context
  • Final test of the complete application
Nex Blog
 
OpenCms 7.0.3 Available Nov 7,2007 - OpenCms version 7.0.3 is now available for download. With this version, a number of issues that persisted in the 7.0.2 release have been fixed. Some new feature have been added as
 
Nex Wiki
 
OpenCms 7.0.3 Available Nov 7,2007 - OpenCms version 7.0.3 is now available for download. With this version, a number of issues that persisted in the 7.0.2 release have been fixed. Some new feature have been added as
 
Nex Forum
 
OpenCms 7.0.3 Available Nov 7,2007 - OpenCms version 7.0.3 is now available for download. With this version, a number of issues that persisted in the 7.0.2 release have been fixed. Some new feature have been added as
 
© Copyright Nexegen Consultancy 2004-2009