[jboss-user] [EJB 3.0] - anyway to findout which ejbs are available remotely/locally

jainsau do-not-reply at jboss.com
Tue Jul 31 10:01:21 EDT 2007


Is there a way to find out at runtime (by enquiring the conatiner ?) whether an EJB is available locally or remotely so that I can access the correct proxy without knowing the deployment details? 

I need to know this so that I can get the benefits of locally available ejbs. One  approach could be to try and first look up a local proxy if available. If it is availbale then use it, otherwise look up the remote proxy and use it. But this requires two lookups in the remote proxy case. Can this be optimized further?

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

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



More information about the jboss-user mailing list