Spring 3.0.1 explicit supports the second release candidate of hibernate 3.5 aka 3.5-CR-2. Migration is very easy with maven: old pom.xml (part) for hibernate 2.3 and jpa 1.0 cglib cglib-nodep 2.1_3 org.hibernate hibernate-annotations 3.2.0.ga org.hibernate hibernate 3.2.6.ga javax.persistence persistence-api 1.0 new pom.xml (part) for hibernate 3.5 and jpa 2.0 org.hibernate hibernate-entitymanager 3.5.0-CR-2 org.hibernate.java-persistence jpa-api 2.0-cr-1
Continue reading about Migrating a Hibernate Application from JPA 1.0 to 2.0
The default behavior of the tomcat6 server installed from the ubuntu repository is to forbid any read operation of System.getProperty(). I used tomcat6 as deployment target for the hudson builds on the same machine. AspectJ is used in a sample Spring 3 REST application. Tomcat6 logs (catalina-…log) shows the following exception Caused by: java.security.AccessControlException: access [...]
SpringSource has recently released 3.0.1 of their Spring Framework. Spring 3 extended the REST functionalities inside the Web MVC part of the Framework. Rest Service are defined as Controller and can be tested with the new Resttemplate. In this little sample project is Spring 3 combined with JUnit 4, Maven, Hibernate 3.2, Jetty, MySQL, JPA, [...]
Continue reading about JUnit Tests for Spring 3 Rest Services
Sun has published milestone 5 (b76) of the upcoming Java JDK 7. JDK 7 release is currently scheduled for September 2010. My standard IDE is eclipse but the current production version 3.5 SR 1 support only Java up to JDK 6. I tried the new eclipse e4 1.0 milestone 2 (status: technical preview) which has [...]
Continue reading about ide for testing JDK 7 features (Milestone 5: Build b76)
SpringSource has published release candidate 2 of the upcoming 3.0 release of their Spring Framework. New Feature is the compliance with JSR-330 (“Dependency Injection for Java”). The JSR was developed together by Google (for their Guice Framework and SpringSource (for their Spring Framework) and is finally approved since 14.10.2009. A little example shows how to [...]
Continue reading about Spring 3.0 RC 2 and JSR-330 (Dependency Injection for Java)