Preparing projects for cross development
The Server Workbench feature provides a development environment and the Server feature provides a runtime environment for projects targeted Linux, and CICS Transaction Server. The development process for these projects requires that the code be loaded into two successive images:
1. A development image on a workstation for the majority of the development work.
2. A passive image for packaging a server application to run in the target server environment.
There are no implementations for the Common Graphics and Common Widgets components in VAST server environments. This makes it critical that any client code and any development infrastructure code that might use a missing component be factored out of the Smalltalk code that will be run on servers. Further, this implies that the loading of Smalltalk code into an image be made dependent on the type of image. In other words, when loading a project into the development image, you want to load not only your server application code, but also any Smalltalk code that you may have written to help in the development of your project. When loading into passive images, however, you want to only load in the server application code.
This chapter describes how to prepare your projects for use in the headless cross development environment:
• Design your project to make the best use of the resources of the target environment. See
Project design hints for server platforms for some information about how to approach writing code for a server environment.
• Load sample Applications that provide you with a glimpse at the coding techniques and variety of options available for writing Smalltalk projects for a server environment (see
Loading sample Applications).
Last modified date: 02/17/2021