I don't know much about JMX, but from what I have read it is a system
management API, similar to say, SNMP.  Why would you use it to implement
business functionality in this way?  Surely you would be pulling in a lot of
libraries just to perform this function?


> -----Original Message-----
> From: Rickard �berg [SMTP:[EMAIL PROTECTED]]
> Sent: 30 November 2000 07:54
> 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".

Reply via email to