Chat Tutorial in NetBeans/Server: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>SimonSmall
Some corrections
imported>SimonSmall
Added TCP port (server.ini)
Line 266: Line 266:


The line starting jdbc_url=jdbc:h2:Chat gives the location and name of the database. This creates a database named Chat in the current (i.e. server) directory. See here [http://www.h2database.com/html/features.html#database_url] for the technical details.
The line starting jdbc_url=jdbc:h2:Chat gives the location and name of the database. This creates a database named Chat in the current (i.e. server) directory. See here [http://www.h2database.com/html/features.html#database_url] for the technical details.

=== TCP Port ===

The port is given as 5555; the client will try to connect to this port so it should not be changed (unless you change the port in the client; work this one out yourself).


=== Game classes ===
=== Game classes ===