Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Examples/Eclipse Business Expense Reporting Tool

Warning2.png


EBERT is a simple expense reporting tool that runs on the client, server, and embedded devices using Eclipse Rich Client Platform (RCP), Eclipse Rich Ajax Platform (RAP), and Embedded Rich Client Platform (eRCP) respectively.

Here's a snapshot of the RCP version of EBERT:

Need picture

Here's what it looks like in RAP:

Need picture

Here's what it looks like in eRCP running on a Nokia E90:

Need picture

You'll notice some similarities and some differences. Approximately 90% of the code is exactly the same across platforms. That 90%—the exact same code without recompiling, repackaging, or manipulation of any sort—is deployed on the desktop, the server, and a phone. This is one of the great things about Equinox and the various runtime platforms at Eclipse: the exact same component model, Equinox, is used everywhere.

Arch.png

The common bundles—those in the middle—contain most of the interesting behaviour. Specifically, these two bundles contain the basic business models (core), and the various views and custom widgets (ui). Underneath these common components are the various runtime platforms which all themselves sit on Equinox (actually, the E90 uses Prosyst’s implementation of OSGi).

At the top are the various "application" bundles. Each of these bundles pulls the pieces together for one of the platforms. The "application" bundles provide some customization of the views, and—in the case of the eRCP version—some navigation glue that manages the views in the absence of perspectives (which are not supported on eRCP due to screen space limitations).

Back to the top