Goals
- Building robust JEE applications based on JSF 2
Program
Principle of MVC and MVC 2 architectures
Overview of MVC2 frameworks: Struts, JSF, Spring MVC
Presentation of JSF: versions, functionalities, positioning, implementations
Implementation of JSF 2 in a web application
Development environment, plugins, Java application server EE
Workshop: Installation of the development environment
JSF 2 project: libraries and dependencies
Log management
Configuration of the filter in the web.xml
Configuration of JSF 2 taglibs
file faces-config.xml
MVC chaining in JSF 2
Workshop: Creation and execution of a JSF 2 project
Lifecycle of a request and presentation of the JSF taglib
Graphic components, creation of
Managed Beans forms : creation, scopes, navigation rules
Validation of forms: JSF validators, Bean Validation (JSR 303)
Management of
Listeners error messages ,
Language EL interceptors : presentation, expressions, implicit objects
Internationalization (i18n) in a JSF 2 application
Error
handling Properties files and internationalization of views (i18n)
Management of types and conversions
Definition and configuration of custom interceptors Upload
management
Workshop: Implementation of several forms: creation, validation, processing
Workshop: Using the available persistence spaces
Persistence spaces: page, request, session, application Session
handling: adding and retrieving attributes
Defining and using application variables
Creating and retrieving cookies
Workshop: Using the available persistence spaces
Facelets: presentation, layouts and custom components
Setup: configuration
Model page and use
Sitemesh: an alternative to Facelets
Workshop: Integration of templates and use
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 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
5 days
Price
£ 2695
Audience
Java Developers
Prerequisites
Proficient in Java
Reference
JAV100216-F
Sessions
Contact us for more informations about session date