• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clustering In EJB

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Could any one tell me how horizontal scaling works?
Suppose i have S1-->S2--->s3--->S4--->s5-->DBServer
Now if a client is on transaction and the session is active on the first
server .Now suudenly the S1 fails how does the session gets saved / propagated to S2 to take over or what is the way to handle this kind of failover w/c client won't get affteceted but the transaction would go safely
with session data.
Pls explain the config in perspective of Weblogic & Websphere & the concept.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Now if a client is on transaction and the session is active on the first server. Now suddenly S1 fails how does the session gets saved / propagated to S2 to take over or what is the way to handle this kind of failover w/c client won't get affected but the transaction would go safely
with session data.


Typically, each server in a cluster has one backup server nominated to which it frequently replicates session state. Either the client-side stub (for EJBs) or the load balancer knows which server is the backup for S1, and once it figures out that S1 is down, it starts forwarding S1's requests to its backup.

Pls explain the config in perspective of Weblogic & Websphere & the concept.


Why don't you take a look at the documentation provided by BEA and IBM...
 
Let's go to the waterfront with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic