Use WebSphere bindings to define EJB JNDI names

The JNDI names of EJB's in the global JNDI tree can be specified in the WebLogic deployment descriptor. This rule detects the presence of the <jndi-name> element in the weblogic-ejb-jar.xml.

weblogic-ejb-jar.xml
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>MyBean</ejb-name>
<jndi-name>/mybean</jndi-name>
...
</weblogic-enterprise-bean>
</weblogic-ejb-jar>

An automated fix will migrate the EJB JNDI names from the weblogic-ejb-jar.xml to the WebSphere traditional or Liberty bindings file. Alternatively, Liberty elements can be set in the server.xml.