[jboss-user] [JBoss Seam] - Re: Context management for custom servlets

christian.bauer@jboss.com do-not-reply at jboss.com
Wed Feb 6 11:51:28 EST 2008


Why would Seam support that? With lookup through Component.getInstance(), I can easily unit test methods of my servlet, even without running the servlet in an actual servlet container, just instantiating it in a SeamTest. If I'd use injection, I'd have to run a servlet container that has the special injection magic.

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

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



More information about the jboss-user mailing list