Sun GlassFish Enterprise Server 2.1 Developer's Guide

Starting an Enterprise Server

The Samples.startServer method demonstrates how to start an Enterprise Server.

In this sample AMX implementation, all the tasks are performed by the command start-server when you run SampleMain. See the startServer method to see how this command is implemented. Click the method name to see the source code.