ejb.localNamePrefix

The ejb.localNamePrefix and ejb.localNameSuffix Ant properties define the suffix and prefix, respectively, for JNDI names bound to local interfaces in the module. Each local interface is bound to a JNDI name comprised of the prefix, the suffix, and the name of the enterprise bean.

To add additional name bindings, add <bind> commands to your user configuration script. For example:

<target name="configure-user">
  <setProperties package="ejb.components.myjar">
     <bind name="myapp/MyComp"
           component="ejb.components.example.MyCompRemoteHome"/>
     <bind name="myapp/MyOtherComp" 
           interface="com.example.bank.MyOtherHome"/>
     <bind name="java:comp/env/ejb/MyComp"
           component="ejb.components.example.MyCompRemoteHome"/>
  </setProperties>
</target>