For Java based PDF creation, I strongly recommend iText (http://www.lowagie.com/iText/) and a very useful addon to iText: UJAC (look at the print module, http://ujac.sourceforge.net/
For creating Excel-Files (CSV), there are numerous APIs which will help you (ask google). Take a look at http://jxls.sourceforge.net/, they have a nice way to generate template-based Excel-files (not just csv).
HTH
Jens