On Thu, Jul 10, 2014 at 5:41 PM, Dhanuka Ranasinghe <[email protected]>
wrote:

> looping architecture
>
> *Dhanuka Ranasinghe*
>
> Senior Software Engineer
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 715381915
>
>
> ---------- Forwarded message ----------
> From: Dhanuka Ranasinghe <[email protected]>
> Date: Thu, Jul 10, 2014 at 5:39 PM
> Subject: Replacing OpenJPA with EclipseLink and same time make compatible
> with Hibernate
> To: WSO2 Developers' List <[email protected]>, Nandika Jayawardana <
> [email protected]>
> Cc: Prabath Abeysekera <[email protected]>, WSO2 Support-dev-group <
> [email protected]>, Shani Ranasinghe <[email protected]>, Bhathiya
> Jayasekara <[email protected]>, Harsha Kumara <[email protected]>,
> Chathura Ekanayake <[email protected]>, Poshitha Dabare <[email protected]>,
> Hasitha Aravinda <[email protected]>
>
>
> Hi Nandika
>
> Since we have observed several issues with OpenJPA, we thought to replace
> it with EclipseLink.
> By doing that we can ship eclipselink since it's under eclipse license.
> Also we are making backend logic JPA compliance then we can use Hibernate
> as an option.
>
Except BPS  OpenJPA is used as platform level JPA provider hence we need to
perform further studies before move into new F/W, can you please elaborate
more about issues you found in OpenJPA and did you get any chance to
discuss those issues with OpenJPA community. If not we need to do that
first.


>
> Note: since OpenJPA runtime enhancement doesn't work as expected currently
> both in SS and BPS, byte code enhancement done at build time, which means
> openjpa specific stuff added to entity classes at byte code level. Because
> of that we can't use same code base with eclipselink and Hibernate.
> But with EclipseLink and Hibernate run time enhancement happen properly,
> so same code base can be use with relevant libs.
>
> Currently we have done the R&D part and it's working fine. But if two
> projects use multiple libs for same purpose it won't be allowed. For that
> we (SS and BPS) need to come for an agreement that in future we will get
> rid of OpenJPA and replace with eclipselink (JPA and Hibernate
> complicance). So there should be at least red mine task for this in BPS
> side.
>

Have you perform any benchmark test for openJPA and EclipseLink ?   Another
factor to consider is how EclipseLink behave in a cluster, this[1] is bit
of old but still worth to take a look.

[1] -
http://openjpa.208410.n2.nabble.com/OpenJPA-vs-EclipseLink-td7521217.html

Thanks !

>
>
> SS team in a blocking state due to this. If BPS team can come to a
> conclusion regarding this it will be great help to continue work on SS road
> map.
>
> Cheers,
> Dhanuka
> *Dhanuka Ranasinghe*
>
> Senior Software Engineer
> WSO2 Inc. ; http://wso2.com
> lean . enterprise . middleware
>
> phone : +94 715381915
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Sagara Gunathunga

Senior Technical Lead; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to