[jboss-dev-forums] [Design of EJB 3.0] - Re: webservices ejb3 api usage
heiko.braun@jboss.com
do-not-reply at jboss.com
Tue Mar 11 13:54:27 EDT 2008
Taking a closer look shows that we can use the KernelController to lookup the bean container:
| KernelController houston = KernelLocator.getKernel().getController();
| if (houston.getInstalledContext( objectName.getCanonicalName() ) == null)
| throw new WebServiceException("Cannot find service endpoint target: " + objectName);
|
This leaves us with a lookup by ObjectName, in which I don't see a problem. The MC API could be considered stable I think.
- Any objections regarding the use of SessionContainer.localInvoke(...)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4135727#4135727
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4135727
More information about the jboss-dev-forums
mailing list