RCP, RAP and eRCP : Single Code Base and Three Runtimes
Posted by sureshkrishna on September 17, 2008
Running an Eclipse application on Desktop, Web and mobile platform seems to be an exciting and challenging task for many. With a clear and crisp APIs, Eclipse made this task practical and easier. Chris Aniszczyk has already posted an example of Tic-Tac-Toe on his blog.
Recently me and Trebor (another eclipse enthusiast) have done an exercise to get a sample application on top of these three (rcp, rap and ercp) run-times with the Ganymede release. In this three part tutorial we built a simple Personal Organizer application and ran it on RCP, RAP and eRCP.
First Part goes through the necessary steps to create the application and run it as the Rich Client Platform (RCP) application.
http://www.ibm.com/developerworks/edu/os-dw-os-eclipse-ganymede-pt1.html
Second Part talks about the Rich Ajax Platform and how the existing code base of the sample RCP application can be adapted to run it on the RAP target.
http://www.ibm.com/developerworks/edu/os-dw-os-eclipse-ganymede-pt2.html
Third Part talks about the Embedded RCP and how to adapt the existing RCP code base to be able to run it on the eRCP.
http://www.ibm.com/developerworks/edu/os-dw-os-eclipse-ganymede-pt3.html
Hope these tutorials and insights will help a lot of developers to understand these platforms and know the possibilities. I will be happy to hear your experiences in making the single code base run on these three different platforms.
Till then Happy Eclipse-ing.

Chris Aniszczyk said
Cool, one runtime to rule them all.
You saved me the time to write an article about this >:)
BayArea Eclipse DemoCamp roundup « Sciology = Science + Technology said
[...] gave a presentation + demo on the Single Source; Three Runtimes, which definitely excited many people in the [...]
2008 Year Roundup « Sciology = Science + Technology said
[...] Unable to load graphics library [GDI+ is required] (java.lang.NoClassDefFoundError)RCP, RAP and eRCP : Single Code Base and Three RuntimesEclipse 3.3 and NetBeans 6.0 compared !Consulting vs Fulltime jobJFace Dialogs : which one is right [...]
Wilbur Alexander said
Thank you, I found another company which is specialised on enterprise resource management software here : http://www.mbi.com.tr
2008 Year Roundup » Sciology said
[...] Single Sourcing is really exciting for me as i was involved in many projects converting Desktop Application -> Web Application and vice-versa. Of course with eRCP, now its possible to have a single source code for the Desktop application (RCP) and with minimal changes, the application can be run on the Web Browser(RAP) and Mobile Application (eRCP). Recently i worked on a three part tutorial on the IBM devWorks with full step-by-step instruction and source code. [...]
BayArea Eclipse DemoCamp roundup » Sciology said
[...] gave a presentation + demo on the Single Source; Three Runtimes, which definitely excited many people in the [...]