Goals
- Build robust JEE applications based on Spring MVC and EJB 3
Program
Structure of a JEE web application
Principle of MVC and MVC 2
Spring architectures : presentation, building
blocks of Spring Ioc bases : concepts, implementation, structure of configuration files Contribution
of MVC 2 frameworks and positioning of Spring MVC
Implementation of Spring MVC
Organization of data access (Relational-Object Mapping – ORM)
Practical workshop: installation of the development and execution environment – construction of the minimal structure of a Spring MVC project
Configuration of beans and instantiation of the container
Dependency injection by mutator / constructor
Control of properties
Automatic linking of beans (XML configuration / annotations)
Configuration inheritance
Assignment of collections to the properties of a bean
Access to JNDI resources: configuration of data sources, email sessions
Transaction management
Practical workshop: Multiple bean configurations and JNDI access
Implementation of actions
Management of forms
Validation of forms and advanced interactions
Taglibs Spring
Management of types and conversions
Messages and internationalization
Development of interceptors
Use of Ajax
Templating: principle, implementation
Practical workshop: Building a complete management application
Presentation of EJBs: history and versions
Life cycle of EJBs
Application servers: JBoss, GlassFish, WebSphere, …
Structure of a web module based on EJBs, packaging and deployment
Types of EJBs: session, entity, message-driven
EJB calls (RMI / IIOP protocol), clients (heavy / light)
The Pattern Chain of Responsibility and presentation of interceptors (bean, interface, annotations)
EJBs Session:
– Implementations (stateless, stateful)
– Access to a 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
–
Entity EJBs service timers:
– Object relational mapping, ORM specification and frameworks
– Entity EJBs: functionalities, access
– JPA (Java Persistence API) annotations
– Context / persistence unit
– Management of the state of an EJB Entity
– Relations between entity beans (associations), cascading processing
– Inheritance management: SINGLE_TABLE, TABLE_PER_CLASS, JOINED
– EJB-QL (EJB Query Language): presentation, syntax and constructions of
EJB-MDB (Message-Driven Beans) requests :
– Definition
– Architecture (MOM, message models)
– Available APIs
– Overview of server implementations
Application security: presentation of APIs, management of users and
EJB roles and web services, protocols and clients (static / dynamic, synchronous / asynchronous)
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
Java Developers
Prerequisites
Mastery of Java, knowledge of Servlets and JSP
Reference
JAV572-F
Sessions
Contact us for more informations about session date