This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
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://aspose.com/file-tools
 
subject: running daemon process from servlet
 
It's not a secret anymore!