I am trying sample stateless session bean on JOnAS server.It is deployed sucessfully.But when i try to connect from stand alone java program it is throwing NameNotfoundException.
I checked in console of JOnAS the bean is available.But still why it is throwing NameNotfoundException.
I hope may be any error in client program.here is my client program
Is there any error in my properties, that i added in intial context.
Is this the jndi name of the local reference or a remote reference? The reason i ask is, you *cannot* lookup a local reference from outside the same JVM(in your case standalone application).