aspose file tools*
The moose likes JBoss/WildFly and the fly likes clustering local interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "clustering local interfaces" Watch "clustering local interfaces" New topic
Author

clustering local interfaces

Sajid Moinuddin
Ranch Hand

Joined: Mar 19, 2005
Posts: 85
Hi all,
We have developed an web based application on a single jboss server. We have stateful session bean/ stateless session bean/ entity beans. However, Since all the clients of ejb are in the same container, we have implemented the whole module using local interface. None of our components so far has remote interface. Now, we want to cluster the system. bypassing the ejb clustering/stateful session bean clustering is not an option for us.
Now, My question is can we cluster the whole system with the local interfaces so far we have used? We want session state replication of stateful session beans. I want to understand the whole picture before rushing into any perticular solution. any help will be much appriciated.
Regards,
Sajid.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

Yes, in a cluster you will have all local calls to the same node you are calling.

What I mean is that the client access remotely, once it gets access, the inner calls on the cluster will all be within one node (all local).

It is NOT client calls one node to call the stateless session bean, then the stateless to the stateful session bean goes to a completely different node, then the call from the stateful session bean to the entity bean goes to a completely different node.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: clustering local interfaces