The Derby Network Server can be run in either of these configurations:
You can use Java Management Extensions (JMX) technology to monitor and manage Derby and the Network Server. For information on how to do this, visit the wiki page http://wiki.apache.org/db-derby/DerbyJMX and refer to the API documentation for the packages org.apache.derby.mbeans and org.apache.derby.mbeans.drda. For information on JMX technology, see http://download.oracle.com/javase/6/docs/technotes/guides/jmx/.
You can manage the Network Server by using shell scripts, the command line, or the Network Server API. The Network Server can also be managed remotely from a web server by using a servlet interface. See Managing the Derby Network Server remotely by using the servlet interface for information about starting and shutting down the Network Server using the servlet interface.