Injection support is not limited to Servlets or EJBs only. Please take a
look at /Table EE.5-1/(section #5.2.3) of /Java EE 5 platform
specification/ which lists all the possible kinds of classes where
injection is supported.
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> thanks for you reply.
> then how can I make it been managed?
> is there any approach?
> or @EJB can only be used in Servlets / xxx Beans?
>
> thanks !
> [Message sent by forum member 'ludongping' (ludongping)]
>
> http://forums.java.net/jive/thread.jspa?messageID=205941
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>