title: Migrate EJB + WAR to Jboss EAP6
body: <p>I have a .jar with EJBs and a .war that invokes these EJBs.</p>
  
  <p>They used to be deployed in a Jboss SOA Platform 5 and now must be in a Jboss EAP 6.</p>
  
  <p>The .war is looking up the EJBs with <code>ejbname/remote</code>. This is hardcoded (I checked with a decomplier).</p>
  
  <p>I know that, in EAP 6, the EJBs are registered in the JNDI like <code>[/&lt;application-name&gt;]/&lt;module-name&gt;/&lt;bean-name&gt;[!&lt;full-qualified-interface-name&gt;]</code>.</p>
  
  <p>Is there any way for me to change the JNDI registry name of the EJBs. Maybe via Jboss CLI?</p>
  
  <p>I only have the binaries and have no access to the source.</p>