Applications on Eclipse

Applications on Eclipse

Explaining about applications built using Eclipse RCP

Eclipse is one of the most popular IDE in the open source world that is used widely for developing and building applications related to Java, JEE.  The version 3 of Eclipse gave a new face to the IDE by supporting the development of stand-alone applications which is in par with the same technology that is used for the Eclipse IDE

The full form of RCP is Rich Client Platform. Earlier Swings ,Applets were used for rich client applications. With the advent of Eclipse RCP, Eclipse RCP takes the front seat even though it uses most of the SWT and Swing features.

There are lot of chat applications and stand alone applications that extensively uses the feature of Eclipse RCP. Lot of VB and other applications running on Swing and AWT are moving to Eclipse RCP as RCP provides lot of features. We’ll explain more in detail later.

Eg. IBM Sametime uses Eclipse RCP.

All the applications built using the Eclipse RCP code are based on the plug-in architecture. Plug-ins are nothing but small components which can be deployed and installed independently. The dependency and the configurations that the plug-ins use are explained in the MANIFEST.MF file

Advantages of Eclipse based applications

As mentioned earlier Eclipse is one of the most widely accepted and robust IDE that is used in the industry, there are lot of advantages of the applications build using Eclipse.

The modular approach and the high quality native look of Eclipse helps to develop systems which can be componentized

Eclipse is evolving very fast and you can see that the different versions that Eclipse have come up at eclipse.org

There is lot of information related to Eclipse in the net as it’s one of the most popular IDE that’s used. Since Eclipse belongs to the open source community there are lot of enthusiasts contributing to the development and betterment of Eclipse.

Eclipse 4 is better compared to Eclipse 3 and the model adapted for programming is much simple. The tool support for Eclipse 4 is still evolving.

Explaining the Eclipse Architecture

Eclipse IDE consists of different components that are listed below.

Eclipse Architecture
Eclipse Architecture

Eclipse RCP uses only a subset of these components.

An Eclipse based application (RCP) uses only parts of these components. An Eclipse RCP typically uses Eclipse RCP plug-ins, Workbench, JFace, SWT, and Runtime/OSGi:

The runtime provided by the OSGi architecture helps to run applications which don’t have a user interface. The runtime provided by the OSGi framework helps to run the application that is built in Eclipse. Eclipse RCP uses the JFace and SWT API. The responsibility for displaying all the UI components reside with the Workbench

 

 

Software components, Plug-ins, Bundles, OSGi

The Eclipse architecture is built on the OSGi specification.

The reference implementation used for this is the Equinox framework from the OSGi.

Normally plug-ins are called bundles and bundles can be called plug-ins . Normally all over in the software world bundles are more common. Bundled software is very common in open source community.

A plug-in is like a library or collection of code that can be reused, plug and played.

Services are also defined by OSGi.  Normally the setting up of these services are bit difficult and is not widely used in Eclipse 3.It is seen that Eclipse 4 applications uses some of the services from the OSGi framework.

Configuration files

The prominent configuration files in the Eclipse plug-in are the Plugin.xml and Manifest.mf. The plugin.xml deals with the information about the extension points and the extensions that are commonly used by the plug-in