users@glassfish.java.net

Re: Debug _at_EJB (javax.ejb.EJB) annotation in Web Application

From: NBW <emailnbw_at_gmail.com>
Date: Mon, 16 Mar 2009 15:29:48 -0400

My understanding is that the need to define them in the web.xml is
application server dependent, for example JBoss does not require this but
Glassfish does. They all really should be able to infer this information via
annotations directly.

On Mon, Mar 16, 2009 at 3:15 PM, <glassfish_at_javadesktop.org> wrote:

> So what you are saying is that in a POJO which represent REST resource
> there is no way to access an EJB (local interface) without define it inside
> web.xml?
>
> I thought that EJB3 should make things more simple.
>
> I've found this post (http://blogs.sun.com/sandoz/entry/ejb_injection)
> which explain how to simulate EJB injection until Java EE 6 will be
> implemented in jersey.
>
> Thank you all.
> [Message sent by forum member 'ido_ran' (ido_ran)]
>
> http://forums.java.net/jive/thread.jspa?messageID=337280
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>