[jboss-dev-forums] [Design of EJB 3.0] - Re: Need to deploy based on a metamodel

anil.saldhana@jboss.com do-not-reply at jboss.com
Thu Nov 2 17:43:55 EST 2006


I have an immediate need in that if the user has configured specific rolename-principals mapping in jboss-app.xml, then those need to be picked up by ejb3 metamodel.  

These security role mappings get merged in the ejb21 and web meta data world. But the ejb3 meta model (based on independent JBossXB) is not doing the merge. The metadata parsed for the ear (J2EEApplicationMetaData) is available to the EJB3 deployment, but it is not using it.

A concern I have is that due to this merge (J2EEApplicationMetaData->security Roles) into the ejb3 AssemblyDescriptor ->security roles, there will be a link between ejb3 metamodel and the old org.jboss.metadata due to the use of J2EEApplicationMetaData/SecurityRoleMetaData. I know the original intent of ejb3 metamodel was not to use the old metadata infrastructure for ejb21/web.

I guess since this is all temporary and there will be an effort for an unified metadata from either Adrian or Bill, I am adding this change.

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

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



More information about the jboss-dev-forums mailing list