Can i call a method that is member of bean and is not listed in remorte interface. Suppose my one bean is acting as a client to my another bean, then can i call that method(not listed in remote) on orther bean.
Is there a workaround.Can anyone guide me with this
Pranav
-
Calling method on bean which are not there in remote (2 messages)
- Posted by: Pranav Kamkhalia
- Posted on: October 12 2000 11:09 EDT
Threaded Messages (2)
- Calling method on bean which are not there in remote by Pratap Das on October 12 2000 13:55 EDT
- Calling method on bean which are not there in remote by Dimitri Rakitine on October 13 2000 04:41 EDT
-
Calling method on bean which are not there in remote[ Go to top ]
- Posted by: Pratap Das
- Posted on: October 12 2000 13:55 EDT
- in response to Pranav Kamkhalia
Pranav,
No, you cannot call a bean's method directly. According to the EJB specs all calls to beans whether it is from a servlet or a standalone Java application or whether it is another bean itself has to be thru the bean's remote interface.
--Das -
Calling method on bean which are not there in remote[ Go to top ]
- Posted by: Dimitri Rakitine
- Posted on: October 13 2000 04:41 EDT
- in response to Pranav Kamkhalia
No, because doing so will defeat the whole purpose of having an EJB container.