Chat Tutorial in NetBeans/Server: Difference between revisions
Content deleted Content added
imported>SimonSmall Changed log file configuration |
imported>Hendrik Brummermann →World.java: added missing call to world.initialize() as reported by maxgmer |
||
| (14 intermediate revisions by 2 users not shown) | |||
Line 17:
There are a few choices to be made about the configuration of our server. They are covered below, so make sure that you are reading the correct instructions.
* This example is using the h2 database to store data. This uses a single file for storing the data, and does not need login credentials. You need to decide where the database file will be stored.
* MySQL can also be used but this is covered in the [[Chat Tutorial in NetBeans/MySQL]] page; you may need this if there is more to be stored in the database, or if you want a different security model. This will allow the database to be examined when the server is running.
* The server and client code can be written and linked to the Marauroa engine as a jar file or as a NetBeans project if you have the source code. This choice affects the actions you must take.
Line 55 ⟶ 57:
if (instance == null) {
instance = new World();
instance.initialize()
}
return instance;
| |||