Don't know if you would be interested in this approach, but we opted for a
much lighter-weight method of federating namespaces. We wanted a way to be
able to deploy different sets of EJBs on different hardware at the various
stages of development (dev, test, prod). In the jboss.xml file, we have an
entry like this for the EJB A that wants to access EJB B on a different box:
<ejb-ref>
<ejb-ref-name>ejb/EJB-B</ejb-ref-name>
<jndi-name>jnp://someotherserver.mycompany.com:1099/ejb/EJB-B</jndi-name>
</ejb-ref>
With this approach, the only thing that ever needs to change if you move an
EJB from one system to another is the deployment descriptor.
----- Original Message -----
From: "Brian Towles" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 07, 2002 11:28 AM
Subject: [JBoss-user] Best Method for Cross Server EJB Comunication
>
> Howdy
>
> Im going to be implementing a set of cross server bean calls (one
> stateless EJB calling another on a different server) in a non clustered
> environment.
>
> Instead of just doing normal initial context lookups of the home and
> pointing to from server A to server B's JNDI tree im wondering if there
> is an easier more generic way..
>
> Something like being able to tie server B's JNDI tree to a certain point
> in server A's
>
> Or maybe some pattern to make this an easier task to even reduce boot up
> order of the servers. Persistent Remote Home reference or some such...
>
> Thanks
> -=Brian
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user