[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Dependencies to JBoss5 core components...

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Aug 13 13:01:52 EDT 2008


I aways assumed JNDI and Transactions as part of the core-services of the application server, in such way you don't really need to explicitly declare a dependency on those services.

I just learned that Transactions has moved to the /deploy area on JBoss5, what means if your service uses transactions, you need to explicit declare the dependency.

is that the right decision? Shouldn't everybody depend on the TransactionManager explicitly?

This would be the same as requiring services to depend on JNDI. A bit silly IMHO.

What guarantees we have the TransactionManager will aways load before JBoss Messaging (or the ServerPeer) if we don't have the declared dependency?

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

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



More information about the jboss-dev-forums mailing list