Ultra Light Client Guide and Reference
The problems of converting a standalone application to a ULC server
application are mostly the same faced by any server developer. The key
areas that need to be looked at are:
- As far as possible remove references to global/class variables etc.
If you have to use globals ensure that the access to them is restricted to a
well defined path. You will also need to protect the access to these
kinds of variables to ensure that they are thread safe.
- Be aware of the thread un-safe areas of your environment.
- In most cases an Application Context object will need to be introduced to
represent the active connection/user that is associated with each running
instance of the application. Each running ULC application needs to be
able to identify its Application Context. One way to achieve this is to
maintain a table keyed on the ULCContext instance.
- Be aware that the user interface of your application can now be running
remotely. Use the ULC provided enablers/Remote Models/Notification
policies etc. to reduce traffic between the application and UI
Engine.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]