GeeCON Prague 2014*
The moose likes JBoss/WildFly and the fly likes JBoss Clustering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss Clustering" Watch "JBoss Clustering" New topic
Author

JBoss Clustering

amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
If the topic is not related to this thread, please let me know the appropriate thread to post.

I have a application where I am using a JBoss cluster. Please let me know how I can have my node interact with a JBoss instance outside this cluster.
Interaction like request dispatching to the outside JBoss instance.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10146
    
165

I'll move this to our JBoss forum.


[My Blog] [JavaRanch Journal]
amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
any updates?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

You need to provide more information on exactly what you are attempting to do. For example, my first thought on reading your post was that you want to know how to access EJBs or message destinations in the non-clustered server from your clustered servers. Is this what you want?


JBoss In Action
amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
No. I have a cluster. I want to access some method running on a server which is not a part of the cluster.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

What method? What server? What mechanism (EJB, messaging, web service, ???)?

Please provide a specific example.
amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
Accessing through webservices.
amol l a lekurwale
Ranch Hand

Joined: Oct 16, 2008
Posts: 30
Peter,
The server is Jboss. A service ( a simple core java class ) runs on a Jboss server which is outside my cluster. My service runs on a server which is a part of cluster. How will my service access the service running outside.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Your service will access the web service on the remote, stand-alone, JBoss server the same way that any other client would access that web service.

You never said which version of JBossAS, so I will assume 4.2.x using JAX-WS web services. You service would need to include the client files generated by wsconsume and use those files to communicate with the web service. One of those files contains the URL used to connect to the remote web service.
 
GeeCON Prague 2014
 
subject: JBoss Clustering