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>Ehcache will cache your DB calls for each configured instance
MG>The newest EhCache has listeners that multicast Update events so Other Ehcache nodes can pick up the updates
MG>you'll want to coordinate with net-admin to open up the hosts and RMI ports EhCache implements
MG>
http://www-01.ibm.com/support/docview.wss?uid=swg21519527
>
> --
> Glenn Holmer
> Weyco Group, Inc.
> phone: 414-908-1809
> fax: 414-908-1601
MG>HTH,
MG>Martin