I am deploying Ejb3.0 Stateless session bean as a EAR file into jboss4.2.2 server.Deployment is sucessfull but i cant able to access it.
//Lookup code
Hello hello = (Hello) ctx.lookup("HelloBean/remote");
Exception comes as "HelloBean not bound"
When i deploy bean as
Ejb jar file its working fine, I can lookup bean, No exception and get correct output.
Please tell me If i deploy bean as a EAR file how to lookup.