Is your client running in the same environment to make DI work? If you are calling client from outside
you can't use DI and you need to use JNDI look up to get reference to JDBC resource. If you want to
use DI from client try running client in ACC.
Hope this helps.
Sai Surya, SCJP 5.0, SCWCD 5.0, IBM 833 834
http://sai-surya-talk.blogspot.com, I believe in Murphy's law.
posted 10 years ago
Yes. I am running the client (a web project ) and ejb (ejb project) on the same Glassfish server. I am using eclipse and configured the projects correctly. I am able to access the Session bean created on ejb project from the client project.