geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <dsundst...@gluecode.com>
Subject Re: [jira] Created: (GERONIMO-340) Add support for ejb-ref resolution by matching on the ejb interfaces
Date Thu, 30 Sep 2004 22:57:59 GMT
On Sep 30, 2004, at 3:51 PM, karan singh malhi wrote:

> Thanks Dain,
>
> How will the match be determined? is the ejb-ref name going to match 
> the
> home interface name?

No, and ejb-ref contains the name of the home interface and remote 
interface (or local and local-home).  Here is an example from one of my 
files:

     <ejb-ref>
         <ejb-ref-name>foo</ejb-ref-name>
         <ejb-ref-type>Session</ejb-ref-type>
         <home>org.acme.FooHome</home>
         <remote>org.acme.FooRemote</remote>
     </ejb-ref>

So we match using the two interfaces

> Is it possible that to remove ambiguity, we could make an entry into 
> the
> geronimo dd where we could map the ejb-ref with a fully qualified name
> of the home interface.

The goal is to not have geronimo dd for simple cases.  If you had a 
geronimo dd, you could either us the target-name (JSR 77 object name of 
the ejb) or an ejb-link.

-dain


Mime
View raw message