This chapter describes the basic structure of a SDACK web application. As any typical web application it is built with a client-server archictecture. That means it has a server part that executes the process (or business) logic and a client part that consists of the user interface, running in a web browser. The good news is that by using SDACK a developer can concentrate on the server code. Apart from some bootstrap code the user interface is mostly generated automatically by the framework from process parameters.
The recommended package structure is similar to a typical GWT application. It consists of the following packages:
server: The server package (and it's sub-packages) comprises the code that runs on the application server. It can contain arbitrary Java code that may use any kind of external libraries. This package contains the main part of a SDACK application.
shared: The client and server need to communicate with each other and exchange data. The
shared package of an application (and of framework projects) contains the code and data structures for this purpose. Because it is also used on the client it must conform to the same restrictions as the
The execution of the application always begins on the client when a user visits the start URL. The application code needs to be implemented in a subclass of