If you look it up through the MBean Service and use whats passed back by that 
then yeah. It's basically a pass by reference. So its no different (to your 
ejb) than doing a remote or local lookup of an ejb.

We have ejbs use MBeans all the time. The only time you need to be careful is 
when you get them tangled up... Like for example having an EJB call an entity 
bean which calls a service which calls the same entity bean... Stuff like that 
is a problem.

In short EJB -> MBean = fine. Spec is preserved.

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to