geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karan singh malhi <>
Subject Re: [jira] Created: (GERONIMO-340) Add support for ejb-ref resolution by matching on the ejb interfaces
Date Thu, 30 Sep 2004 22:51:24 GMT
Thanks Dain,

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

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. 

On Thu, 2004-09-30 at 18:42, Dain Sundstrom wrote:
> On Sep 30, 2004, at 3:31 PM, karan singh malhi wrote:
> > Some applications assume that ejb-refs can be resolved by matching on
> > interface types.
> >
> > What does this mean?
> Some applications like Petstore (at least the version Rajesh used) 
> don't have ejb-links so you have to resolve the reference by hand (a 
> total PITA).  As a last resort the deployment code can search the ear 
> for an ejb with a matching home and remote interface.  Assuming we only 
> find one matching ejb, we will use that one for the ref.  If we find 
> two or more matches, you would get an AmbiguousEJBRefException, and if 
> we find none you would get a DeploymentException.
> -dain

View raw message