[jboss-dev-forums] [Design of POJO Server] - Re: Handling component references

scott.stark@jboss.org do-not-reply at jboss.com
Fri Sep 14 12:35:51 EDT 2007


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#4084568

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084568



More information about the jboss-dev-forums mailing list