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?