@Local annotation in EJB 3.
- by stratwine
Hi,
I have a stateless session bean and a standalone-java-program acting as a client. The bean method executes just fine when the interface is marked @Remote. However,when I mark that interface with @Local instead of @Remote, I get the following Exception.
[java] javax.naming.NamingException: Could not dereference object [Root exception is…