[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet
alesj
do-not-reply at jboss.com
Wed Apr 4 05:09:55 EDT 2007
Like I already written - when a bean is installed, register it into mbeanserver or jndi, and then pull it out in servlet.
Or you can always do a singleton approach - with setting underyling Kernel to static field, and accessing it later.
This is how JBossWS is doing it - look for KernelLocator.
As you could see, there is no binding layer yet on top of MC that would make things easier - but this is what JBoss Seam is about. We are looking into providing Seam + Microcontainer integration.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034443#4034443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034443
More information about the jboss-user
mailing list