Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing a Report from Java


  • From: S.Sureshbabu@xxxxxxx (Sureshbabu, S)
  • Subject: Printing a Report from Java
  • Date: Tue, 28 Dec 1999 23:56:32 -0500

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF51B8.34C927F6
Content-Type: text/plain

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




------_=_NextPart_001_01BF51B8.34C927F6
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2651.14">
<TITLE>Printing a Report from Java</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi Friends,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">We have&nbsp; 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.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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).</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Is there any other means by which we =
can create and print a report?Can anybody help me in this =
regard?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">Regards</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Sureshbabu</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01BF51B8.34C927F6--

---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx