Logo DATA DELIVERANCE
Fish Sign Home About Contact Services Products Courseware Training Fish Sign

Enterprise JavaBeans™

Current Version: 2.1
Click for printer-friendly version
Summary

This course offers the Java programmer a grounding in the Enterprise JavaBeans (EJB™) architecture and the skills to develop EJBs effectively for enterprise development efforts. EJBs position at the heart of the Java Enterprise platform and the use of EJB application servers as the backbone of large-scale distributed systems are studied. We consider the advantages of the application server architecture transaction control, security, persistence, scalability through pooling and clustering and study the development process for entity and session beans in depth. The J2EE reference implementation is used for all demo and lab work, and we emphasize portable EJB 2.1 code.

The focus for the first module is on end-to-end connectivity. The module follows a path roughly from the data layer to the presentation layer, so we look at entity beans first, and work demos and exercises in both Bean-Managed and Container-Managed Persistent Beans. Then the EJB session layer is considered, and both stateless and stateful session beans are developed. As part of the lab work, these are hooked to provided JSPs to illustrate the complete system and typical architecture.

NOTE: PGJ-107 Java Server Pages and PGJ-108 Java Servlet Programming courses are excellent companions to this course, and in fact the primary lab track for this module is an extension of the Java Server Pages modules labs.

Students then proceed to the second module, which begins with some 2.x-specific features, such as message-driven beans and the features of 2.x container-managed persistence. Two EJB applications are connected via JMS messaging, one sending messages with raw JMS code, and one using a message-driven bean to receive and handle those messages by updating an accounting database. Design implications of CMP are discussed, as are the new capabilities for EJB design: home and select methods.

Students then move on to study declarative and programmatic transaction control. The EJB security architecture is also considered, and a simple role-based authorization design applied to the courses main lab project. A short chapter on exception handling in EJB clarifies the standards for exception propagation and transaction control.

The next chapter introduces the new features in EJB 2.1 for implementing SOAP-based Web services, using the JAX-RPC mappings between Java and WSDL. Also new for 2.1, there is a short chapter on using the EJB timer service. The course concludes with a chapter on best-practice EJB development: optimizations, design patterns and implementation techniques.

Prerequisites
Prerequisites: Solid Java programming experience is a must. PGJ-131 Java 2 Programming is good preparation for this module. Some experience with distributed systems development, especially object-based systems such as Java RMI, CORBA, or COM is a plus. Some knowledge of JDBC is helpful in understanding the EJB persistence model. Understanding of XML is a plus but is not needed.

Course Objectives
On completion of this course, the student should be able to
Length
5 Days

Format
Instructor-led course, with practical computer-based exercises.

Course Outline

Hardware and Software Requirements

This course requires the J2EE 1.4 reference implementation, which in turn requires J2SE 1.4. Full documentation for both platforms is highly recommended. No IDEs are used in the demos and labs, but students may supply their own.

A graphical web browser is needed to demonstrate and test code any recent version of Netscape or Explorer will be fine. Netscape Navigator 4.7 is used in the book and demonstrations, so this would be an excellent choice.


Go to course catalogue

Oracle and Java are registered trademarks of Oracle and/or its affiliates. PL/SQL and SQL*Plus are trademarks or registered trademarks of Oracle Corporation. Microsoft is either a registered trademark or trademark of Microsoft Corporation in the United States and/or other countries. MVS is a registered trademark of the International Business Machines Corp. in the U.S. or other countries or both. Motif, OSF/1, UNIX, and the "X Device" are registered trademarks and IT DialTone and The Open Group are trademarks of The Open Group in the U.S. and other countries. All other trademarks are the property of their respective owners.

For comments or problems, please mail webmaster@datadeliverance.com