Choosing a runtime

Before you can create a service in STP, you need to point Eclipse at an installed runtime for your chosen programming model.

If you are creating a JAX-WS project, you can use either of the following runtimes:


If you are using the SCA programming model, you can use Apache Tuscany SCA Java 1.2.

To choose a runtime:

  1. Select Window > Preferences from the menu bar.
  2. Select SOA Tools > Installed Runtimes .
  3. In the Server Runtime Environments preferences panel, click Add.
  4. In the New Server runtime wizard, do one of the following:
    • Expand the Apache folder and select Apache CXF 2.1
    • Expand the Apache folder and select Apache Tuscany SCA 1.2
    • Expand the Sun folder and select Sun JAX-WS RI 2.1.2
  5. Click Next..
  6. In the New ... Runtime panel, click Browse to select the directory where your JAX-WS runtime is installed.
  7. Choose an alternative JRE, if required.
  8. Click Finish.