On 21 Aug 00, at 10:34, Sebastien Alborini wrote:
>
> Is the jboss.xml section really needed? Can't we just look for a bean
> that matches the class names? (that was the use of my
> ApplicationMetadata.getJndiFromHome(), from jboss1.0)
>
Hi Sebastien,
There can be more than one deployment of an EJB component with
the same class names. There are many reasons that this might
occur. Some of the possibilities: environment entries are different;
links to resources or other EJBs are different; proprietary
information (e.g. "read-only" status and caching strategy for entity
beans) is different.
There is a one-to-many relationship between class names and
JNDI names to support multiple deployments.
-Dan