JBoss does not validate the ejb-jar.xml elements and has very loose checking on method-param elements of container-transaction descriptors at runtime. The imact of this is near zero until we do periodic WebLogic builds where we have to fix all of the accumulated "errors". Can we enable more strict checking of DDs?
For example, the trans-attribute is out of place here and if there was no class com.acme.Baz or even a method bar() everything would delpoy ok on JBoss.
<container-transaction>
<trans-attribute>Required</trans-attribute>
<ejb-name>FooBean</ejb-name>
<method-name>bar</method-name>
<method-params>
<method-param>com.acme.Baz</method-param>
</method-params>
</container-transaction>
Enable DTD validation on the EJB deployer in conf/jboss-service.xml