If you already have an applet program as a web application this applet sample demonstrated how you can call the print and view pages from your applet and print/view your PDF documents.
Source code
This demo applet source code is in this browser edition archive
at this location.
http://activetree.com/silent_print_pdf_from_browser/demo/applet/src/myapplet/
Feel free to look at it and find out how simple it is to integrate the
silent print from browser edition with your existing applets.