[jboss-dev-forums] [Design of POJO Server] - Re: JSR-299 servlet injection

pete.muir@jboss.org do-not-reply at jboss.com
Thu Mar 5 18:55:04 EST 2009


I think the simplest way to do this is to delegate injection to the JSR-299 implementaton (Web Beans) rathen than replicate a load of binding discovery code in JBoss AS, and then calling out to Web Beans to find the value. However, we can do this work in JBoss AS if preferred.

>From looking at org.jboss.injection, I assume we need a WebBeansInjector extends Injector whose inject method knows how to connect to Web Beans and perform the injection. So far we've managed to keep Web Beans much more out of the core of JBoss than this and it would be better to keep it that way if possible.

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

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



More information about the jboss-dev-forums mailing list