Description
The Java EE 7 platform significantly improves developer productivity and offers better HTML 5 integration. This training will allow you to develop enterprise applications based on the Java EE 7 APIs: JPA, JMS, CDI, EJB , JSF, JAX-RS and WebSocket.
Who is this training for ?
For whom ?Developers, architects and project managers.
Prerequisites
Training objectives
Training program
- Introduction
- Java EE 7 Specification Building Blocks.
- Best Design Practices: Segregation of Responsibilities, KISS, DRY, POJO.
- What's New in Version 6 .
- Panorama of the Java EE offering, the Spring framework.
- Working environment
- Eclipse environment.
- Maven dependencies.
- Unit tests with the embedded container.
- Using webtools, getting started with the server.
- Practical work Install the IDE and the server.
- N-tier splitting and dependency injection
- Layering, POJO approach.
- Scopes and state management.
- Dependency injection.
- Interceptors.
- Practical work Implementation of an n-tier application, use of CDI (dependency injection.
- ).
- Data access with JPA
- Mapping relational object (xml, annnotations).
- Lazy loading.
- Manipulation of API 2.
- 1: EntityManager.
- JPA-QL, API Criteria, MetaModel, EntityGraph.
- Transactions, annotation
- Transactional JTA 1.
- 2.
- Practical work Setting up the data access layer.
- Distributed architecture with EJB and JMS
- EJB API technical services: security, remoting, concurrent access, asynchronous access, timers.
- Positioning of EJBs in relation to CDI beans.
- JMS 2.
- 0 for message exchanges.
- Practical work Setting up services with EJB Sessions and a message exchange bus with JMS.
- Web et JSF
- Concepts (MVP, Presenter, View).
- Facelets, taglibs, jsf-el.
- JSR303 validation.
- Implementation of Ajax.
- Practical work Implementation of JSF 2.
- 2 and Ajax.
- Web Services REST
- JAX-RS API 2.
- 0 for RESTful web services.
- HTTP callbacks: verbs, contentType.
- CORS : Cross origin shared resource.
- HATEOAS.
- Produce and consume objects via the Java JSON processing API.
- Practical work Exhibitor of services, consume these REST services via a web client (AngularJS).
- Websockets
- Web concepts "real time".
- Browser support, fallback mechanisms.
- Server and client side implementation.
- Practical work Adding a websocket connection to the web client.
- Getting started with JSF
- Reminders: Servlet, JSP, MVC 2.
- Market frameworks.
- Compatibility between JSF 1 and JSF 2.
- Configure the 'web application.
- Configure JSF.
- Create a backing-bean and a form.
- Simplified configuration with JSF 2.
- 0.
- Practical work First JSF application.