database - How to generate printable (and savable) forms with Java? -


This is my position I have written a database application in java. Now (unfortunately, as a post) I want to create a form with data pulling from the database.

By form, I mean a useful and printable file (nothing to do with UIs or swings). Actually I want to take a template form and pull data from the data.

Is there a simple API for this? I really do not care about the file format, it should be just necessary and printable (PDF, word, open office, act.)

I have seen Apache Poi and some other APIs for MS Word docs and these are very painful.

Is there any good experience with any particular API?

Thank you for your help! I recommend iText because it gives you the functionality to write Graphics 2D on the PDF Canvas,

Which means that you can easily embed images and, as in your form,

A minor issue with the library is that the best example, I believe, is in the book "iText in Action" by Bruno Logji (ISBN: 1932394796), which is approximately $ 50 US.

iText has a very straightforward learning stance, but the forms and such a way that it should be quite easy, the other advantage is that it can be used in combination, eg. Geoffrey Chart

If you only want to fill out the already generated PDF form, there is a way to go iText, because there are some great remains to do it properly.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -