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

Wolfgang Knauf do-not-reply at jboss.com
Fri Oct 24 05:58:14 EDT 2008


Carefully read the spec: "supported for the application client main class" ;-).

If you declare your injected EJBs as "public static" variables in the main class, you can access them from anywhere inside your client app.

Best regards 

Wolfgang

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

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



More information about the jboss-user mailing list