[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thread question
Supporting it from the server would be nice. The alternative of having a
cron job executing a script that fires up a client that initiates the
process is not very pretty IMHO.
If I understand it correctly there is nothing in the 1.1 spec that forces an
EJB appserver to support scheduled execution of object methods but most
seems to have support for it. I know that for JBoss it is done as part of
JMX with a MBean to register the object that is using the
javax.management.timer.Timer class and others classes in javax.management.
SilverStream uses a proprietary component they call "Scheduled Business
Objects" that does the same thing (what to invoke and when)
----- Original Message -----
From: "Falko Braeutigam" <email@example.com>
Sent: Monday, February 12, 2001 2:18 PM
Subject: Re: Thread question
> On Sun, 11 Feb 2001, Tim Brown wrote:
> > Can anyone tell me how to have a database object run a
> > thread? I have a clock object I want to fire up its own
> > thread to track time. I get a unserializable error when I
> > try to start up the new thread. Is there a way to do this?
> No, not yet. ozone provides a managed environment to execute objects.
> Normally threads should not be started by those business objects. It is
> to provide a new kind of service by the ozone core. Something like a
> notification service or, even better, a generic service API. How does EJB
> non-useraction driven operations?
> Falko Braeutigam mailto:firstname.lastname@example.org
> SMB GmbH http://www.smb-tec.com