wood burning stoves 2.0*
The moose likes Websphere and the fly likes Deomon Threads in Web Sphere 5.0 ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Deomon Threads in Web Sphere 5.0 ??" Watch "Deomon Threads in Web Sphere 5.0 ??" New topic
Author

Deomon Threads in Web Sphere 5.0 ??

Siyaram Singh
Greenhorn

Joined: Jan 21, 2004
Posts: 28
Hi
Is there any optins in WebSphere 5.0 to launch and manage the Deomon Threads like garbage collector, would be used by the application.
Our application needs Online batch job processing. Application would take the client request submission and put it into a FIFO Queue. The expected Deamon Thread will pick and process the request from the Queue, and marked it as processed.

Regards,
Siyaram
Steve Wink
Ranch Hand

Joined: May 13, 2002
Posts: 223
Originally posted by Siyaram Singh:
Hi
Is there any optins in WebSphere 5.0 to launch and manage the Deomon Threads like garbage collector, would be used by the application.
Our application needs Online batch job processing. Application would take the client request submission and put it into a FIFO Queue. The expected Deamon Thread will pick and process the request from the Queue, and marked it as processed.

Regards,
Siyaram


If you really really need to create threads in a managed environment, you could do so in a JCA connector. Its not particularly easy the first time.

Does this batch processing have to take place in the web or ejb container? If you're using queues, couldn't your deamon be a standalone program, reading data/commands off this queue? If you need to use Webspheres services, such as datasources, you could run your application as an application client ( or is it client application - anyway, you run it using launchclient in Websphere. )
 
wood burning stoves
 
subject: Deomon Threads in Web Sphere 5.0 ??
 
Similar Threads
Daemon and non deomon threads?
EJB listening on a client socket for callbacks
Different Thread Types
xml-rpc and servlets
how to handle when huge number of requests are there?