Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Writing Client to WAS Cluster

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic