1.1

Table Of Contents
specify additional network server properties in a Properties object that you pass with the method. For example, to
specify only the address and port with no additional properties:
server.startNetworkServer("localhost", 1528, null);
Note: The SQLFire network server supports the Apache Derby network properties documented in the Derby
Server and Administration Guide.
5. Start additional network services as needed to listen on different address and port combinations.
Deciding When to Use Embedded Peer-to-Peer on page 210 provides more examples of using the FabricServer interface
to embed SQLFire members.
Starting a Network Server
Clients can connect to a NetworkInterface using the SQLFire JDBC client driver (URL of the form
'jdbc:sqlre://<host>:<port>'). A network listener can be acquired by invoking the startNetworkServer method
on a FabricServer instance. SQLFire uses the Distributed Relational Database Architecture (DRDA) protocol
for client-server communication.
Network Server Properties
Specify network server properties when starting a network server on a SQLFire member. You must specify these
properties as system properties:
When using the sqlf utility, specify network server properties at the command line when you boot a SQLFire
server.
When using the embedded JDBC driver, specify all network server properties in the rst JDBC connection to
the SQLFire member.
When using the FabricServer API, you can start the FabricServer instance and NetworkListener independently
of one another. For example you can start a FabricServer instance, populate tables with initial or default data,
and then start a Network Listener at a later time to enable client connections. Include all Network Server
properties in the Properties object when you execute the FabricService.startNetworkServer()
method.
The FabricServer API promotes properties in the conguration parameter to an equivalent system property if
the application does not override them.
Network server startup properties use the prex 'sqlre.drda.' The following properties are available:
sqlre.drda.host
sqlre.drda.keepAlive
sqlre.drda.logConnections
sqlre.drda.maxThreads
sqlre.drda.minThreads
sqlre.drda.portNumber
sqlre.drda.securityMechanism
sqlre.drda.sslMode
sqlre.drda.streamOutBufferSize
sqlre.drda.timeSlice
sqlre.drda.trace
vFabric SQLFire User's Guide110
Developing Applications with SQLFire