Hi leandro,
you can use FOP to generate the PDF.
http://xml.apache.org/fop/embedding.html I used a trick recently:
Instead of parsing the *.fo-File from *.xml and *.xsl, i wrote a *.jsp ...with db-connection and loops etc... that outputted xsl-fo instead of html.
xsl-fo syntax:
http://xml.apache.org/fop/fo.html ( took about one day to paint

a page in required coporate design, quite html-like )
On the jsp i got an inputstream via java.net.URLConnection and sticked it into FOP
( first link i posted )
Another pdf-tool is iText:
http://www.lowagie.com/iText/ hth cb
[ May 09, 2003: Message edited by: Christian Baron ]