I'm really interested. Can you send it to me ! 


-----Message d'origine-----
De : Missine Alec [mailto:[EMAIL PROTECTED]] 
Envoyé : Thursday, December 20, 2001 3:08 PM
Objet : the wait page primer
Importance : Faible

For those of you folks who likes complete and concise working examples
doesn't?:)), I have a war file that contains a Struts-based application
prototypes the wait page support for a time-consuming request (TCR).
When a
TCR (e.g., a database search) starts, the appropriate wait page is being
sent to the browser after the request's ETC (Estimated Time to Complete
:) )

In the meantime, the corresponding action (the database search) is being
started in the background thread on the server. If the default ETC is
(ad infinitum) or the action completes before the request's ETC expires,
there is no wait page at all - the browser gets the result page right
while the background thread is still busy closing the resources.

The wait page has javascript that polls the server to update the wait
with the TCR's progress. When the TCR completes, the wait page is being
replaced with the appropriate result page.

This implementation has been tested on ApacheTomcat4.0 with Oracle 8.1.6
database as a data source. It can be modified to run on WebSphere
Application Server 3.5.3 - it claims it's been tested on WAS, but the
necessary modifications haven't been made yet. Presently, the
provides read-only access to all database tables for all database
through extensive use of the java.sql.DatabaseMetaData object. The next
release will support insert/update/delete functionality.

The war file is too big to attach to this message (707K). Please let me
if you'd like me to email it to you directly. It is my intent to support
open source initiative. Thank you,

Alec Missine

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to