[ajug-members] Scheduler in Webogic 8.1 environment ?
Joe Sam Shirah
joe_sam at bellsouth.net
Sat Apr 7 14:17:44 EDT 2007
Hi Sony and Barry,
Timers were introduced in J2EE 1.4. This is probably the "blessed" way
since user threads are pretty much frowned on in managed environments.
While Quartz specifically says "virtually any J2EE or J2SE application..." I
would double verify potential thread behavior before using it or any other
option.
That's not to put down Quartz or others, just another consideration,
although it's one that is often overlooked or ignored. I have a client with
an architect who was once a Sun employee. He was pooh-poohing my design
until he finally said, "Why do you do it x-way?" I responded, "No user
threads in JEE." After a few moments he said, "Oh, yeah..."
For info on Timers, see:
ONJava.com -- Using Timers in J2EE Applications
http://www.onjava.com/pub/a/onjava/2004/10/13/j2ee-timers.html
Using the Timer Service
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Session5.html
JSR 236: Timer for Application Servers
http://jcp.org/en/jsr/detail?id=236
Joe Sam
Joe Sam Shirah - http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: http://www.ibm.com/developerworks/java/
Just the JDBC FAQs: http://www.jguru.com/faq/JDBC
Going International? http://www.jguru.com/faq/I18N
Que Java400? http://www.jguru.com/faq/Java400
----- Original Message -----
From: "Barry Hawkins" <barry at alltc.com>
To: "General AJUG membership forum (100-200 messages/month)"
<ajug-members at ajug.org>
Sent: Saturday, April 07, 2007 12:29 PM
Subject: Re: [ajug-members] Scheduler in Webogic 8.1 environment ?
> If there is a JSR and an implementation, I don't know anyone using it.
> The standard that has emerged (rather than some JCP attempt at
> innovation by committee) is Quartz[0]. Pretty excellent library for
> scheduling of automated tasks in Java.
>
> [0] - https://quartz.dev.java.net/
>
> Sony Antony wrote:
> > Is there a J2EE level specs for job scheduling ?
> > If not is there one provided by Weblogic server 8.1 ?
> >
> > We want certain jobs to run at specified time.
> >
> > Thanks
> > --sony
> [...]
>
> --
> Barry Hawkins
> All Things Computed
> site: http://www.alltc.com
> weblog: http://www.yepthatsme.com
>
> Registered Linux User #368650
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
More information about the ajug-members
mailing list