I\'m using JBoss Server for EJB And I need JNDI in console app to get reference of session bean, console app code looks like this
import java.util.Properties
you may need add jboss-client.jar and jboss-ejb3-common-client.jar into your library