Can you send me some link/articles on same. As I'm not aware of the Startup
Classes.
thanks,
Tarun
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeffery, Myles
Sent: Thursday, November 30, 2000 2:17 PM
To: [EMAIL PROTECTED]
Subject: Re: How to do async processing in EJB?
Message beans are part of the EJB 2.0 specification. Therefore you will not
be able to use them.
An alternative solution is to use a propietary WebLogic feature: startup
classes.
With startup classes you can create as many threads as you like. They can
subscribe to WebLogic's timer service to create the timing notifications you
desire. When a notification occurs your thread can then call one of your
session beans.
Myles
-----Original Message-----
From: Tarun Dewan [SMTP:[EMAIL PROTECTED]]
Sent: 30 November 1998 08:33
To: [EMAIL PROTECTED]
Subject: Re: How to do async processing in EJB?
Hi,
Is JMX is a part of EJB 2.0 specs? I'm currently working on Weblogic
4.5
with EJB1.0 Specs.
Waiting for your response.
Bye,
Tarun
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard �berg
Sent: Thursday, November 30, 2000 1:24 PM
To: [EMAIL PROTECTED]
Subject: Re: How to do async processing in EJB?
Hi!
Tarun Dewan wrote:
> I need to perform timer-based processing on the server side. EJBs
does not
> allow creation of threads. How do I implement the feature?.
If your server support JMX (and more and more seem to do this) then
you
should do the timer as a JMX MBean component and use the JMX timer
service. When your component is notified you simply call some
session
bean to do the processing. I.e. use the MBean to "trigger" the
processing.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff EJB-INTEREST". For general help, send email
to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff EJB-INTEREST". For general help, send email
to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".