users@glassfish.java.net

RE: multiple GF instances

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Thu, 14 Nov 2013 14:51:34 -0500

  




From: mgainty_at_hotmail.com
To: users_at_glassfish.java.net
Subject: RE: multiple GF instances
Date: Wed, 13 Nov 2013 09:41:32 -0500






Martin Gainty
______________________________________________
Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 MG>'Morning Glenn
  


> Date: Wed, 13 Nov 2013 08:11:56 -0600
> From: gholmer_at_weycogroup.com
> To: users_at_glassfish.java.net
> Subject: multiple GF instances
>
> I thought I had sent this, but don't see it on the list...
>
> If we wanted to do load balancing without using clustering, but just
> with two complete instances of GlassFish, what would be the implication
> of both instances using the same database? Wouldn't you run into
> problems because of each EJB container caching the entity classes?
 
MG>Putting Semantic diatribes aside ..Under the covers its Oracle TopLink
MG>Second issue 75% of the shops I have worked in use Hibernate...no I am no fan but since
MG>any proposed distributed caching solution must work for all ORMs ..and not be tied to any one vendor
MG>That said if I went to CTO and said you HAVE TO transform all of your Hibernate Entity to
MG>EclipseLink / TopLink Entity
MG>because someone on Glassfish Users said so ..
MG>His response would be read this and explain the solution(s)
MG>http://mcqueeney.com/blog/two-reasons-to-prefer-hibernate-jpa-over-eclipselink-on-glassfish/
MG>?

> --
> Glenn Holmer
> Weyco Group, Inc.
> phone: 414-908-1809
> fax: 414-908-1601

MG>HTH,
MG>Martin