Skip to main content


developerWorks  >  Open source  >

Using Eclipse Ganymede to develop for the desktop, Web and mobile devices, Part 3: Developing for the Embedded Rich Client Platform, the Ganymede way

eRCP: Going mobile

developerWorks

Level: Intermediate

Suresh Krishna (suresh.madhuvarsu@gmail.com), Software Developer, Freelance Developer
Trebor Fenstermaker (tcf@sunnysideave.com), Software Consultant, Sunnyside Avenue Software, LLC
Peter Nehrer (pnehrer@ecliptical.ca), Freelance Writer, Freelance Developer

16 Sep 2008

Register now or sign in using your IBM ID and password.

Eclipse Ganymede is the simultaneous release of 24 major Eclipse IDE projects. This three-part "Using Eclipse Ganymede to develop for the desktop, Web and mobile devices" tutorial series covers the following new Ganymede features: RCP, RAP, and eRCP, which allow you to develop software for the desktop, Web, and mobile platforms, respectively, with one common code base -- Subversion for version control; and p2 for update and installation. In this tutorial, we further enhance the personal organizer developed in Parts 1 and 2, and modify it to be deployed on a mobile device by using the Embedded Rich Client Project (eRCP).

In this tutorial

This tutorial is for any Eclipse developer who wants to learn how to take the Rich Client Platform (RCP) desktop application and turn it into a mobile application Embedded Rich Client Platform (eRCP). You should have familiarity with eRCP concepts, such as extension points and OSGi bundles. Java™ programming knowledge is also required.

In Part 1 of this three-part series, you looked at some of the new Eclipse Ganymede features that have been 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. In Part 2, you took that same code base for the personal task organizer and made some small modifications to it to deploy it as a Rich Internet Application (RIA) using the Eclipse Rich Application Platform (RAP) feature of Ganymede.

In this final installment of this series, you will again modify the personal task organizer to see how you can deploy it on a mobile device using yet another exciting addition to Ganymede: the Embedded Rich Client Project (eRCP). This set of libraries allows you to take an application developed with the standard RCP and, with just a few modifications, turn the application into one that can run on cell phones and other handheld devices.

Topics covered:

  • Downloading the eRCP libraries and setting it up as your target platform.

  • Refactoring your code to use the eRCP.

  • Testing the personal-organizer application with a simulator.

  • Deploying the personal organizer to a mobile device emulator.

Prerequisites

See System requirements below


System requirements

You need the following technologies to follow along:

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.
Windows Desktop Eclipse eRCP target platform environment V1.2
Download the latest version of the Windows eRCP V1.2 Runtime packages. At the time of this writing, it was V1.2, dated 2 Sep 2008.


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


More in this series:
Using Eclipse Ganymede to develop for the desktop, Web and mobile devices, Part 3