[jboss-dev-forums] [Design of EJB 3.0] - Re: @Service and @Consumer in metadata
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Thu May 22 18:09:33 EDT 2008
I've trying to follow this idea and this is what I think the big picture should look like:
1) the spec and jboss deployment descriptors are parsed and merged into the JBossMetaData
2) the spec and jboss annotations are parsed and also merged into the JBossMetaData (this I still think should be done in one go since the source is the same unlike XML and to avoid duplicate parsing of the spec annotations)
3) merge the two instances of JBossMetaData obtained on the previous steps with the DDs as the override.
I already wrote JBoss50Creator which parses EJB3 annotations and produces JBossMetaData (not committed at the moment)
I am currently missing the step 3). So I am going to add another merge method for JBossXXXMetaData classes that will merge JBoss metadata.
Any other suggestions/ideas?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152834#4152834
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152834
More information about the jboss-dev-forums
mailing list