Using the Network Server with preexisting Derby applications
You must modify Java applications that currently run against Derby in
embedded mode so that they work with the Derby Network Server. The topics in this section discuss these changes.
Accessing the Network Server by using the network client driver
When connecting to the Network Server, your application needs to load a driver and connection URL that is specific to the Network Server. In addition, you must specify a user name and password if you are using authentication.
Accessing the Network Server by using a DataSource object
The Network Server supports the Derby Network Client driver DataSource classes org.apache.derby.jdbc.ClientDataSource and org.apache.derby.jdbc.ClientConnectionPoolDataSource on all supported Java SE platforms.