1 Reply Latest reply on Oct 5, 2007 9:51 AM by wolfc

    Session bean as a return parameter

    colineberhardt

      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.