Creating web-enabled configurations

In this example, you create a configuration and then set its features.

Procedure

  1. Right-click the Configurations category and select Add New Configuration.
  2. Type Panel.
  3. Double-click Panel or right-click and select Features. The Features window opens.
  4. Select the Initialization tab and set the following values:
    • For the Initial instances box, select Explicit to include the classes which have relations to the selected elements.
    • Select Generate Code for Actors.
  5. Click Apply to save these selections and keep the window open.
  6. Select the Settings tab, and set the following values:
    • Select Animation from the Instrumentation Mode list. IBM® Rational® Rhapsody® adds instrumentation code to the simulated application, which enables you to simulate the model.
    • Select Web Enabling for Webify.
    • If wanted, click the Advanced button to change the default values for the Webify parameters. Rational Rhapsody opens the Advanced Webify Toolkit Settings window.

      This window contains the following boxes, which you can modify:
      • Home Page URL is for the URL of the home page
      • Signature Page URL is for the URL of the signature page
      • Web Page Refresh Period is for the refresh rate in milliseconds
      • Web Server Port is for the port number of the web server
    • Select Real (for real time) as the Time model.
    • Select Flat as the Statechart Implementation.Rational Rhapsody implements states as simple, enumerated-type variables.

      The product completes the Environment Settings section, based on the compiler settings you configured during installation.

  7. Click OK.

Feedback