[jboss-dev-forums] [Design of EJB 3.0] - Re: JBossEjbParsingDeployer can't handle EJB3 jboss.xml

adrian@jboss.org do-not-reply at jboss.com
Mon Jul 2 06:23:33 EDT 2007


"wolfc" wrote : As for the order: at one point we must have a full set of meta data attached for use in the SecurityDeployer & WebServices.
  | Either we do parse & scan = complete or scan & parse = complete. Since xml overrides annotations my vote is for: scan then parse.

Actually, xml overrides annotations because they are different things! :-)

Class level metadata == annotations
Instance level metadata == xml (or predetermined attachments)

Instance (the Object level) overrides Class (shared across objects).
The order of populating does not matter if you get this basic fact correct.

See the hierarchical metadata stuff in the jboss-container project
which is also available in aop. This is how we allow instance level annotation
overrides in the microcontainer.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059556#4059556

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



More information about the jboss-dev-forums mailing list