Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

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

eRCP: Going mobile

Suresh Krishna, Software Developer, Freelance Developer
Suresh Krishna has been a programmer since 2000 and has been working on the domain modeling, IDEs, and productivity tools. Inspired by the IDE evolution and developer productivity, he works primarily on the Eclipse plug-ins and RCP applications. Extreme Programming and Scrum are his favorites, along with evangelizing Eclipse to the user, developer, and corporate communities. He enjoys his free time writing blogs and product evaluations.
Trebor Fenstermaker, Software Consultant, Sunnyside Avenue Software, LLC
Although he's programmed in Java since 1999, Trebor Fenstermaker was, for much of that time, highly suspicious of Java IDEs and was a die-hard command-line user, even doing all his code editing in vi -- until a colleague showed him that he really could be more efficient with Eclipse. He now evangelizes his fellow UNIX command-line refugees on its wonders and enjoys exploring its more powerful features -- including its endless possibilities for expansion through custom plug-ins.
Peter Nehrer, Software consultant, Ecliptical Software
Peter Nehrer is a software consultant specializing in Eclipse-based enterprise solutions and development tools. He is a committer on the Eclipse Modeling Framework Technology (EMFT) project (Mint component lead). He holds a master's degree in computer science from the University of Massachusetts at Amherst, Mass.

Summary:  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).

View more content in this series

Date:  16 Sep 2008
Level:  Intermediate PDF:  A4 and Letter (1206 KB | 24 pages)Get Adobe® Reader®

Activity:  12662 views
Comments:  

Before you start

Develop skills on this topic

This content is part of a progressive knowledge path for advancing your skills. See Open source development with Eclipse: Master the basics

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.

About this series

  • 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.
  • Part 3 discusses how to use the embedded Rich Client Platform (eRCP) to develop an application for a mobile device.

About this tutorial

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.

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.

1 of 9 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Open source
ArticleID=337583
TutorialTitle=Using Eclipse Ganymede to develop for the desktop, Web and mobile devices, Part 3: Developing for the Rich Client Platform, the Ganymede way
publish-date=09162008
author1-email=suresh.madhuvarsu@gmail.com
author1-email-cc=
author2-email=tcf@sunnysideave.com
author2-email-cc=
author3-email=pnehrer@eclipticalsoftware.com
author3-email-cc=