Hi All, I'm new to EJB, can anybody answer the following:- If I create a remote client(i.e. application) do I have to import the classes related to the Session Bean (i.e. Home, Remote and Session Bean); have the classes on the client machine. Using JNDI does the client need to know the location of the EJB or the identity of it's server. Thanks in advance.
posted 14 years ago
You need the stub of the bean to access or call it from your remote app Use JNDI to look up the bean , then get the handle of the home, create an ejbobject and then use the bean More on this , please refer javasoft.com thanks ragu