PDA

View Full Version : CanDI in SE


swiegersf
06-15-2010, 08:12 AM
Is it possible to bootstrap a CanDI injection manager in a normal SE environment (similar to what Weld has done)? I'm developing a client-server application using Resin+Hessian, and find it frustrating that I have to use Weld on my client side and CanDI on the server side (and besides, I find CanDI to have much better performance).

emil
06-15-2010, 11:50 PM
Hi,

Have you taken a look at the ResinBeanContainer? It might do what you need:

http://caucho.com/resin-javadoc/index.html?com/caucho/resin/ResinBeanContainer.html

If it doesn't, please let us know what's missing.

Thanks,
Emil

swiegersf
06-17-2010, 11:04 AM
Thanks Emil, that seems to do the trick!