Java Enterprise (J2EE) Development

The Java 2 Platform, Enterprise Edition is a sophisticated suite of enterprise APIs that enable you to write robust, scalable and multi-user software deployments.

Overview

Developing enterprise applications requires an understanding of many technologies.  This course is designed to cover a multitude of concepts with the major parts of the Java 2 Enterprise Edition (J2EE) platform covered.  The Java 2 Platform, Enterprise Edition is a sophisticated suite of enterprise APIs that enable you to write robust, scalable and multi-user software deployments.

Major topics covered:

  • Java Database Connectivity (JDBC)
  • Java Naming and Directory Interface (JNDI)
  • Java Native Interface (JNI)
  • Servlets
  • Enterprise JavaBeans (EJB)
  • Java Transaction API (JTA)
  • Java Messaging Service (JMS)
  • XML with Java
  • JINI

Audience

This course is intended for developers, managers and administrators who need to design and develop dynamic and re-usable server side Java applications.

In order to understand topics presented in this course, you must understand the Java Language.  You should have completed an introductory class in Java Programming or an equivalent course with some experience using Java.

Length

40 hours

Outline

JDBC (Java Database Connectivity)

  • Goals
  • Architecture
  • Connecting to a Data Source
  • Examining a Data Source
  • Accessing the Database
  • Fetching Data
  • Handling Data
  • Putting it Together
  • Summary

JNDI (Java Naming and Directory Interface)

  • Terminology
  • Goals for JNDI
  • JNDI Architecture

JNI (Java Native Interface)

  • Overview
  • Goals of JNI

Servlets

  • Three tier architecture
  • Response
  • Request
  • Bean Access
  • Persistence
  • Form Access
  • Headers
  • Status
  • Cookies
  • Replacement
  • JSWDK Server

JavaServer Pages (JSP)

  • Server-Side Scripting
  • How JavaServer Pages Work
  • Basic Java in a JSP
  • Changing a Page’s Servlet Class Definition
  • Accessing Other Servlets
  • Handling Interrupts

Enterprise JavaBeans (EJB) Overview

  • Enterprise Beans
  • Overview of EJB Container
  • Security
  • Load Balancing
  • Connection Pooling
  • Configuration

Developing Enterprise JavaBeans

  • J2 EE Severs
  • Understanding Session Beans
  • Understanding How to Call Session Beans
  • The Basics of Stateless Session Beans
  • The Basics of Stateful Session Beans

Introduction to Entity Beans

  • Persistence Concepts
  • What Is an Entity Bean?
  • Features of Entity Beans
  • Developing and Using Entity Beans
  • Entity Contexts
  • Putting It All Together: Walking through an Entity Bean Life Cycle
  • Writing Container-Managed Persistent Entity Beans
  • Writing Bean-Managed Persistent Entity Beans

Writing Container-Managed Persistent Entity Beans

  • Implementation Guidelines for Container-Managed Persistence
  • Persistence
  • Activate
  • Pasivate

Java Transaction API (JTA)

  • Transactions in Java
  • Transaction Options

Java Messaging Service (JMS)

  • Java Messaging Service
  • JMS Fundamentals
  • Point to Point Messaging
  • Publish-Subscribe Messaging
  • Distributed Transactions with JMS Providers
  • Example

XML with Java

  • XML Review
  • DOM
  • SAX
  • Translation (to HTML)

JINI

  • Java Space
  • Transactions
  • Leases
  • Registration