1 of 1 people found this helpful
Apart from static hack with KernelLocator, this is probably the best you can do -- but you need access to ServletContext:
Thanks, I will try this.
I thought about another idea to achieve the connection. I can implement the actual logic as an MC bean exposing it as JMX MBean so that the web service will just have to invoke it.