JavaEE Logo

Goals


- Master the development of EJB 3 - Manage the performance of a distributed application

- Set up a complete JEE architecture

Program

JEE specifications: components, containers
Principle of n-tier architectures (distributed applications), solutions
Annotations
Presentation of EJBs: history and versions
Life cycle of EJBs
Application servers: JBoss, GlassFish, WebSphere, …

Choice of the development environment (Eclipse / Netbeans), available plugins
Installation of the runtime environment, specific contributions to each container
Structure of a web module based on EJBs, packaging and deployment
Reminders on servlets and JSPs (chaining, persistence in memory, …)

Practical workshop: preparation of a development / test platform – handling of the environment – multiple examples: java (annotations), servlets and jsp

Architecture (bean, interfaces, annotations), role of object container
EJB types: session, entity, message-driven
EJB calls (RMI / IIOP protol), clients (heavy / light)
JNDI (Java Naming and Directory Interface) and collaboration between tools (localization of resources)
The Pattern Chain of Responsibility and presentation of interceptors (bean, interface, annotations)

Practical workshop: implementation of the design pattern chain of responsibility – introduction to interceptors

Definition, interaction and calculations
Available types (stateless, stateful), life cycle
Access to an EJB Session: visibility (local / remote / webService), choice of access type
Concurrent access and optimizations at the container level
Implementation of interceptors, change of default configurations
Timers services

Practical workshop: implementation of several Session EJBs (stateless / stateful) + interceptor – deployment and writing of various types of clients

Object relational mapping, specification and ORM frameworks
EJBs entities: functionalities, access
JPA annotations (Java Persistence API)
Context / persistence unit
Management of the state of an EJB Entity
Relations between entity beans (associations), cascading processes
Management of the ‘inheritance: SINGLE_TABLE, TABLE_PER_CLASS, JOINED
EJB-QL (EJB Query Language): presentation, syntax and constructs of queries

Practical workshop: Development of MVC web applications with interactions between session EJBs and various Entity beans – use of the EJB-QL language

Definition, Architecture (MOM, message models), APIs available
Overview of server implementations
Implementation of message exchanges (destination, sending, reception, recovery by injection)
Transaction management

Practical workshop: Setting up an application based on EJB messages, multiple exchanges and transactions

Application security: presentation of APIs, user and role management
Securing access to interfaces of EJBs
EJB and web services, protocols and clients (static / dynamic, synchronous / asynchronous)
EJB2 and EJB3: differences, choices, evolution (migration)

Practical workshop: Deployment of web services based on EJB3 and writing of several clients – security of a distributed application

Duration

5 days

Price

£ 2307

Audience

All

Prerequisites

Knowledge of servlets and JSP - Mastery of Java language

Reference

JAV113-F

Sessions

Contact us for more informations about session date