[jboss-dev-forums] [Design of POJO Server] - Re: Updating docs
adrian@jboss.org
do-not-reply at jboss.com
Thu Sep 28 10:20:30 EDT 2006
"scott.stark at jboss.org" wrote :
| I believe you, but its not clear how the dependecies are going to be added. If I have simple deployers parsing annotations and descriptors to build the metadata instance graphs, there needs to be a resolution phase for references that can introduce the approriate dependency as a by product of resolving the reference to the ejb, queue, datasource, etc.
|
P.S. I didn't say it would easy. This is one reason why I didn't
complete the MetaData stuff since it needs some real world
implementation/usage to flush out all the details.
The basics seem easy to me?
real deployer -> decide scopes (mutable and full)
metadata deployer -> populate ad hoc metadata at the defined scope
The part that is hard (especially when you get the kind of
ad hoc, ill thought out rules in the javaee specs) is:
user deployer -> process the metadata from this full scope into some bean
deployment that can take part in the dependency mechanism
The staged deployers help since all the real deployers
(defining the scopes) and metadata deployers (populating the metadata)
are done before the user deployers are run.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974892#3974892
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974892
More information about the jboss-dev-forums
mailing list