Goals
- Building robust Java EE applications based on Spring MVC and Spring ORM
- Implementing REST web services
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
Management of page loading
Asynchronous requests:
– Communication (XMLHttpRequest object)
– Sending / processing of the response
– Specific tags
Workshop: Implementation of asynchronous actions and partial data loads
REST architecture: operation, HTTP methods
Spring RestController: annotations, mappings
Return of
interceptor objects and security
Writing REST clients
Workshop: REST web services with @RestController
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 Java EE 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 (techniques of reading, strategies: lazy, eager)
Synchronization with the database (flushing)
Persistence cascade (writing)
Queries (JPQL): queries, predications, projections, joins
Transactions and competition
Locking techniques
Workshops: Setting up a complete data access layer in a Spring MVC web application
Duration
2 days
Price
£ 1070
Audience
Java EE Developers
Prerequisites
Have taken Spring MVC Initiation training or equivalent concepts
Reference
JAV100221-F
Sessions
Contact us for more informations about session date