Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2004

Tip: Looking for answers? Try searching our database.

Dynamic PDF Document Generation

Thread view: 
Niall - 16 Jul 2004 11:09 GMT
Hi all,

I'm looking for some advice on Dynamic PDF Document Generation from
java/ j2ee web apps.

What I'd like to do is take data from a form or database (perhaps in
XML format) and include it in a PDF document which will be returned to
the user.

I've come accross a number of tools, but am having trouble deciding
between them.  Eg.

-iText

-Apache FOP

-AurigaDoc (uses FOP)

-DocBook

-Some other XML - XSLT method ?

Which are the easiest to integrate? allow the most flexibility in
generating PDF? offer best performance?

Thanks,
Niall

(It's for an academic project so I can't afford to buy any commercial
software)
Keith James - 16 Jul 2004 14:03 GMT
>>>>> "Niall" == Niall  <niall.murphy@gmail.com> writes:

   Niall> Hi all, I'm looking for some advice on Dynamic PDF Document
   Niall> Generation from java/ j2ee web apps.

   Niall> What I'd like to do is take data from a form or database
   Niall> (perhaps in XML format) and include it in a PDF document
   Niall> which will be returned to the user.

   Niall> I've come accross a number of tools, but am having trouble
   Niall> deciding between them.  Eg.

   Niall> -iText

   Niall> -Apache FOP

   Niall> -AurigaDoc (uses FOP)

Can't comment on the above (although I am looking at iText to render
EAN13 barcodes into reports).

   Niall> -DocBook

Much as I like DocBook, I've found it unpleasant to configure the
output because I have little experience in hacking XSL or DSSSL
stylesheets. If you want to merge from a ResultSet then you may end up
rolling a lot of your own code. At least, I'm not aware of a package
which does this.

   Niall> -Some other XML - XSLT method ?

I've recently been playing with JasperReports
(http://jasperreports.sourceforge.net) and have been impressed so
far. The abstraction of input datasources is good, so you can merge
from a whole variety of sources, including JDBC. The XML report
definitions are pretty verbose, but there are free tools to help
(and Emacs + PSGML mode made it bearable for me).

Can't comment of efficiency/speed relative to others, but worth adding
to the list.

Signature

- Keith James <kdj@sanger.ac.uk> Microarray Facility, Team 65 -
- The Wellcome Trust Sanger Institute, Hinxton, Cambridge, UK -

Dave Hart - 16 Jul 2004 14:48 GMT
Niall

I used Apache FOP a couple of years ago.
It integrates well into java.
All the work is done by XSLT, so you need to be happy writing XSL

Dave Hart

Hi all,

I'm looking for some advice on Dynamic PDF Document Generation from
java/ j2ee web apps.

What I'd like to do is take data from a form or database (perhaps in
XML format) and include it in a PDF document which will be returned to
the user.

I've come accross a number of tools, but am having trouble deciding
between them.  Eg.

-iText

-Apache FOP

-AurigaDoc (uses FOP)

-DocBook

-Some other XML - XSLT method ?

Which are the easiest to integrate? allow the most flexibility in
generating PDF? offer best performance?

Thanks,
Niall

(It's for an academic project so I can't afford to buy any commercial
software)
Olivier Refalo - 22 Jul 2004 01:09 GMT
Niall,

What you need is a Form Server Tool.
For a professional solution, check jPDF Template at http://www.crionics.com

Cordially,

Signature

Olivier Refalo
Crionics Inc.
Project Manager/Software Engineer
http://www.crionics.com

> Hi all,
>
[quoted text clipped - 26 lines]
> (It's for an academic project so I can't afford to buy any commercial
> software)
Steven - 25 Jul 2004 15:14 GMT
Why don't you try JasperReport?

Steven

> Niall,
>
> What you need is a Form Server Tool.
> For a professional solution, check jPDF Template at http://www.crionics.com
>
> Cordially,
Olivier Refalo - 25 Jul 2004 16:01 GMT
JasperReport is a good tool.
But it only applies when you want to build a document from scratch.

With jPDF template you can create a rich complex PDF document that you can
fill with data.

The other issue with JasterReport (and actually any other free tools which
are not backed by professionnals) are its license (GPL or other) and its
lack of perenity for the futur.

Where will be the API in 2/3 years from now ? What if the main developpers
quit ? The open source model is only viable if you get side incomes
(training, support, fee for documentations..etc).

It you have Tomcat or Xerces, you know that Sun and IBM are behind it.
With JasperReport you don't.

Does this make sense ?

Regards,
Olivier Refalo

Signature

Olivier Refalo
Crionics Inc.
Project Manager/Software Engineer
http://www.crionics.com

> Why don't you try JasperReport?
>
[quoted text clipped - 6 lines]
> >
> > Cordially,


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.