This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes running daemon process from servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "running daemon process from servlet" Watch "running daemon process from servlet" New topic
Author

running daemon process from servlet

Girish Gopal
Greenhorn

Joined: Nov 13, 2008
Posts: 10
I have a servlet/jsp which shows a list of records.When page load completes I need to insert some values into the database .I wrote the code for updating the data base on the same servlet but it causes lot of time to load the page.

How can I do the updation as a daemon process?

I solved it through threads? But just wan't to know whether that was the right way to do it?
Himanshu Gupta
Ranch Hand

Joined: Aug 18, 2008
Posts: 598

This thread will help you a lot. Read this.

http://www.coderanch.com/t/414512/JSF/java/Web-interface-delete-folder


My Blog SCJP 5 SCWCD 5
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: running daemon process from servlet
 
Similar Threads
Is this possible?
Deamon Thread
Thread from servlet ?
Doubts in threads !
Singleton implemented using Servlets