File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "clustering local interfaces" Watch "clustering local interfaces" New topic

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.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: clustering local interfaces
It's not a secret anymore!