Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing Client to WAS Cluster

 
Terry Schulting
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a WAS 6.0 Clustered environment setup. I have a client on a different box, outside of the WAS environment that is attempting to hit the cluster via EJB calls. Is it necessary to install the WAS Application Client to enable appropriate load balancing (I should note, that when we attempted to run a client without WAS Appl Client installed, it would NOT load balance at all, it would only hit one server)? Secondly, assuming the answer to the question above is yes, is it necessary to actually 'install' the application client, or is there a list of deployable jars that we can use instead of doing a formal install?
 
abhishek khandelwal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do have the websphere horizontal cluster (Having Two Horizontal Nodes)in my project and the websphere plug-in (to be placed on web server) itself takes the great care of load balancing (Round-Robin). I don't think you need application client installation.
 
Terry Schulting
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, i don't understand your answer. I am looking for a client to access my EJBs. this is not a Web application...
 
Sunil dias
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am not sure if you can load balance ejb calls. You can see in memory-to-memory replication concept.

Regards

Sunil
 
Anant Rao
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Terry,

In you client app are you passing both the bootstrap ports of the clusters members. Here is a good article on how EJB Calls operate and aslo an example.


http://www.ibm.com/developerworks/websphere/techjournal/0807_pape/0807_pape.html

Anant
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic