The first JVx Application |
In the following paragraphs, we will show you how to create your first JVx application with minimal effort and code.
Create an applicationWe need an application as a frame for the client. Each application must implement the interface package apps.firstapp;
Create a work screenOnce we have created the application framework, we now reate our first work screen with the following code: package apps.firstapp.frames;
Create a business objectOnce we have created the client, we need the corresponding business object on the server, so as to define the source of the data more precisely. To do so, we use the following code: package apps.firstapp.frames;
Create a database connectionIn the business object, we referred to the data source with the method package apps.firstapp;
The application is now fully implemented and ready to run. To be able to work with the application we need the database including the The first JVx applicationOnce the database has been started, the application can be started via the Run menu in Eclipse. The finished application should now look as follows: You can find more details about the components of a JVx application as well as step by step instructions to Eclipse under Step by step introductions to the JVx application.
The class mirrors the business object for the
|