Hi Piyum, On Thu, May 9, 2013 at 6:29 PM, Piyum Fernando <[email protected]> wrote:
> 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. > +1 > > 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, As we discussed offline please look at a reference implementation and see whats the possible ways to do this. There is some kind of a hood concept, and we need to identify how that can be achieved within carbon. thanks, > > > > [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 > -- Supun Malinga, Software Engineer, WSO2 Inc. http://wso2.com http://wso2.org email - [email protected] <[email protected]> mobile - 071 56 91 321
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
