Why not create a class that implements Thread?  You could start it from your
    JSP page or servlet, and it should run in the background.  Then, your JSP
page
    will continue processing concurrently with the ODBC process.
-- Tim Keuning
---------------------------------------------------------
Date:    Wed, 31 Jan 2001 10:55:07 -0700
From:    Aaron Crandall <[EMAIL PROTECTED]>
Subject: how best to execute long-running batch process in JSP
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit Hello all, I am about to write a JSP/Servlet
    app (Tomcat w/ IIS on W2K). This app will
have some batch processes that will extract data from an ODBC data source,
perform some lengthy manipulation on that data, and then store it to an ODBC
data store (may be the same source or another). What are your thoughts on the
    best way to go about this? I would like to be
able to "trigger" the process if necessary from a web page, but if I try to
perform the calculations within the scope of that page it will likely time
out. Perhaps I can schedule this process somehow to run once a night? Any
    comments/help will be appreciated. Aaron

-------------------------------------------
Tim Keuning
Professional Geek
-------------------------------------------

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to