users@glassfish.java.net

Re: EJB 3 Timers

From: <glassfish_at_javadesktop.org>
Date: Tue, 18 Aug 2009 07:02:51 PDT

Hi,

I also think that you need to annote the TimerService with @Resource, otherwise the TimerService is not injected. Like this:
    @Resource
    private TimerService timerService;

When you have deployed the EJB then you can look it up in the IntialContext, right.

Cheers
Chris.
[Message sent by forum member 'chrjohn' (chrjohn)]

http://forums.java.net/jive/thread.jspa?messageID=360969