Mentor Communications

Our Courses

Our Clients

Contact Us

Home

J2EE

 Introduction

The Model-View-Controller design pattern

Web Application overview

         Roles in development and administration

         The J2EE Container

         The deployment descriptor

Enterprise JavaBeans

 Introduction

            A brief history of distributed systems

      Three-tiered systems

      Transaction Processing Monitors and Component Transaction              Monitors

Three approaches

      Microsoft COM+

      CORBA

      EJB

Overview of EJB

      Session Beans - stateful vs. stateless

      Entity Beans - CMP vs. BMP

      Transactions

      EJB-compliant Servers

      The issue of state

      Persistence

Developing a distributed application

      First example - Sockets

      Second example - RMI

The development environment - JRun, J2EE SDK

 Session Beans

The Home Interface

The Remote Interface

The EJ Bean

The Deployment Descriptor

The Client code

      JNDI - Java Native Directory Interface

Stateless Session Beans

      Lifecycle

Stateless Session Beans

      Lifecycle

Exceptions

 Entity Beans

Container-managed persistence vs. Bean-managed persistence

The Home Interface

The Remote Interface

The Primary Key

The EJ Bean

The Deployment Descriptor

The Client code

Lifecycle of Entity Beans

Mapping to databases

      JDBC

 Container-Managed Persistence (CMP)

The Home Interface

      find methods

The Remote Interface

      set and get methods

The Primary Key

      Serializable

The EJ Bean

      create methods

EntityContext

Create and PostCreate

Deployment and client code

 Bean-Managed Persistence (BMP)

Advantages and disadvantages

ejbStore( ) and ejbLoad( )

ejbRemove( )

ejbFind( ) methods

Deployment

 Transactions

Transaction Basics - ACID

Transaction Attributes

      TX_NOT_SUPPORTED

      Container-Managed Transactions (CMT)

            TX_SUPPORTS

            TX_REQUIRED

            TX_REQUIRES_NEW

            TX_MANDATORY

      Bean-Managed Transactions (BMT)

            TX_BEAN_MANAGED

Isolation Levels


Servlets

 Introduction

Introduction to HTML and forms

An overview of HTTP POST and GET

The HTTPServlet class

The HTTPServletRequest class

The HTTPServletResponse class

 Redirection

Session Management

State and HTTP

The Cookie class

The Session class

 Integrating Servlets with Enterprise Java Beans

Java Server Pages

 Introduction

Relationship with servlets and Web Applications

 JSP Directives

page

include

taglib

JSP Actions

UseBean

JSP Declarations and Expressions

Variables

Methods

 JSP Scriplets

 Implicit Objects

 Integrating with servlets and EJBs