Hi,
I have worked with Java jars handling from PHP and have used their processing, specifically in PDF file processing domain on server end to produce a corporate web application for a client, and can get this done for you too. Please share further details of your requirements, and your java file as well.
My bid is based upon the the requirements which I have till now, so it could change after the detailed discussion.