[jboss-dev-forums] [Design of POJO Server] - Re: JSR-299 servlet injection
alesj
do-not-reply at jboss.com
Wed Mar 18 10:57:01 EDT 2009
This looks too much of a hassle for a single Servlet injection.
Not to mention that it's not nearly done yet
or more fleshed out (at least I don't see it).
Looking at TomcatInjectionContainer just brings shivers to my bones :-),
it's one huge pile of different / mixed concepts,
some of them even done completely wrong - e.g. class instance being shared between diff method params / threads.
If we can nail down what this actually does or should do (who knows this?)
I can re-write it to use some of MC's logic regarding injection.
e.g.
* let JBossWeb invoke InstanceManager
* handoff instance creation to MC
* apply constraints as part of MC lifecycle
* examine for injections (as we already do for MC)
* "revert" this on destruction
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4219129#4219129
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4219129
More information about the jboss-dev-forums
mailing list