Hi
I have some get and set methods in my remote interface.
For accessing these methods,Do I need to create the instance of the remote interface inside the bean class?
Thanks
Selvaraj
-
Remote interface and Bean class (1 messages)
- Posted by: Majic Robot
- Posted on: February 27 2001 15:25 EST
Threaded Messages (1)
- Remote interface and Bean class by goldenbean instance on February 27 2001 16:23 EST
-
Remote interface and Bean class[ Go to top ]
- Posted by: goldenbean instance
- Posted on: February 27 2001 16:23 EST
- in response to Majic Robot
Hi,
Your remote interface will be implemented by the
ejb container as EJB object.To call the get/set methods
from client you have to get the Home object reference by
JNDI lookup,once you get the Home object reference you can
call create method of the Home object,which will return the EJB object reference.By using this you can call all business methods exposed by the Remote interface.
Bye
Rama