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



Reply via email to