Hi,
my question is not about itext itself but more of a
design question which has been arised by using itext
anyway.
I 'm developing a Java applet where the user is able
to draw shapes. The applet communicates with servlets
in the server side that save the shapes to a database
once the user clicks on the 'Save' button. And, a pdf
of the shapes is sent back to the client (the user).
My dilema is where to do the pdf conversion:
1. Should I perform it in the client is OK, but then
the client has to download the 1+ Mb itext.jar file
along with my applet jar which means that the applet
takes too much time to load.
2. Should I perform it in the server, I have to
duplicate all shape drawing classes to the server side
to do the drawing to the pdf using Graphics2D, which
is not good either 'cause I have the same classes
twice.
Does anyone has a solution or even a clue for this, or
maybe suggest a design pattern that copes with it?
Thank you in advance and sorry if I 'm off-topic.
Best regards,
John.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions