wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Clustering in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Clustering in Jboss" Watch "Clustering in Jboss" New topic
Author

Clustering in Jboss

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

How does Jboss clustering compare with clustering provided by Weblogic? Thanks.


Groovy
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
I don't use weblogic clustering. I'm not a multi-millionaire.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Originally posted by norman richards:
I don't use weblogic clustering. I'm not a multi-millionaire.


What are the various components that can be clustered ? Where can I get a document which will me let me know me know more about Jboss Clustering. Thanks.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Pradip Bhat:
Where can I get a document which will me let me know me know more about Jboss Clustering.

Here you go: JBoss Clustering (PDF, 1mb)

In short, just like any other application server that advertises clustering support, JBoss provides a clustered JNDI tree and EJB components are all clustered of course. Other than that, someone else will have to fill in the blanks.

By the way, I would be especially interested in knowing whether JBoss supports clustered JMS queues or topics?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Originally posted by Lasse Koskela:
By the way, I would be especially interested in knowing whether JBoss supports clustered JMS queues or topics?

Clarification: the above document doesn't seem to say much about JMS...
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
The current JMS implementation (there is a new one that will be out soon) is deployed using the ha-singleton mechanism in JBoss. The JMS service only runs on one node of the cluster at any time.It's more of a master/slave type of architecture. If the master node fails, JMS is activated on a different node.
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
The most important clustered service is HTTP state replication. This is built on top of JBoss Cache. JBoss also supports failover for remote EJBs and state replication for stateful session beans. If you are using hibernate, or using EJB3 entity beans, you can use a clustered 2nd level cache. (using JBoss Cache support takes about 2 lines of configuration to configure)
Cameron Purdy
Greenhorn

Joined: Sep 24, 2002
Posts: 9
Weblogic and jboss clustering have similar goals and feature checklists, but they are two completely different implementations, so they could differ substantially in throughput, reliability, availability, scalability, performance, etc.

Also check out Coherence. It is unparalleled for its scalable performance, supporting sites with loads of over 100,000,000 pages per day.

Peace.


<a href="http://www.tangosol.com/" target="_blank" rel="nofollow">Tangosol, Inc.</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence</a>: Easily share live data across a cluster!
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Thanks guys. Where can I get more info on Jboss Cache ? Is it proprietary implementation or implementation of some JSR?
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 292

You can get all the info about JBossCache here

As far as I am aware, it is not based upon any JSR.

Cheers,

Dave.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Thanks Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clustering in Jboss