-
1. Re: Two Jboss in one Network
wdfink Oct 25, 2010 4:42 AM (in response to ceene)I suppose you mean a EntityBean which data you want to show in a different application.
I prefer to separate this beans into a component and deploy it to both instances.
A remote access will be slow and is only possible if you use EJB2.x ;-)
-
2. Re: Two Jboss in one Network
ceene Oct 25, 2010 4:56 AM (in response to wdfink)I have a *.jar file and I would like to call a method from this file, but this *.jar file is in the same network, but on an other jboss.
I found something in the Internet. Jboss Messaging Bridge. Is this not a solution?
-
3. Re: Two Jboss in one Network
wdfink Oct 25, 2010 5:57 AM (in response to ceene)A method from a jar file, I'm confused
What kind of component it is?
BTW JBossMessagingBridge is for asynchronous JMS messaging system, nothing where are methots can be called.
-
4. Re: Two Jboss in one Network
ceene Oct 25, 2010 6:05 AM (in response to wdfink)I have a statelessSessionBean (Data.jar).
Is JBossMessagingBridge not for the communication between two servers?
-
5. Re: Two Jboss in one Network
wdfink Oct 25, 2010 7:20 AM (in response to ceene)If you have a SLSB you have to add the interfaces to your 'other' application and lookup and call the SLSB as a (remote)client.
A MessagingBridge is something to bring two different systems together, might be an EAP system or two different JMS systems.
But normaly it is asynchronous.
You talk about synchron method invocation.
-
6. Re: Two Jboss in one Network
ceene Oct 25, 2010 7:28 AM (in response to wdfink)SLSB (Stateless SessionBean I think)
I already done this, but the problem is, that the Bean must be in the same deploy-file and the same jboss as my application or not?