ActiveJPA is a Java implementation of Martin Fowler’s Active Record pattern that wraps around JPA and provides useful abstractions to simplify data access. With ActiveJPA, models themselves act as a DAO and interact with the database without requiring additional code for the DAL. In this article the primary committer discusses ActiveJPA and provides plenty of usage examples.
The SQL language has been evolving steadily over the last two decades. At the same time, the verbosity caused by the JDBC API in Java client code and the lack of first class SQL support within the Java language have led to the introduction of ORMs such as Hibernate, which was later standardised into JPA and the Criteria API.If SQL and JPA are diverging, where will our data interaction patterns go?
Based on a concrete example with Scala, Spring and JPA the article explains how to enhance Spring with Scala’s powerful concepts such as implicit conversions and traits. Moreover, it shows how the gap between a Java based framework and Scala can smoothly be bridged.
Leading persistence solution architects their views on the current state of the union in persistence in the Java community. 2
Srini & Kavitha Penchikala give an overview of the support provided by Spring framework in the areas of unit and integration testing, with a sample application. 16
An update from the Spring team on Spring 2's delay to late Sept to improve JMS, JPA, and integrate with OSGi. 5