users@glassfish.java.net

Re: Scheduled task

From: Markus KARG <markus.karg_at_gmx.net>
Date: Sat, 01 Mar 2008 09:39:35 +0100

Wow, that sounds pretty cool! This is something we had to work around
for years using JCA. :-) Is there some blog or stuff that explains what
else is planned in EJB 3.1 in simple words?

Thanks
Markus

glassfish_at_javadesktop.org schrieb:
> Though it won't help solve your issue right now, just wanted to let you know the programmatic timer creation limitation is something we're aware of and plan to address in EJB 3.1 (http://jcp.org/en/jsr/detail?id=318)
>
> The JSR is still in progress but based on initial discussions the use-case you mentioned would look something like the following :
>
> @Stateless
> public class TaskBean {
>
> // Automatically create a timer that calls this method every minute
> @Schedule(minute="*", hour="*")
> public void timeout() {
> ...
> }
> [Message sent by forum member 'ksak' (ksak)]
>
> http://forums.java.net/jive/thread.jspa?messageID=261694
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
http://www.xing.com/go/invita/58469