I have a web application which I developed in J2EE. I created my war file,deployed it correctly on Apache server and works as expected.
Now I need to make my application run on wamp server. I know that wamp is not for java j2ee application, but Is there a way to deploy my application on wamp? I thought about adding a php software layer : an index.php file executing the j2ee war like this:
<?php
shell_exec("java -war C:\wamp64\www\MyApp\webApp.war ");
?>
But it did not work, I have a white empty page.
What is wrong with my idea? How can I make my j2ee application run on a wamp server without the need of a Tomcat server?
Thank you in advance!