@LocalBinding(jndiBinding="sample/student")
in EJB 3.0 is used to give preferred JNDI name to EJB bean.
And to lookup using defined JNDI name, the code used is
Context c = new InitialContext();
studentBean = (studentlBean) c.lookup("sample/student");
How this can be performed in EJB 3.2 as @LocalBinding
is not supported in EJB3.2 wildfly 8 application server. Please help.