Trace:
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
jvx:firstapp_step-by-step [2024/11/18 09:33] admin |
jvx:firstapp_step-by-step [2024/11/18 10:15] (current) admin |
||
|---|---|---|---|
| Line 56: | Line 56: | ||
| * Note that the project has to be set up in the application folder ''firstapp'' \\ {{:jvx:newproject.png?nolink|}} | * 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|}} | * **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'' \\ **Add** the ''swingx-all-1.6.4.jar'' library, from the project directory ''JVxFirstApp/libs/client'' \\ {{:jvx:newproject_libs.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 can now be created | ||
| Line 127: | Line 127: | ||
| /** | /** | ||
| * First application with JVx, Enterprise Application Framework. | * First application with JVx, Enterprise Application Framework. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 139: | Line 139: | ||
| * Creates a new instance of <code>FirstApplication</code> with a technology | * Creates a new instance of <code>FirstApplication</code> with a technology | ||
| * dependent launcher. | * dependent launcher. | ||
| - | * <p/> | + | * |
| * @param pLauncher the technology dependent launcher | * @param pLauncher the technology dependent launcher | ||
| + | * @throws Exception if initialization fails | ||
| */ | */ | ||
| - | public FirstApplication(UILauncher pLauncher) | + | public FirstApplication(UILauncher pLauncher) throws Exception |
| { | { | ||
| super(pLauncher); | super(pLauncher); | ||
| Line 231: | Line 232: | ||
| /** | /** | ||
| * First application with JVx, Enterprise Application Framework. | * First application with JVx, Enterprise Application Framework. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 243: | Line 244: | ||
| * Creates a new instance of <code>FirstApplication</code> with a technology | * Creates a new instance of <code>FirstApplication</code> with a technology | ||
| * dependent launcher. | * dependent launcher. | ||
| - | * <p/> | + | * |
| * @param pLauncher the technology dependent launcher | * @param pLauncher the technology dependent launcher | ||
| */ | */ | ||
| Line 352: | Line 353: | ||
| /** | /** | ||
| * A simple database table editor. | * A simple database table editor. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 379: | Line 380: | ||
| /** | /** | ||
| * Creates a new instance of DBEditFrame for a specific application. | * Creates a new instance of DBEditFrame for a specific application. | ||
| - | * <p/> | + | * |
| * @param pApp the application | * @param pApp the application | ||
| * @throws Throwable if the remote access fails | * @throws Throwable if the remote access fails | ||
| Line 395: | Line 396: | ||
| /** | /** | ||
| * Initializes the model. | * Initializes the model. | ||
| - | * <p/> | + | * |
| * @throws Throwable if the initialization throws an error | * @throws Throwable if the initialization throws an error | ||
| */ | */ | ||
| Line 417: | Line 418: | ||
| /** | /** | ||
| * Initializes the UI. | * Initializes the UI. | ||
| - | * <p/> | + | * |
| * @throws Exception if the initialization throws an error | * @throws Exception if the initialization throws an error | ||
| */ | */ | ||
| Line 489: | Line 490: | ||
| /** | /** | ||
| * Opens the edit screen. | * Opens the edit screen. | ||
| - | * <p/> | + | * |
| * @throws Throwable if the edit frame can not be opened | * @throws Throwable if the edit frame can not be opened | ||
| */ | */ | ||
| Line 519: | Line 520: | ||
| /** | /** | ||
| * The LCO for the application. | * The LCO for the application. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 541: | Line 542: | ||
| /** | /** | ||
| * The LCO for the session. | * The LCO for the session. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 597: | Line 598: | ||
| /** | /** | ||
| * The LCO for the DBEdit WorkScreen. | * The LCO for the DBEdit WorkScreen. | ||
| - | * <p/> | + | * |
| * @author René Jahn | * @author René Jahn | ||
| */ | */ | ||
| Line 645: | Line 646: | ||
| The following steps should take place to create and start a HyperSQL DB. | The following steps should take place to create and start a HyperSQL DB. | ||
| - | * Copy the HyperSQL JDBC-Driver (hsqldb.jar) to the directory \\ ''../JVxFirstApp/libs/server/' | + | * Copy the HyperSQL JDBC-Driver (''hsqldb.jar'') to the directory ''../JVxFirstApp/libs/server/'' |
| * Add the JDBC-Driver to the CLASSPATH of the JVxFirstApp Project | * Add the JDBC-Driver to the CLASSPATH of the JVxFirstApp Project | ||
| * Create a database with the alias firstappdb and the following table: \\ <file sql>create table CONTACTS | * Create a database with the alias firstappdb and the following table: \\ <file sql>create table CONTACTS | ||
