Goals
- Optimizing a JSF 2 application
- Coupling JSF 2 with Spring and JPA
Program
Principle of MVC and MVC 2 architectures
Implementation of JSF 2 in a web application
Development environment, plugins, Java EE application server
Workshop: Presentation of the complete structure of a JSF 2 application
Management of page loading
Asynchronous requests:
– Communication (XMLHttpRequest object)
– Sending / processing of the response
– JSF AJAX / jQuery tags
Workshop: Implementation of asynchronous actions and partial data loads
Presentation of Spring Core (IoC): interest, configuration
Dependency injection by Xml or annotations
Context retrieval and beans injection
Workshop: Coupling JSF 2 with Spring
Java persistence techniques,
JPA object-relational mapping : presentation, versions (1.0 vs 2.0), existing frameworks (Hibernate, EclipseLink, EJB)
Integration of the JPA layer in a JEE application
Implementation of a persistent class, use of annotations
Development : Beans, serialization, associations Mapping of classes: id and properties, associations (embedded, one-to-one, one-to-many, …), inheritance etc …
Handling of persistent objects
Loading (reading techniques , strategies: lazy, eager)
Synchronization with the database (flushing)
Persistence cascade (write)
Queries (JPQL): queries, predications, projections, joins
Transactions and concurrency
Locking techniques
Workshops: Setting up a complete data access layer in a JSF 2 web application
Duration
2 days
Price
£ 1250
Audience
Java Developers
Prerequisites
Have taken the JSF 2 Initiation course or equivalent concepts
Reference
JAV100218-F
Sessions
Contact us for more informations about session date