Course description: J2EE (Servlet, JSP, EJB) Design and Development using JBoss and Eclipse

Duration:

 5 Days

Level:

 Advanced

 

Format: hands-on 50%

Price:  $2,300

 

Description:

 

J2EE is revolutionizing how the server-side business solutions are built and made to play with the web. This intensive course teaches you how to build J2EE applications (Servlets, JSPs, and EJBs) with Open source JBoss application server and Eclipse IDE.

 This course starts with the architectural design of J2EE and JBoss. The Eclipse IDE workbench features will be covered to understand how to build J2EE applications. Topics covered include:

 

1.       Introduction to J2EE Architecture

2.       Servlet Fundamentals

3.       Advanced Servlets and Session Management

4.       Servlet Filters

5.       JSP

6.       JSP Custom Tags

7.       Deployment of J2EE Application on JBoss

8.       Enterprise Java Beans

9.       EJBs in JBoss

10.   Session EJBs – Stateless and Stateful

11.   Entity EJBs

12.   EJB Development

13.   Java Messaging Service (JMS)

14.   J2EE Design Patterns

 Each topic is thoroughly explained in lectures and the concepts are reinforced by extensive hands-on labs.

 

Contents:

 

 1.       Introduction to J2EE Architecture

o        What is J2EE?

o        J2EE Architecture

o        J2EE Application Components

o        J2EE Protocols

o        Development phases of a J2EE Application

o        Web Application development with Eclipse

 2.       Servlet Fundamentals

o        HTTP protocol revisited

o        Servlets and Servlet class instances Life Cycle

o        Core Servlet Interfaces and classes

o        HTTP Servlet Interfaces

o        Steps of Servlet request/response via HTTP

o        Servlets versus sockets/CGI versus CORBA/IIOP versus Session EJBs

 3.       Advanced Servlets and Session Management

o        HTTP request headers

o        HTTP response headers

o        Cookies

o        Hidden Fields and URL rewriting

o        HTTP session

 4.       Servlet Filters

o        Examples of using filters

o        APIs and Lifecycle

o        Configuration and basic steps for creating filters

o        Using filters to modify request and response

 5.       JSP

o        JSP concept

o        JSP syntax – comments, expression, scriptlets, declarations, page directive

o        JSP and servlet

o        JSP and beans with request, page, session, application scope

o        Handling errors with JSP pages

o        Forwarding with JSPs

o        JSP and applets

 6.       JSP Custom Tags

o        Defining tags structure, Tag handler class, tag library descriptor file

o        Types of tags

-          Simple tags

-          Tags with attributes

-          Tags with body

-          Nested tags

-          Cooperative tags

o        Complete programming steps for each type of tag

o        Interactions with Tag handler class (Life cycle)

o        Flow for translation of a JSP with custom tags to a HTML page

 7.       Deployment of J2EE Application on JBoss

o        Packaging and Deployment Descriptors

o        Deployment lifecycle

o        Editors for Deployment Descriptors

 8.       Enterprise Java Beans

o        Introduction to EJB

o        EJB specification

o        EJB Server

o        Types of EJBs

o        Deployment of EJBs

 9.       EJBs in JBoss

o        EJB support in JBoss

 10.   Session EJBs

o        Characteristics

o        State Diagram

o        Lifecycle

o        Stateless and Stateful EJBs

o        Programming Session EJBs - methods to implement

o        Pooling and Scalability issues

 11.   Entity EJBs

o        Comparison with session EJBs

o        State Diagram

o        Lifecycle

o        Pooling and Scalability issues

o        Programming CMP Entity EJBs - methods to implement

o        Finder methods

o        Various EJB to database mappings - Top down, Meet in the middle, bottom up

 12.   EJB Development

o        EJB Wizards

o        Generating Enterprise Application Projects

o        Generating Session beans

o        Generating Entity EJB with CMP

o        Mapping CMP Fields onto Database Columns

o        EJB relationships

o        Deploying EJBs into JBoss

o        Testing with UTC clients

 13.   Java Messaging Service (JMS)

o        JMS architecture

o        Messaging models - point to point and publish/subscribe

o        Message Driven Beans (MDB) – develop, deploy and run in JBoss

 14.   J2EE Design Patterns

o        Model-View-Controller

o        Value Object

o        Session façade

o        Local Entities

o        Front Controller

o        Command

o        Fast Lane reader

o        Message Bean

 

Hands-On Labs

 

Lab 1: ExWebApp: Introduction to Eclipse and JBoss

-          Learn IDE features and create a sample Java project and run it in the Eclipse IDE.

-          Learn how to use classes from external jar file

-          Learn how to run a web application

Lab 2: ExServlet: Create, deploy, and run servlets

-          Learn how to program a Servlet, deploy it to a J2EE Application Server and invoke its methods

-          Explore the life cycle methods of a servlet

-          Understand the purpose and methods of various servlet interfaces

 Lab 3: ExSession : Managing Servlet Session

-          Learn how to maintain sessions across requests processed by a servlet.

-          Learn how to use URL rewriting (manually appending params to URL) for maintaining a session.

-          Learn how to use Hidden Fields for maintaining a session.

-          Learn how to use Cookies for maintaining a session.

-          Learn how to use HttpSession interface for maintaining a session.

 Lab 4: ExServletFilter: Use ServletFilters to modify Servlet request/ response

-          Learn how to develop a Servlet Filter

-          Learn how to modify the request message

-          Learn how to modify the response generated by the resource

-          Learn how to block the normal execution of filter chain

Lab 5: ExJSP: Create, deploy, and run Java Server Page Application

-          Learn how to program Java Server Pages, deploy it to a J2EE Application Server and invoke its methods

-          Explore the various elements of JSP such as expression, declaration, scriplet and standard objects

-          Understand the purpose of JavaBean and use of it in JSP

 Lab 6: ExCustomTag: Create, deploy, and run JSP with Custom Tag

-          Learn how to develop and use JSP custom tag library for a database application

-          Design and use custom tags of different types:

o        Simple tags – with no attributes and no body

o        Tags with attributes

o        Tags with body

o        Nested tags

o        Cooperative tags that share object

Lab 7: ExStatelessEJB: Lifecycle, performance, deployment of Stateless EJB

-          Learn how to refer utility jars in Eclipse IDE

-          Observe the Lifecycle of a Session Bean

-          Learn how to implement an EJB client using IDE

o        Running the client

o        Packaging as a J2EE client

-          Study EJB performance in various scenarios.

o        Two method calls on same EJB from our client

o        Lots of creates and removes (no method calls)

o        Lots of creates but no remove

-          Exporting the J2EE application with EJBs from IDE

 

Lab 8: ExStatefulEJB: Lifecycle and deployment of Stateful EJB

-          Learn how to implement a Stateful Session EJB

-          Understand how Stateful Session EJB differs from Stateless session EJB

-          Learn how state is maintained between invocations

-          Learn about 1-to-1 association between client and Stateful Session EJB

Lab 9: ExEntityCMP: Lifecycle and deployment of Entity EJBs

-          Using the Eclipse IDE, create an Entity EJB

-          Creating Container Managed Entity beans

-          Understand the life cycle of Entity Bean

-          Understand the mapping with Relational Database

-          Create database and table with respect to Entity Bean

-          Adding and finding the data

-          Invoking method calls from Web Client and Application Client

Lab 10: ExJMS: Develop Message-Driven Beans

-          How to configure application server for MDB

-          Develop, deploy, and test Message-Driven Beans

 

Prerequisites:

Experience in OOAD concepts required. Development experience in Java programming language required. Familiarity with some IDE is desirable. Advanced Java concepts such as Threads, RMI, Exceptions, JDBC, Serialization desirable. Prerequisites can be satisfied by taking AvantSoft courses “Java Programming using Eclipse” or “Advanced Java Programming using Eclipse”.

 


Public Classes Are Available At UNICOMP, Inc Locations Or On Site Private Class, Upon Your Request.


Home     AIX     CITRIX     DB2     IBM HACMP     i-Series & IBM AS/400     Java     Linux, Unix, & Open Source    Lotus Notes
 

MQ Series     Rational     Storage Networking     Tivoli     Websphere     z Series & OS/390

Copyright © 1989-2007 Unicomp, Inc. All Rights Reserved Webmaster