How do I run my application in SuperServer mode?

There are two ways of doing this:

1.  Start the Framework running in SuperServer mode externally. You can do this by using the LANSA folder option  Exec Form (to RDML IBM i) or Exec Form (to RDMLX IBM i), or by using the option to execute your form and choosing one of the "Client to xxxxxx Server" options.

 Any of these options will establish your SuperServer connection externally (i.e.: before the Framework actually starts to execute). When using this method to start a SuperServer connection you should only execute UF_ADMIN or UF_EXEC. These will present your Framework exactly as a real end-user will see it. You cannot do Framework design activities while working this way.

2.  Allow the Framework to make SuperServer connections itself.

By defining your server system within the Framework and setting the appropriate connection properties in the Framework design (see Administration/Servers) you can use UF_DESGN, UF_EXEC and UF_ADMIN in SuperServer mode.

The advantages of this method are:

  • You can execute UF_DESGN this way, thus you can do design and command handler and filter testing activities while in SuperServer mode.
  • The Framework can manage connection details (e.g. user and password verifications, selective offline usage) for you,
  • Your server definitions can be deployed.
  • This environment more closely resembles what you would do in a real Framework that has been deployed to end-users.