Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
jvx:firstapp_step-by-step [2018/01/29 22:20] admin |
jvx:firstapp_step-by-step [2018/01/29 22:25] admin |
||
---|---|---|---|
Line 17: | Line 17: | ||
* [[#folder_structure|JVx folder structure]] | * [[#folder_structure|JVx folder structure]] | ||
* [[#project_configuration|Eclipse project configuration]] | * [[#project_configuration|Eclipse project configuration]] | ||
- | * [[#application|Application development]] | + | * [[#application_development|Application development]] |
* Client | * Client | ||
* Server | * Server | ||
Line 50: | Line 50: | ||
== Project configuration == | == Project configuration == | ||
+ | |||
+ | Once the configuration steps have been performed, a new project can be created with Eclipse: | ||
+ | |||
+ | * **File / New / Java Project** | ||
+ | * Note that the project has to be set up in the application folder firstapp. \\ {{:jvx:newproject.png?nolink|}} | ||
+ | * **Remove** the src folder from the **Source Folders** \\ **Set** the folders ''src.client'', ''src.server'' and ''test'' as **Source Folder** \\ {{:jvx:newproject_folders.png?nolink|}} | ||
+ | * **Add** the ''jvx.jar'' library, from the project directory ''JVxFirstApp/libs/server'' \\ {{:jvx:newproject_libs.png?nolink|}} | ||
+ | * The project can now be created | ||
+ | |||
+ | The project is shown in Eclipse as follows: | ||
+ | |||
+ | {{:jvx:project_eclipse.png?nolink|}} | ||
+ | |||
+ | == Application development == | ||
+ | |||
+ | On the server side, the application needs a configuration file for the settings that only concern the application. For the configuration of the server, an extra configuration file is needed. First we create the file for the application: |