×

Loading...

Dear Jabber, Could you please give me a hand?(also about EJB)

This time I face the problem about calling methods between EJBs. For example, if there are two beans, how to call the method of bean A from bean B. I know the getEJBObject( ) method is useful under such condition. But how to pass a reference to the second bean and is it necessary to call method by Home Interface just regarding the first bean as a client?

Furthermoe, if the two beans are in different containers, is the solution the same?
Report