Thanks very much for your follow up.
B
From: "Iliadis Yannis" <[EMAIL PROTECTED]>
Reply-To: Post all your questions about iText here
<[email protected]>
To: "Post all your questions about iText here"
<[email protected]>
Subject: Re: [iText-questions] Reading a PDF via a ByteArrayOutputStream?
Date: Mon, 16 Apr 2007 11:28:28 +0300
Sorry for not making it clear in the first place. Yes I was referring to a
client - server web application.
We also use the same classes (Services) to create pdf's in a batch process
(mainframe JCL) but there the final baos is written to a physical file
which
resides on the mainframe.
These files are deleted upon printing.
2007/4/13, Mork Afur <[EMAIL PROTECTED]>:
That makes a lot more sense now.
Actually, I am working with server apps too, but my prototyping has been
client side which probably made my postings less than clear.
The bottom line is that the file gets created regardless.
What I was unclear about was if the baos could be somehow tied into the
browser directly avoiding the need to create a real file. It seems clear
the
answer is no to that.
Thanks for your terrific clarification!!!
Best,
>From: Michael Schierl <[EMAIL PROTECTED]>
>Reply-To: Post all your questions about iText here
><[email protected]>
>To: Post all your questions about iText here
><[email protected]>
>Subject: Re: [iText-questions] Reading a PDF via a
ByteArrayOutputStream?
>Date: Fri, 13 Apr 2007 20:06:23 +0200
>
>Mork Afur schrieb:
> > So I guess I don't see the difference between just creating the PDF
file
>in
> > the first place on the client machine vs. returning a baos that
>"magically"
> > creates a PDF file in the Temp folder.
>
>Iliadis talks about server applications. You seem to talk about client
>applications.
>
>On the server there is a webserver that uses iText, creates a PDF and
>stores it into a baos. This baos is then transferred to the client and
>stored on disk there. If Iliadis used a FileOutputStream, the file would
>be written to the disk of the server, then transferred to the client,
>and then stored on the disk of the client again (and deleted from the
>disk of the server after that).
>
>If only one machine is involved and the PDF has to be viewed (and not
>only zipped or written to a database, for example), using a baos for the
>final PDF document does not make sense.
>
>Michael
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share
>your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>iText-questions mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/itext-questions
>Buy the iText book: http://itext.ugent.be/itext-in-action/
_________________________________________________________________
Interest Rates Fall Again! $430,000 Mortgage for $1,399/mo - Calculate new
payment
http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18679&moid=7581
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
_________________________________________________________________
Cant afford to quit your job? Earn your AS, BS, or MS degree online in 1
year.
http://www.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2Fform-dyn1.html%3Fsplovr%3D866143
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/