This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Clustering approach. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Clustering approach." Watch "Clustering approach." New topic

Clustering approach.


Joined: May 17, 2004
Posts: 16
I have few basic doubt about clustering....
a) How can we maintain single instance model / no duplicate instance across JVM (without terracota server)
b) Do we need any programatic code required for single instance (like keep the db locked and do not allow second server to create instance?
c) If my load balancer (app server level& hardware level) is perfect, still do I need any program/ code to handle?
thanks in adv.
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

Do you mean a Singleton class? If yes you'll need to use SingletonServices from weblogic.


Joined: May 17, 2004
Posts: 16
Thanks for your effort. I got few more info.

Many vendor has their own API approach for singleton way. below is the way for weblogic...

If you do not want to use API, you can go for JMS/DB/thirdparty JVM Clustering for the same.

It is sorta covered in the JavaRanch Style Guide.
subject: Clustering approach.
Similar Threads
How to program under clustering
regarding the commerce servers clustering
Weblogic Clustering Active-Passive
Connection pooling
one servlet container per server or per JVM?