Java – Pdf to Swf conversion using Java

flashjavapdf

Does anybody know a Java tool that can convert a pdf file to a swf file ?

To clarify, we are building a site to generate photo albums. The photo album editor is written in Flash (ActionScript 3.0) and then on the back-end is written in Java and it generates a pdf for the album. The problem is having two rendering engines (Flash for client side, and Java on the server) and their output must be identical.
We think that having the back-end generate a pdf file and then converting it to swf gives the highest fidelity, so that's why this conversion tool is needed. However, if people have other solutions these are welcomed as well.

Best Solution

A solution that could be used:
- The server generates the pdf
- The server launches the conversion program (for instance this one)
- The client uses the flash file