There are three major JPA implementations;
OpenJPA
Eclipcelink
Hibernate
I tried all three with AS using a simple webapp and worked fine.
I will test them with sample JAXRS and JASWS applications too and will look
in to the edge cases.
As per the small discussion we had (Sagara, SupunM and me) we were thinking
of using OpenJPA as the default JPA provider because, most probably we will
be using OpenEJB to provide EJB support in near future.
Most importantly JPA spec comes with a concept called "Enhancements" which
optimize the Entity classes of the application.
What an enhancer does is post-process the class files of the entity
classes and optimize them[1].
JPA providers provide facilities to do it in application build time or at
runtime.
In the context of J2EE containers, enhancement is supported at the
application deployment or at the runtime[2].
Are we going to support enhancements in AS? IMO we should.
I will look in to this further and update.
[1]
http://openjpa.apache.org/builds/2.1.1/apache-openjpa/docs/ref_guide_pc_enhance.html
[2]
http://openjpa.apache.org/builds/2.1.1/apache-openjpa/docs/ref_guide_pc_enhance.html#ref_guide_pc_enhance_runtime_container
--
Piyum Fernando
Software Engineer
Mobile: +94 77 22 93 880
Home: +94 31 22 75 715
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture