users@glassfish.java.net

Re: how to run load balancing for RMI server on glassfish?

From: <glassfish_at_javadesktop.org>
Date: Thu, 15 Jan 2009 23:21:49 PST

The short answer is NO. Ofcourse if you really really want to and dig deep, very deep into glassfish you might extract the loadbalancing part and put it to your use. But if you need loadbalancing for you RMIServer you should start thinking about another architecture.

So plain said you problem is solvable within glassfish but then you to refactor the RMIServer to a regular EJB with a remote interface, make you client a real application client. So glassfish becomes your RMIServer, and the application client your current client. Then it is possible to loadbalance your client requests over multipla glassfich instances running you EJB.

It is another approach to solve your problem.
[Message sent by forum member 'jcstover' (jcstover)]

http://forums.java.net/jive/thread.jspa?messageID=326389