EJB design: Calling method on bean which are not there in remote

  1. 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

  2. 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.
  3. No, because doing so will defeat the whole purpose of having an EJB container.