On-site & Public, Instructor-led, Hands-on IT Training
800.756.3000
(International 01) 908.233.8900
  400+ Course Offerings:


Search for Course:

SP1001 Java Persistence with Spring
 
 
Duration 4 Days
Delivery Method Instructor Led, Hands-on workshops
Public Price $2250.00


DESCRIPTION (Return to Top)

This course enables the experienced Java developer to use the Spring application framework to manage objects in a lightweight "IoC" (inversion-of-control) container and to manage persistent objects using Spring's support for DAOs and transaction control. Spring is a far-reaching framework that aims to facilitate all sorts of Java development, including every level of multi-tier distributed systems. Here we focus on the Core and persistence modules, with a brief stop in the Web module to support hands-on exercises in Spring persistence for web applications.

Spring supports a wide range of persistence technology: everything from raw JDBC to sophisticated object/relational mapping tools such as Hibernate and TopLink, and also the new Java standard for those tools, the Java Persistence API. We work at either end of this spectrum, with exercises on improving JDBC code with Spring templates and transaction management, and also how to integrate JPA entities and DAOs into Spring applications and to deploy Spring transactions over JPA.



OBJECTIVES (Return to Top)

Upon successful completion of this course, the student will be able to:

  • Understand the scope, purpose, and architecture of Spring
  • Use Spring's bean factories and application contexts to declare application components, rather than hard-coding their states and lifecycles
  • Use dependency injection to further control object relationships from outside the Java code base
  • Use annotations to take advantage of Spring post-processors for automated bean instantiation and wiring
  • Create validators for business objects, and associate them for application-level and unit-testing uses
  • Connect business objects to persistent stores using Spring's DAO and ORM modules
  • Simplify JDBC code using Spring templates
  • Integrate JPA entities and DAOs into Spring applications
  • Declare and enforce transaction requirements using Spring


TOPICS (Return to Top)
  • I. Introduction to Spring
    • Overview of Spring
    • The Container
    • Instantiation and Configuration
    • Dependency Injection
    • Assembling Object Models
    • Validation
  • II. Web Applications
    • The Web Module
  • III. Persistence
    • Templates and DAOs
    • Working with JPA
    • Transactions


PREREQUISITES (Return to Top)

Experience in the following areas is required:

  • Java programming
  • Basic knowledge of XML