Samstag, April 21, 2007

JPA

Hail to JPA! Finally a usable and straightforward solution.
The first steps with non-EJB3 JPA (i.e. the j2se approach) with the following setup were more than promising:
. tomcat 6.0.10
. toplink (very nice: you have to use only 2 jar files)
. switching between postgresql 8.1.8 and oracle 10.2.0.3.0

an absolute nice-to-have feature is the DALI eclipse plugin which is very helpful to start with JPA. The only problem: It does not seem very stable and my eclipse started to more or less crash at randomly intervals - what helped quite a bit was increasing the JVM settings for eclipse
(-Xms -Xmn XX:PermSpace)

fairly good books (both from apress):

- Beginning EJB 3 Application Development: From Novice to Professional
- Pro EJB 3: Java Persistence API