Sunday, October 5, 2014

WAS as an Eclipse Application


WAS is package as an Eclipse plug-in (which is equivalent to OSGi bundles).  WAS extends the extension point org.eclipse.core.runtime.applications in Eclipse plugin.xml.  Eclipse provides startup.jar to start any Eclipse application.

For WAS startup, IBM repacakage startup.jar is its own code.  The start up Java program is com.ibm.wsspi.bootstrap.WSPreLauncher in bootstrap.jar file.

This execute the Eclipse framework and pass it the name of the Eclipse application com.ibm.ws.bootstrap.WSLauncher (similar to org.eclipse.core.launcher.Main).  The launcher will read the plugin.xml file and find the extension points for org.eclipse.core.runtime.applications - in this case is com.ibm.ws.runtime.eclipse.WSStartServer which will start WAS.

- - - - -

No comments: