What kind of Java applicatiopn is this - can you bundle it with your applet, or is it installed on the client machine? If the former, then you can probably just call its main method. If the latter, then it gets more complicated.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com