Executing Aspose Application jar on server

We have a reporting application that is written in Java to create a report using the Aspose family of products, but mainly Aspose.words.The application gets sent a data document, creates a report and saves the output as a word document. This works brilliantly offline, but we now have a requirement to use the same application online.

We run both PHP and Colfusion servers and I have seen that you have features to write an application using Coldfusion but I really do not want to rewrite the whole application in coldfusion due to future maintenance and time.

Is it possible to run application Jar online? would I package the Aspose class in the jar or would these sit on the server somewhere? I understand that a few alteration would need to me made to the main app just as long as it not a full rewrite.

Any help would be greatly appeciated

Hi
Thank you for your interest in Aspose.Words. Sure you can compile your project into JAR and then use this JAR in PHP or ColdFusion projects. You can find a simple code example how to achieve this in the following articles:
https://docs.aspose.com/words/java/php-and-aspose-words-for-java/
https://docs.aspose.com/words/java/coldfusion-and-aspose-words-for-java/
Especially, Mail Merge with Regions example should be useful for you.
Best regards,