The easiest way to test your EJB is from a Servlet, which means you have to create a Dynamic Web Project in Eclipse.
Amandeep Singh Ghai
posted 3 years ago
How can I do JNDI lookup from application-client that is deployed together with EJB JAR in the same EAR file? I have seen several examples to connect remote-client to EJBs, but none that tells how to connect application-client (local EJB Client) to EJB using JNDI.