EJB design: Calling method on bean which are not there in remote
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.
- Posted by: Pranav Kamkhalia
- Posted on: October 12 2000 11:09 EDT
Is there a workaround.Can anyone guide me with this
- 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
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.
No, because doing so will defeat the whole purpose of having an EJB container.