Java Logo

Goals


- Build robust JEE applications based on Struts 2, Hibernate and Spring

Program

Structure of a JEE web application
Principle of MVC and MVC 2 architectures Contribution of MVC 2
frameworks and positioning of Struts 2
Implementation of Struts 2
Organization of data access (Relational-Object Mapping – ORM)
Hibernate: principle , versions, implementation The inversion of control by injection of
Spring Ioc dependencies : concepts, implementation, structure of configuration files
Structure of a web project combining the 3 frameworks

Practical workshop: installation of the development and execution environment – construction of the minimal structure of a Struts2 / Hibernate3 / Spring Ioc project

Implementation of actions
Management of forms
Validation of forms and advanced interactions
Taglibs Struts
Management of types and conversions
Additional configuration of Struts
Messages and internationalization
Development of interceptors
Use of Ajax
Templating: principle, implementation

Practical workshop: Building a complete management application

Configuration of object relational mapping (XML or annotations)
Management of unique identifier
Relations between objects: OneToOne, OneToMany, ManyToOne, ManyToMany
Strategies for loading collections (lazy / eager loading)
Management of object inheritance
HQL language: syntax , use
Use of native SQL queries
Parameterized queries, sorting and paging
Transaction management
Best practices and caching

Practical workshop: accessing data and using the HQL language

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

Duration

5 days

Price

£ 2300

Audience

All

Prerequisites

Knowledge of servlets and JSP

Reference

JAV500-F

Sessions

Contact us for more informations about session date