Sun Java System Application Server Platform Edition 8.2 Developer's Guide

Stopping an Application Server

The stopServer() method demonstrates how to stop an application server. The stopServer() method simply calls the getJ2EEServer() method on a given server instance, and then calls J2EEServer.stop().