[jboss-user] [J2EE Design Patterns] - Reuse of j2ee modules in applications

ekrisjo do-not-reply at jboss.com
Sun Jul 16 17:13:52 EDT 2006


Hi all, 

I have a problem understanding how (assembled and tested) ejb-archives containing MDBs can be deployed in multiple applications without avoiding resource conflicts. To my knowledge, queues are bound (either by xml or annotations) when assembling the module (EJB) and not when assembling the application (EAR)...?

Servlet context can be bound on application level, global JNDI names for SLSBs can be generated on application level (referencing them with ENC). persitence.xml file can be application-defined which isolate datasources from eachother and overcome conflicts for reused entity beans.

But, for MDBs i have not found any similar way of lately bind a MDB to application-defined queues? 

Cheers,
-Kristoffer

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

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



More information about the jboss-user mailing list