TimerService from EJB 3.1

View: New views
6 Messages — Rating Filter:   Alert me  

TimerService from EJB 3.1

by Q Beukes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey,

Does OpenEJB 3.1 perhaps support the container manager timers yet?

Quintin Beukes

Re: TimerService from EJB 3.1

by Jean-Louis MONTEIRO :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AFAIK, yes it does.

Jean-Louis

Q Beukes wrote:
Hey,

Does OpenEJB 3.1 perhaps support the container manager timers yet?

Quintin Beukes

Re: TimerService from EJB 3.1

by David Blevins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Right, we have complete support for EJB 3.0 and prior.  Timers were  
added in EJB 2.x.  The new @Schedule annotation of EJB 3.1 is still  
unimplemented.

-David

On Oct 14, 2009, at 4:03 AM, Jean-Louis MONTEIRO wrote:

>
> AFAIK, yes it does.
>
> Jean-Louis
>
>
> Q Beukes wrote:
>>
>> Hey,
>>
>> Does OpenEJB 3.1 perhaps support the container manager timers yet?
>>
>> Quintin Beukes
>>
>>
>
> --
> View this message in context: http://www.nabble.com/TimerService-from-EJB-3.1-tp25873410p25889028.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>
>


Re: TimerService from EJB 3.1

by Quintin Beukes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's interesting. I thought timers were 3.1. About 14 months ago I
was looking high/low for a way to schedule routine tasks
(hourly/daily/etc - the cron type of things) in my EE app, and
everyone the appserver list told me I'd need to use JMX as that's the
only option. Timers would have done the trick, even though @Schedule
is closer to cron.

Thanks.

Quintin Beukes



On Thu, Oct 15, 2009 at 4:01 AM, David Blevins <david.blevins@...> wrote:

> Right, we have complete support for EJB 3.0 and prior.  Timers were added in
> EJB 2.x.  The new @Schedule annotation of EJB 3.1 is still unimplemented.
>
> -David
>
> On Oct 14, 2009, at 4:03 AM, Jean-Louis MONTEIRO wrote:
>
>>
>> AFAIK, yes it does.
>>
>> Jean-Louis
>>
>>
>> Q Beukes wrote:
>>>
>>> Hey,
>>>
>>> Does OpenEJB 3.1 perhaps support the container manager timers yet?
>>>
>>> Quintin Beukes
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/TimerService-from-EJB-3.1-tp25873410p25889028.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
>
>

RE: TimerService from EJB 3.1

by meetoblivion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well cron style works as well, with an interesting little caveat due to the fact that any timers that went off while the app server were down should be run when restarted during a failure.  I'm working on a project around this principal actually, converting a bunch of old perl scripts to something a bit more modern.  We ended up using a standalone process w/ openejb and created a scheduler based on the scripts.  It works good, but when I start the container all of the jobs kick off, but then resume typical operation.

Ironically, it's exactly what the spec describes to be what should happen.

- John

-----Original Message-----
From: Quintin Beukes [mailto:quintin@...]
Sent: Thursday, October 15, 2009 4:06 AM
To: users@...
Subject: Re: TimerService from EJB 3.1

That's interesting. I thought timers were 3.1. About 14 months ago I
was looking high/low for a way to schedule routine tasks
(hourly/daily/etc - the cron type of things) in my EE app, and
everyone the appserver list told me I'd need to use JMX as that's the
only option. Timers would have done the trick, even though @Schedule
is closer to cron.

Thanks.

Quintin Beukes



On Thu, Oct 15, 2009 at 4:01 AM, David Blevins <david.blevins@...> wrote:

> Right, we have complete support for EJB 3.0 and prior.  Timers were added in
> EJB 2.x.  The new @Schedule annotation of EJB 3.1 is still unimplemented.
>
> -David
>
> On Oct 14, 2009, at 4:03 AM, Jean-Louis MONTEIRO wrote:
>
>>
>> AFAIK, yes it does.
>>
>> Jean-Louis
>>
>>
>> Q Beukes wrote:
>>>
>>> Hey,
>>>
>>> Does OpenEJB 3.1 perhaps support the container manager timers yet?
>>>
>>> Quintin Beukes
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/TimerService-from-EJB-3.1-tp25873410p25889028.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>
>>
>
>

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.17/2436 - Release Date: 10/14/09 18:32:00


Re: TimerService from EJB 3.1

by David Blevins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Oct 15, 2009, at 2:05 AM, John D. Ament wrote:

> Well cron style works as well, with an interesting little caveat due  
> to the fact that any timers that went off while the app server were  
> down should be run when restarted during a failure.  I'm working on  
> a project around this principal actually, converting a bunch of old  
> perl scripts to something a bit more modern.  We ended up using a  
> standalone process w/ openejb and created a scheduler based on the  
> scripts.  It works good, but when I start the container all of the  
> jobs kick off, but then resume typical operation.
>
> Ironically, it's exactly what the spec describes to be what should  
> happen.

Right, we're definitely open to some contributions there if anyone  
wanted to take a stab at it.

We always have an open door policy regardless, but this area in  
particular would be a nice spot to dig in.

-David