my dog learned polymorphism*
The moose likes Websphere and the fly likes RMI-IIOP Load Balancing and Failover Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "RMI-IIOP Load Balancing and Failover" Watch "RMI-IIOP Load Balancing and Failover" New topic

RMI-IIOP Load Balancing and Failover

Ankit Thakkar
Ranch Hand

Joined: Apr 29, 2005
Posts: 33

Hi All,

We have an J2EE application deployed on Websphere v6.1 clustered environment and have one another client application which calls this application via RMI transactions.

Therefore, we have a need to do load balancing for RMI transactions. How can we achieve "RMI-IIOP Load Balancing and Failover"? Please share your thoughts.

Ankit Thakkar
Ranch Hand

Joined: Apr 29, 2005
Posts: 33

Anyone having any idea please help us, we really stuck up with RMI load balancing?

Brian Hennessy
Ranch Hand

Joined: Oct 24, 2005
Posts: 57
hi Ankit
you can use a mutiple servers in the corbaloc url


I'm not sure that it load balances in a round robin fashion but it will failover to the next server in the list if the first is down.

In terms of load balancing this article has some code samples on ejb client calls it randomly picks the corbaloc urls , sort of DIY load balancing

for example

I agree. Here's the link:
subject: RMI-IIOP Load Balancing and Failover
Similar Threads
Failover, FT, Load Balancing
Load Balancing for RMI transactions
when should i use enterprise bean?
Load Balancing , failover , session replication
Weblogic JNDI Issue