Enterprise Java Beans Development

Course # 415 Outline
This course covers Server side Java development including, Servlets, Java Server Pages  and Enterprise Java Beans. 
Duration: 7 weeks (42 hours) Cost: $2,295 + GST

 

 

Overview of J2EE

·         Middle Tier Services. Types of clients supported.

·         J2EE Architecture. Role of J2EE server.

·         EJB Container. Transaction Management. Security. Remote Client Connectivity. Life cycle management.

·         Web Container. Components supported by web containers. Interaction with EJB container.

·         HTML. Forms to process user input. Validating.

JDBC

·         How to connect to databases in Java.

·         JDBC Drivers. Types of drivers. Responsibility.

·         ODBC Bridge. Alternative method to connect to databases. Compare with JDBC drivers.

·         Connecting to Databases. The Driver manager. Executing Queries using SQL. Java classes to use for different types of queries. Store procedures.

·         Processing Results. SQL types. Identifying most convenient way to retrieve data.

·         Database connection pooling. Minimizing number of connections open. 

Java Servlets

·         Characteristics. Generating dynamic HTML pages.

·         Servlets vs. CGI. Multiprocessing in CGI. Multithreading in Java Servlets. Advantages.

·         Basic Servlet Architecture. Managing servlets lifecycle.

·         HTTP servlets. Interacting with clients. HTTP methods and their relation with servlet methods.

·         Processing requests. The HttpServletRequest class.

·         HTTP sessions. Managing stateful sessions in the stateless HTTP. Saving states of the application.

·         Servlet Environment. Servlet engines. Configuration

·      Client-Side data and cookies. How the browser handles cookies. Domain, expire date and name of cookies. Limitations.

 

JavaServer Pages

· Advantages of JSP. Relations of JSP and servlets. Converting JSP to servlets.

· JSP Architecture. Comparing JSP to ASP. Implementing the MVC model in JSP pages.

· Including Files. Forwarding requests. Scope of objects.

· Implicit, Session, Request and Application objects

Enterprise Java Beans

· EJB architecture. Role of Enterprise Java Beans.

· Entity Beans. Relating Entity Beans to databases.

· Session Beans. Implementing business logic.

· Comparing Session Beans to Entity Beans.

Java Beans vs. Enterprise Java Beans.

· Enterprise Java Beans in a distributed environment.

· Database Access and development Phases of EJB.

Entity Beans

· Characteristics. Persistence of Entity Beans.

· Bean-Managed Persistence. Relation of EJB methods.

· Container-Managed Persistence.

· Parts of an entity bean. Home and remote interfaces.

· EJB container controlling life cycle of Entity Beans.

· Deployment. Specifying transaction management.

Session Beans

· Characteristics of Session Beans. Representing clients inside the J2EE server.

· Home and Remote Interfaces. Session Bean class. Stateful Session Beans. Retaining the state of the client.

· Stateless Session Beans. Support for multiple clients.

· Life Cycle of Session Beans. Role of the container.

· Stateful vs. Stateless session beans.

Putting it all together

      · The Server-Side Development Environment.

  • Developing the Java Server Side Application.  

  • Architecture of a J2EE application. Linking Entity Beans to Session Beans and JavaServer Pages.

  • Deploying the J2EE application.