Hello,
What will getEJBObject () and getEJBHome () return in EJB class itself? Say, I call these two methods of a business method of an entity bean, what would I get back?
Is it remote reference of EJBObject? If it is so, how is it possible to get a remote reference of EJBObject at the serve side?
Thanks in advance.
Soumen Ghosh
-
getEJBObject (1 messages)
- Posted by: Soumen Ghosh
- Posted on: April 22 2003 01:02 EDT
Threaded Messages (1)
- getEJBObject by Bala Kamallakharan on April 22 2003 09:46 EDT
-
getEJBObject[ Go to top ]
- Posted by: Bala Kamallakharan
- Posted on: April 22 2003 09:46 EDT
- in response to Soumen Ghosh
getEJBObject will return the remote reference of the bean. The remote interface that you create for the bean extends EJBObject...and the app server vendor generated code will know how to get the reference of the said bean. Look at the JavaDoc of these methods or refer to Richard Mohnson-Haefel's Enterprise JavaBean book.