aformatik.DE

TRAINING / COURSE 521

Introduction to Spring and JPA

Combine Spring and JPA into an end-to-end architecture for database-backed applications.

For years, the open-source Spring framework has been both a powerful, flexible alternative to Jakarta Enterprise environments and a useful addition within Jakarta Enterprise architectures.

The complexity of server-side Java in persistence, particularly EJBs and EntityBeans, created demand for smaller, more manageable technologies. Spring combined with the new Java Persistence API (JPA) addresses this need.

This allows server-side and client-side Java programs to be developed that are modular, portable, persistent and transactional without bringing the full scale of a large Jakarta Enterprise product into the project.

The seminar provides an initial overview and introduction to the Spring core framework and JPA. It also covers how Spring works with JDBC, JPA and transactional applications.

Course objectives

After this course, participants can develop simple Spring-based applications and evaluate the associated architectures.

Topics

  • Spring – introduction
  • Spring – a first tour (installation, configuration, initial use, the bean concept)
  • Spring – Core I (dependency injection, wiring)
  • Spring – Core II (bean creation, context objects, annotations, resource handling)
  • Spring – JDBC support
  • JPA – a first tour (installation, configuration, initial use)
  • JPA – fundamentals (EntityManager, object states, exceptions, callbacks)
  • JPA – mapping entities
  • JPA – mapping relationships
  • JPA – mapping inheritance
  • JPA – data access (JPQL and native queries)
  • Spring and JPA
  • Transaction management
  • Optional: overview of Spring Batch

Target audience

Software developers

Prerequisites

Good Java knowledge and programming experience. Preferably knowledge from our “Java programming 1–4” seminars or equivalent courses. JPA knowledge is not required.

Tools and materials

Eclipse with the Spring plugin or SpringSource Tool Suite is available as a development environment. Hibernate is the persistence provider, with data from a Derby database. Concepts covered in theory are reinforced through numerous practical computer exercises. All materials and exercises are in German.

Course duration

4 days

Questions and registration

info-de[at]aformatik.de

Contact