title: Ejb jndi binding in java code
body: <p>The method is loading  a bean </p>
  
  <pre><code>Context ctx = new InitialContext();
  Object lookupResult = ctx.lookup("abilitecConsumerClient/local");
  </code></pre>
  
  <p>And another class</p>
  
  <pre><code>@Stateless
  @LocalBinding(jndiBinding="abilitecConsumerClient/local" )
  @Local()
  </code></pre>
  
  <p>What exactly does represent <code>abilitecConsumerClient/local</code>? Is that the path in my local machine that I need to look for this property file or the file I need it loads for this EJB JNDI binding name?</p>
  
  <p>If you can also give info how to specify a custom EJB JNDI binding name in JBoss EAP 6?</p>
  
  <p>This app is going to run on JBOSS EAP 6.</p>