1 Reply Latest reply on Oct 5, 2007 9:51 AM by Carlo de Wolf

    Session bean as a return parameter

    Colin Eberhardt Newbie

      Just a quick question ...

      Is it OK for one session bean to return another as the return parameter of one of its business methods?

      i.e.

      class SessionBeanOne {

      public SessionBeanBeanTwo getBeanTwo()

      }

      Both are used via their local interfaces.

      I have tested the above and found that it works. However I am well aware that just because it works, does not mean that you should be doing this?

      Thanks,
      Colin E.