The first issue for a component registry is how to build the keys that describe a
component. The most obvious starting point is that you have a structured name and indices
based on the different types of references. For ejb-link style references, you have a name
based on the deployment structure and ejb-name. For @EJB with a class, you have a name
based on the deployment structure and business interface class.
A source based on an ejb-name:
{vfs-url-base}/{root-deployment-name}/{ejb-deployment-name}/ejb-name - points to the
component metadata for the ejb-name component.
A source based on a business interface:
{vfs-url-base}/{root-deployment-name}/{ejb-deployment-name}/business-interface-class -
points to the component metadata for the component providing the business-interface-class
implementation.
Resolution of a reference then consists of trying various structured keys based on the
referencing component structure and type of reference.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084568#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...