InfoQ

News

Could eRCP become an OSGi standard?

Posted by Alex Blewitt on Apr 09, 2008 11:25 PM

Community
Java
Topics
Mobile
Tags
Eclipse eRCP,
OSGi,
SWT

A post to the eRCP newsgroup over the weekend put forward a proposal of putting forward eRCP as an OSGi standard.

The embedded Rich Client Platform is a cut-down set of widgets based on SWT (called eSWT) and the higher-level widges based on JFace (called eJFace). Developers who know how to use SWT and JFace will find the APIs almost equivalent for their embedded counterparts; and since both run on top of Equinox, it's possible to develop bundles that run against both RCP and eRCP.

Several handset developers are already behind eRCP. The most recent announcement was Sprint's Titan environment which uses eRCP atop a J2ME Foundation Profile VM, but Nokia supports eRCP quite heavily. It's a separate direction from Android, but OSGi bundles can also be run on Android.

Chris Aniszczyk, who won this year's Top Eclipse Committer award (and last year's Top Ambassador), is generally supportive of the proposal but wonders where the control will lie:

... it seems like a good idea. However, I'm still a bit uneasy with where the control lies... does this specification imply that the OSGi community gets to dictate what is in eRCP from now on? What impact does this have on the RCP stack controlled by the Eclipse community? Does the eRCP project in Eclipse become the reference implementation, similar to how Equinox is the reference implementation for OSGi?

Regardless of whether the proposal goes further forward with OSGi standardization, it's clear that there's a lot of interest in the mobile handset community about having a standard application framework that can evolve over time, but without being hampered by the JCP.

Do you think formalising the eRCP as an OSGi standard will help or hinder the platform?

2 comments

Reply

could it? by Christopher Brind Posted Apr 10, 2008 1:18 AM
Maybe.. by Neil Bartlett Posted Apr 10, 2008 2:02 AM
  1. Back to top

    could it?

    Apr 10, 2008 1:18 AM by Christopher Brind

    Highly unlikely. Would be interested in Peter Kriens response, but I suspect it will be along the lines of how OSGi is a lightweight specification. If eRCP became part of the standard then why shouldn't RCP? That will never happen. My personal view is that OSGi shouldn't even consider it. People are free to build what they want on top of OSGi and eRCP will blinker people's technical freedom of choice. eRCP maybe a de-facto standard, but that's as far as it should go.

  2. Back to top

    Maybe..

    Apr 10, 2008 2:02 AM by Neil Bartlett

    I think there could be room for this in the wider church of OSGi.

    As Christopher points out, OSGi is a lightweight specification... but that's only really the core. Also under OSGi Aliance there are the Enterprise, Vehicle and Mobile expert groups, and the total output from all these groups (especially enterprise) doesn't look very lightweight at all. That is, if you printed it all out and dropped it on your foot, you would probably break some bones. The important thing is that all these extra parts are optional and specific to a particular use case. So eRCP could work in the same way.

    Incidentally, a very interesting consequence of standardising eRCP would be the creation of an OSGi specification for the Eclipse Extension Registry. I would like that to happen because I think that some significant enhancements could be made through the process of turning it into a specification.

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.