Two Laptop Bag*
The moose likes Swing / AWT / SWT and the fly likes How to retrieve data's from database and generate it in PDF format? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to retrieve data Watch "How to retrieve data New topic
Author

How to retrieve data's from database and generate it in PDF format?

vignesh karthick
Ranch Hand

Joined: Mar 16, 2008
Posts: 34

Hi,

I got a problem here. I have stored data's in the database, now I want to retrieve those data's into PDF format. Is there is any 3rd party tool/plugin available for PDF?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42061
    
  64
What exactly is the problem - retrieving data from a DB, or creating a PDF from the data? Neither sounds like a Swing problem (which this forum is all about).

PDFs can be created in various ways - iText and Apache FOP are powerful libraries to do so.


Ping & DNS - my free Android networking tools app
vignesh karthick
Ranch Hand

Joined: Mar 16, 2008
Posts: 34

The thing is I have created a textfield, the data's entered in the textfield should be stored in the database, then the stored data's should be retrieved in PDF..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42061
    
  64
So the problem consists of a) saving data to a DB, b) retrieving data from a DB, and c) creating a PDF? Still, nothing to do with Swing. For a and b you're better off asking in the JDBC forum. For c you should check out the libraries I mentioned; questions about those would be best asked in the Other Open Source projects forum.
 
Consider Paul's rocket mass heater.
 
subject: How to retrieve data's from database and generate it in PDF format?