Keywords: Sample programs for Network Server

# Derby Network Server sample programs

This section describes several Derby Network Server sample programs for Network Server users.

- The NsSample sample program
  The NsSample demonstration program is a simple JDBC application that interacts with the Network Server.
- Network Server sample programs for embedded and client connections
  This Derby Network Server sample program demonstrates how to obtain an embedded connection and client connections to the same database by using the Network Server. This program shows how to use either the DriverManager or a DataSource to obtain client connections.

Parent topic: Part one: Derby Server Guide
Related concepts
Derby in a multi-user environment
Using the Network Server with preexisting Derby applications
Managing the Derby Network Server
Managing the Derby Network Server remotely by using the servlet interface
Derby Network Server advanced topics