Library Version 12.1.6.2

Connecting to a Server without SSL
Prev | Chapter 3. Berkeley DB Client Driver APIs | Next

## Connecting to a Server without SSL

To establish a connection to a server, you must use one of the `connect` methods of the `BdbServerConnection` class. To connect to a server without SSL, use `BdbServerConnection.connect` and specify the host name and port of the server:

    BdbServerConnection conn =
         BdbServerConnection.connect("localhost", 8080);

Prev | Up | Next
Chapter 3. Berkeley DB Client Driver APIs | Home | Connecting to a Server with SSL