[jboss-user] [EJB 3.0] - Session bean as a return parameter

ColinEberhardt do-not-reply at jboss.com
Fri Oct 5 09:47:09 EDT 2007


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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092000#4092000

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092000



More information about the jboss-user mailing list