| 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
|
 |
 |
|
|
subject: running daemon process from servlet
|
|
|