ContentWelcomeProducts Abeona Gaia News Documentation Introduction Swing support Server application Basics Controller Forms Validation XML Logging Utilities Launcher License Download Hephaistos JavaGantt Services Promote your software Contact Us Links |
Application and ContextThere are two base classes for the application framework:
Application is an abstract superclass for each server application. It is created and managed by the running ApplicationContainer implementation (there is an implementation for Swing client called ApplicationServer). The main task supported by the Application is to receive request from a client, find a controller to process it and to invoke that controller with request and current context as arguments. Each instance of Application has its own id, which is used in talk with client. In your implementation you need override in you subclass only methods getStartControllerClassName() and getFile(String). Context is a data holder for session and controller. Because all controllers are singletons, this is the only one place where can be stored data between the client requests. ApplicationRequest is an application request from a client to the application server. It supports these properties:
ApplicationResponse is an application response from an application server to a client. It supports these properties:
Please, note there are some (by methods) supported parameters in Application Response to:
|