users@glassfish.java.net

RE: multiple GF instances

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Thu, 14 Nov 2013 10:33:58 -0500

Hi Glenn

 

I saw that too

Having developed first with Jdeveloper then Netbeans then Eclipse i didnt want to steer you in Eclipse IDE only solution
Having written Eclipse1 plugin...moving to Eclipse2 or P2 for plugins can be a bit of a *challenge*

 

Glad to hear you have a solution!
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité


Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.

  


> Date: Wed, 13 Nov 2013 10:15:11 -0600
> From: gholmer_at_weycogroup.com
> To: users_at_glassfish.java.net
> Subject: Re: multiple GF instances
>
> On 11/13/2013 08:41 AM, Martin Gainty wrote:
> > > 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
>
> Looks like EclipseLink provides something like that out-of-box:
>
> http://wiki.eclipse.org/EclipseLink/Examples/JPA/CacheCoordination
>
> --
> Glenn Holmer
> Weyco Group, Inc.
> phone: 414-908-1809
> fax: 414-908-1601