Is there any way to start a Java class running as soon as the WebSphere server is up, without being invoked by user explicitly. If so, what are the ways to do so? If not, how would I make a Java class an executable file?
In order to invoke a Java class, you must use the JAVA or RUNJVA command. This would indicate the need to programmatically control the startup of your Web server, or have a process that checks to see if it is currently running, and execute the command. I use a custom command that starts and stops my Web server and automatically executes an initiation command.
This was first published in April 2001