This course provides a comprehensive introduction to JPA (the Java Persistence API), the Spring and Hibernate open source frameworks as well as Web Services and AJAX. Suitable for both Spring3/Hibernate3 and Spring4/Hibernate4, the course includes coverage of the core Spring and Hibernate capabilities, as well as the integration capabilities provided by Spring.
This course introduces techniques for using the many new and powerful capabilities that Spring4 supports. It includes complete coverage of the three main configuration styles (@Configuration, @Component, XML), and guidelines for their usage. It also covers more advanced capabilities such as support for JDBC and persistence frameworks like Hibernate, Spring declarative transactions, and Spring integration with JEE Web technologies.
The course covers all important capabilities of the Hibernate open source object/relational persistence and query service for Java. Coverage includes developing persistent classes in Java, as well as using associations/relationships, inheritance, polymorphism, composition and collections. It also covers fundamentals of JPA (the Java Persistence API) including JPA Annotations and JPQL (Java Persistence Query Language).
Comprehensive hands on exercises are integrated throughout to reinforce learning and develop real competency. Attendees build working Spring/Hibernate applications utilizing the Eclipse IDE, providing a knowledge foundation applicable to all major development environments.
Delegates will learn how to
- The core principles of Spring and of Dependency Injection (DI)/Inversion of Control
- Using the Spring core module and DI to configure and wire application objects (Beans) together
- Using the different types of metadata (XML, @Component, and @Configuration)
- The complete capabilities of the core module
- Using the ORM (Object-Relational Mapping) module to integrate Spring with technologies such as Hibernate or JPA
- Spring’s transaction support
- Integration of Spring with Java EE Web applications
- The features and benefits of Hibernate
- How to architect applications using the Hibernate framework
- Structuring code using Hibernate protocols
- Using Hibernate Mapping to map persistent objects to the database
- Working with collections and associations
- Using Hibernate’s versioning support
- Mapping inheritance hierarchies using Hibernate
- Working with Hibernate Queries, HQL, and Criteria
- Hibernate transaction support
- The relationship between Hibernate and the Java Persistence API (JPA)
- How to architect and code using JPA2
- Exploiting AJAX integration
- Exploiting Web services