|
Three popular open source frameworks, Struts, Spring, and Hibernate, have been integrated fairly well in the provided example of this well-written article. I have been looking for examples of using Spring framework with JDO to have a standard API of transparent persistence on a lightweight container, but without much luck. This example has demonstrated much of building blocks, so I decided to replace its usage of Hibernate with JDO, and to play with Spring AOP. As there is no prevalent implementation of JDO from open source, I chose a popular commercial one (they provide evaluation copy). It is completely functional and running well on Tomcat/MySQL. The converted source and its build file can be found in
http://thor.prohosting.com/yfkao/PostSpringJDOExample.zip
|