Have had quite a few chaps usually put the jndi names in something as simple as a resource bundle/properties file. Then it wouldn't need a recompile of code.... an option you might want to try? However, I must add that it is recommended by folks at jboss that ejbs that are referenced by one another be bundled together in a single jar.......
 
Your views?
 
Vinay

----- Original Message -----
From: Guy Rouillier
Sent: Tuesday, May 01, 2001 8:07 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] It never finds beans in another *.jar's

I'm going to be doing this in the near future, so I took a look at the docs.  It said to use a jndi-name like this:
 
<jndi-name>t3://otherserver/application/beanB</jndi-name>
     
If I understand this correctly, the JNDI name is the name we use in the ctx.lookup() call.  With the above, a lookup for an external EJB on the same JBoss is different from a lookup for the same EJB on a different JBoss.  Wouldn't that require a source code change?  That would not be good.
----- Original Message -----
To: JBOSS
Sent: Sunday, April 29, 2001 11:47 AM
Subject: Re: [JBoss-user] It never finds beans in another *.jar's

Hi,
     Check out the section 'External EJB Reference' in chapter 6 in the online documentation for jboss at www.jboss.org\documentation\HTML\ch06s05.html
 
Vinay



Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to