I'm a lonely java developer in a non-java company. Maybe someone can advise me here.
I want to make a "print option" for a huge xml document. I've got experience with fop, xsl so I can build some action that converts the xml doc to pdf.
But how to i18n? I've already got an action that works well with jsp, it's not perfect yet. But for our purposes (print policy information for life insurances) it works o.k. With the Struts framework it's easy to i18n.
Would it be an idea to use JAXB to map the xml to objects (so I can use them for other purposes as well). And than first create a jsp which will be converted to pdf? It sounds like a very slow process to me. I read that JAXB is very slow to, it's very easy to use though.
Can somebody give me some advice here?
Joined: Jan 23, 2002
How about writing a servlet filter which takes the internationalized XML document (perhaps created by a JSP) and runs it through XSL-FO into PDF?
Then again, if the document really is big, perhaps you should do this asynchronously?