geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <>
Subject Re: [jira] Created: (GERONIMO-340) Add support for ejb-ref resolution by matching on the ejb interfaces
Date Thu, 30 Sep 2004 22:42:50 GMT
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.


View raw message