Hi guys,

Running on AS7 and RESTeasy 2.3.5, I'm trying to inject a mail session 
in my JAXRS endpoint using

  * The JAX-RS resource that handles notification specific tasks.
public class NotificationResource {

     private Session mailSession;

However the mailSession remains null, while the log indicate that 
'java:jboss/mail/Default' is bound.

Do I have to set something in the web.xml for the Resource annotation to 
be executed?



Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
Resteasy-users mailing list

Reply via email to