Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deomon Threads in Web Sphere 5.0 ??

 
Siyaram Singh
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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. )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic