Rickard �berg wrote:

> > Not quite sure I follow you.  What is, or should be, the technical
> > difference in jboss between an internal and an external link?  Can't
> > they both be LinkRefs in JNDI?
> 
> Nope. The internal link should be directly bound to the linked beans
> home (since we have it internally), and an external link is just a
> LinkRef(externalJndiName). External links can be to a bean in a Weblogic
> server somewhere.

About internal links: I've been looking at the linking you did in
Container:
http://cvs.working-dogs.com/ejboss/cvsweb/index.cgi/jboss/src/main/org/jboss/ejb/Container.java?rev=1.21&content-type=text/x-cvsweb-markup

It went into a quite complicated stuff (inner class) to ensure lazy
loading. IMHO a linkref would be a simpler way to do the same: from what
I understand of org.jnp.interfaces.Namingcontext, the link is not
resolved until it is looked up. What do you mean by "it should be
directly bound since we have it internally"?


> We could, but wouldn't recommend it. There may be several beans with a
> given home/remote combo.

ok. 

> 
> > > EjbRefMetaData must be updated with correct semantics, and BeanMetaData
> > > must also be updated to account for the jboss.xml information.
> > > Sebastien, you are set as author, can you make these changes please?
> >
> > Sure, as soon as I get it :)
> 
> Clearer?

Much, thanks.

Sebastien

Reply via email to