jbchurn wrote:
Another question is it is compulsory to use jdk1.5 if we want to use JPA right?
Is JPA mature enough to be use now? since EJB3 is quite new.
Thanks.
Annotation and generics are defined in jdk1.5 so JPA does not work on earlier jdks.
As for maturity I'd say its all about the tools you use for development. When the tools are good and easy to use then the technique is mature enough. I think the specification itself is a step forward and is mature enough.
I remember when we developed J2EE applications back in 2002. We decided to use EJB2 Session beans with DAO-pattern implemented by JDO 1.0. JBoss 3.0 was the server we used. These both specs were new and there were no good tools for them yet. The horror of those hand written(JBuilder 6 generator sucked) XML deployment descriptors and JDO OR-mappings. Most of the time went in configuration. Those applications are still in use though. Now the Java development tools are much better (Eclipse, Netbeans, Maven, Ant, XDoclet etc.) and OR-tools (Hibernate, Bea Kodo, Toplink etc.) are mature enough and well documented for easier OR-mapping.