| Course Abstract: |
This course provides information that will allow participants to feel comfortable creating, testing and debugging enterprise applications that conform to the Java EE 5 specification. They will gain experience entering annotations directly into Java source files, and the Java EE server will configure the component at deployment and runtime and perform dependency injection for resources that a component needs, effectively hiding the creation and lookup of resources from application code. They will also use the Java Persistence API for object/relational mapping and managing relational data in enterprise beans, web components, application clients or Java SE applications. The concepts taught in this course are reinforced by hands-on lab exercises using Rational Application Developer v7.5.x (RAD).
|
| Course Topics: |
Java EE 5 Architecture Overview EJB 3 objects are POJO classes with simplified interfaces and exceptions Annotations can replace complex deployment descriptors Dependency injection replaces most lookups Default values may be omitted New Persistence architecture replaces entity beans Comprehensive database Object Relational Mapping Interceptors provide aspect oriented benefits Comparison to Spring, AspectJ, Hibernate
Enterprise JavaBean EJB 3 Basics Dependency Injection Session Beans – Stateful, Stateless, Web Service Message Driven Beans - Asynchronous listener for messaging types Interceptors – Aspect oriented wrappers Persistence API – replaces entity beans Annotations – life cycle, bean types, references, security, timer
Stateless Session Bean Development Session bean life cycle management SessionContext Session bean interfaces and annotations Creation, invocation and removal of session objects EJB3 development process Deployment descriptors
EJB Clients: Basics How EJBs are accessed by different types of clients Examine EJB client code Annotations for local, remote and service references
RAD: Tools Projects, Perspectives, Wizards, Preferences, Views Content assist, As-you-type validation, Quick Fixes, Refactoring Server Profiles, Testing, Debugging
Java Naming and Directory Interface Naming and directory services concepts JNDI architecture Locating objects using a JNDI lookup and annotations
RMI over IIOP and Object Serialization RMI/IIOP architecture Remote interfaces and implementation classes How RMI/IIOP is related to EJB technology
JAX Web Services WSDL, Ports, JAX-RPC, Handlers HTTP and JMS router modules Web Service annotations
RAD: Development, Testing and Debugging EJBs Wizards Universal Test Client Web Services Explorer
Stateful Session Beans Life cycle annotations and callbacks Activate and Passivate Locating and removing instances
Interceptors Annotations for before and after invoke Invocation Context Interceptor bindings in ejb-jar.xml
JPA Entity Manager Persistence POJO JPA annotations Object-relational mapping Named queries Relationships and Collections Persistence Context and Persistence Unit EntityManager Entity detachment and merging
RAD: Data Perspective Data Projects and Diagrams Data Source Explorer
RAD: Persistence Tools EJB 3.0 modeling Defining and editing object-relational mappings JPA entities Top-down and Bottom-up mapping Simplified creation of different types of mappings Adding JPA Facet to a plain Java project Integration of the JPA Details view and the Annotations view
JPA Query Language Statements Expressions Functions Queries Relationships
Transaction Management Transaction Demarcation Transaction Attributes and Annotations Isolation levels Access intent
RAD Manager Beans IBM JPA Manager Beans Bean managed transactions Container managed transactions
Entity Inheritance Table mapping Inheritance annotations Entity subclasses Persistence.xml
Message-Driven Beans JMS architecture Message-driven beans characteristics, capabilities and lifecycle MessageDrivenContext Activation specification Message-driven bean annotations, development and clients RAD Message Bean Wizard WAS Administration Console Service Integration Buses and Queues
EJB Timers Timer usage, creation and cancellation Timer Service interfaces and annotations How transactions affect timers
WebSphere Security Overview Roles and constraints Method Permissions Security annotations
Application Assembly and Packaging Java EE packaging structure IBM extensions and bindings Deployment descriptors
Deploying to WebSphere WebSphere Application Server Architecture Integrated Solutions Console Application deployment and configuration steps
Java EE Design Patterns Design patterns benefits Common Java EE design patterns
|