From:

Using the Java Persistence API with Spring 2.0

The Java Persistence API (JPA) and the version 2.0 release of the Spring Framework form a powerful combination. Author Seth White uses an updated version of BEA WebLogic Server's medical records sample application to show how Spring 2.0 and JPA can be used with WebLogic Server.

Related Articles

Relatd Projects

Crank

Crank is a master/detail, CRUD, and annotation driven validation framework built with JPA, JSF, Facelets and Ajax. It allows developers to quickly come up with JSF/Ajax based CRUD listings and Master/Detail forms from their JPA annotated Java objects.

Crank uses a lot of the new JSF features from Facelets, Ajax4JSF, etc. that will be used in JSF 2.0. Crank is a use case analysis of what is possible with the new JSF 2.0 stack.

The validation piece does server-side validation, Ajax validation or just emitted JavaScript validation based on Java annotations, property files, XML files, or database tables. Currently works with JSF, Spring MVC and Spring Webflow.

The framework is named Crank as in: "crank out, to make or produce in a mass-production, effortless, or mechanical way: She's able to crank out one (CRUD listing) after another" and "crank up: to get started or ready", "to stimulate, activate, or produce", and most importantly "to increase one's efforts, output, etc.: Industry began to crank up after the new (CRUD framework became our corporate standard)." http://www.dictionary.com

The CRUD framework has support for JPAenabled DAO objects. The CRUD framework implements a Detached Criteria API/DSL similar to Hibernates (R) Criteria API except it works with JPA. The Detached Criteria API/DSL (DCAD) could be ported to other frameworks for example Hibernate, iBatis, etc.

The CRUD framework has a controller that is framework neutral as well. Currently there is an example the uses JSF to quickly create CRUD listings and master detail forms as follows:

soapuddi
Being a part of a bigger goal, right now this project consists of an open source java implementation of the UDDI version 2.0 server.
accountmgm
Simple web application using Spring 2.0 and Hibernate 3.0
tudu
Tudu Lists is a J2EE application for managing todo lists. It's based on Spring 2.5, JPA/Hibernate and AJAX (using the DWR framework). It's a simple yet effective project management tool, and it is also often used as a sample Spring application.
scout
Scout for WebLogic is a real-time performance monitor for BEA WebLogic Server. Designed for monitoring during performance testing, Scout provides a visual representation of applications, services and resources for all servers in a cluster simultaneously
nexopen
J2EE development framework based on Spring 2.0, to easy up the creation of highly scalable, perfoming and clusterizable applications
jmx4ant
JMX4Ant provides the ability to interact with JMX MBeans from Ant. Supports several popular JMX implementations and J2EE servers including JBoss and BEA WebLogic Server.
wanghy
Subprojects: * Cache: AOP Cache Spring Framework. * Regex: Unified interface for regular expressions. * TableTag: JSP 2.0 tags inspired by Display Tag.
multpartrequest
HttpServletMultipartRequest parses multipart form data. From version 2.0 of the API only Servlets using Java 1.2 or later are supported.
zxjdbc
zxJDBC implements the Python Database API version 2.0 in Java. It utilizes JDBC to provide database connectivity in Jython.