[jboss-user] [EJB 3.0] - Re: @EJB injection in JBoss 5 application clients?

Wolfgang Knauf do-not-reply at jboss.com
Fri Oct 24 04:44:06 EDT 2008


In addition: spec chapter 9.4 says this:

anonymous wrote : Injection is also supported for the application client main class. Because the application client container does not create instances of the application client main class, but merely loads the class and invokes the static main method, injection into the application client class uses static fields and methods, unlike other Java EE components. Injection occurs before the main method is called.

Stateful session beans should work as well as Stateless beans or any other injection type.

Wolfgang

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

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



More information about the jboss-user mailing list