Before you start
This tutorial is for any Eclipse developer who wants to learn how to take code written using the mature Rich Client Platform (RCP) and modify it to use the new Rich Ajax Platform (RAP) to allow for a rich-client experience distributed over the Web. You should have an understanding of the Eclipse platform and some familiarity with the idea of Rich Internet Applications (RIAs). Also, you should have knowledge of how to configure a servlet container and deploy applications on it.
Part 1 provides an introduction to the new features of the RCP, the new Subversion Eclipse integration, and the p2 packaging and distribution system. Part 2 introduces the Rich Ajax Platform (RAP) to write applications for the Web. And Part 3 discusses how to use the embedded Rich Client Platform (eRCP) to develop an application for a mobile device.
The Ganymede release of the Eclipse IDE bundles more than 20 new and existing projects under the Eclipse umbrella. In Part 1 of this three-part series, you looked at some features added to make development easier, including support for Subversion and a new distribution model for plug-ins called p2. You also saw some incremental improvements in the mature Rich Client Platform (RCP) by developing a simple personal task organizer plug-in application, then storing it in Subversion and deploying it via p2.
Another exciting addition to Ganymede is the inclusion of the Rich Application Platform (RAP). RAP is a way to build rich client applications — stateful GUI applications similar to those developed for a desktop — and deploy them for use on the Web. RAP brings the Eclipse programming model to the Web, allowing you to reuse much of your existing RCP code when building RAP-based applications. This is done using Ajax, but Eclipse makes it simple to build on the knowledge you already have of developing desktop applications with the RCP. To demonstrate, you will modify the personal organizer developed in Part 1 to use RAP.
Topics include:
- How to download and install the RAP environment to Eclipse
- How to migrate your existing RCP code to RAP
- How to factor your code for the Web
- How to package and deploy your code to a Web server
- Eclipse Ganymede
- Find Eclipse Ganymede at the Eclipse Foundation.
- Java 2 Standard Edition
- The Java™ 2 Standard Edition V5 or greater is available from Sun Microsystems.
- Eclipse RAP
- The Eclipse RAP plug-in is available in the Eclipse Foundation RAP section at Eclipse.org.
- Apache Tomcat
- For deploying the finished RAP application to a stand-alone servlet container, this tutorial uses Apache Tomcat. Download the latest stable version.




