Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

running daemon process from servlet

 
Girish Gopal
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 598
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread will help you a lot. Read this.

http://www.coderanch.com/t/414512/JSF/java/Web-interface-delete-folder
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic