01: package com.db4o.f1.chapter5;
02:
03: /**
04: * Configuration used for {@link StartServer} and {@link StopServer}.
05: */
06: public interface ServerConfiguration {
07:
08: /**
09: * the host to be used.
10: * <br>If you want to run the client server examples on two computers,
11: * enter the computer name of the one that you want to use as server.
12: */
13: public String HOST = "localhost";
14:
15: /**
16: * the database file to be used by the server.
17: */
18: public String FILE = "formula1.db4o";
19:
20: /**
21: * the port to be used by the server.
22: */
23: public int PORT = 4488;
24:
25: /**
26: * the user name for access control.
27: */
28: public String USER = "db4o";
29:
30: /**
31: * the pasword for access control.
32: */
33: public String PASS = "db4o";
34: }
|