RWT Standalone

It is possible to use RAP without OSGi. In that case RWT is used like normal Java library. It is recommended to use the RAP Tooling for developing RWT applications. Though it is not strictly necessary to use the tooling, it eases development with a launch configuration tailored for RWT applications and documentation.

Create and launch the application

Follow the steps outlined below and you will have a simple web application up and running in a few minutes.

With the RAP Tooling installed, you can already launch your HelloWorld application. To do so, select the HelloWorld class (i.e. in the Package Explorer) and choose Run As > RWT Application from the context menu.

Deploying

If you wish to deploy your application on an external servlet engine, or if you need a deployment descriptor for other reasons, or you haven't installed the RAP Tooling, a few more steps are required to run the application.

You may also find the JFace components useful. In order to use them from RWT standalone, you will need to add the following jars from the RAP Runtime: