Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Daemons with Servlets  RSS feed

 
Gene Blackman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
I have an application that constantly monitors the database for certain records (sort of like messages) and takes some action, including transactional database updates, based on that. This would be an elaborate app with a lot of functionality. I'd like to be able to monitor and administer this app via a web browser. I wouldn't want to have to build my own web server. I also want the solution to run on both Windows and Unix. Is there a way to do something like this in a reliable and scalable way inside an existing servlet container? The same servlet container would also run the front-end app that would be communicating with the above mention background app through database.
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, there's a number of ways a webapp coul control a daemon process, but we use Apache Phoenix for this sort of work and have it serve up web pages. Phoenix came out of the Apache Avalon project. It's supposed to have been supplanted by Merlin, but so far we've resisted migrating.
 
Gene Blackman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim, thank you. It looks like Phoenix morphed into Loom. That doesn't seem like a very well supported project. How did it work out for you? On what scale have you used it? What about the web piece? Is that part of the core package?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!