Hi,
I am new to
EJB and preparing for the EJB 3.1 certification. I have a couple of doubts on the following:
1. If my session bean provides a local client view, does that mean local to the ear or local to the JVM. What I mean to say is that any component say a
servlet in earA can it access the bean in earB within the same JVM using the local client view.
2. If my session bean provides a remote client view, then how does the remote client get to know about methods in my session bean. Also do we need to import ejb jar to the remote client, consider that my session bean is in say
jboss container and the remote client in a
tomcat container. How does dependency injection works in such a case considering the fact that the underlying api and the implementation would be different for different container types.
Regards,
Saurav