Calling a JAVA Class in a Deployed Web Application from shell script
Joined: Dec 20, 2005
I need to call a class packaged in my web application from a shell script to pass an argument to the class. To be more specific, the packaged web archive (WAR) will be deployed in an application server and after its deployed i need to call that particular class present in the WAR file on a continuous basis and pass an argument.
Example: Target class file's directory location in the WAR file - WEB-INF/Classes/com/sample/batch/invokeBatch.java
and i need to call this java file from a shell script from my unix home directory and pass it an argument like
Can anyone suggest how to proceed further on this. Where can i start from to work on the solution?