Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Printing a Report from Java
- From: Tom@xxxxxxxx (Tom Copeland)
- Subject: Printing a Report from Java
- Date: Wed, 29 Dec 1999 16:53:46 -0500
Hi Sureshbabu -
We have some similar tasks - i.e., they take a lot longer than the usual
HTTP request response pair. One possible solution is to start a thread
which manages the task, and, when it's done, updates a status table. The
user can be redirected to a page where the task queue is visible. This
tends to keep people happy...
Yours,
Tom
Junior Developer
tom@xxxxxxxx
-----Original Message-----
From: Sureshbabu, S [mailto:S.Sureshbabu@xxxxxxx]
Sent: Tuesday, December 28, 1999 11:57 PM
To: 'advanced-java@xxxxxxxxxxxxxxxx'
Subject: Printing a Report from Java
Hi Friends,
We have problem in printing a report (a word document) from Java
Servlet.Directly we don't use Java to print but instead we call a VB
Executable from Java for this purpose.VB exe creates the report and finally
prints it.
Though this sytem works,the performance of this sytem is very bad.It takes
approximately one minute to create and print a report.We had to implement
single thread model for the servlet (as it's not possible to run more than
one exe at the same time).Also to create a report we use some common
intermediate word documents so it's not possible to run more than one exe at
a time.
The crux of the problem is if a user is the 10th person to make the HTTP
request to the servlet perhaps he may get the response only after 10
minutes.(since it takes one minute to complete one HTTP request).
Is there any other means by which we can create and print a report?Can
anybody help me in this regard?
Regards
Sureshbabu
---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx
- Prev by Date: Arguments for using Java in the Enterprise
- Next by Date: where does a class come from?
- Previous by thread: Printing a Report from Java
- Next by thread: Native functions in JDK 1.2.2 source code
- Index(es):