What are Extension Points?
Extension points are nothing but dependent functionality basically from libraries and jars that are used by the plug-in.
The details of these libraries and jars are normally in the plug-in.xml file. This file is placed in the root directory. Like any other configuration files this is loaded in the start of the application. The IDE has a provision to edit the xml file with ease.
Components that define the Eclipse RCP application
The Eclipse RCP application consists of View, WorkBench,Perspective, Workbench Advisor and the Main program.
Like any other java program there need a main program to start the application. The main class needs to implement the interface IApplication. This package is used for running the application “org.eclipse.core.runtime.application”.
Perspective is the one which defined the layout of the application. The package used is “org.eclipse.ui.perspective”.
The Workbench has tools like menus, perspectives etc.The Workbench facilitates in rendering of the application on the screen
If you don’t have eclipse and wish to download the same can be obtained from here
Download the Eclipse from eclipse.org. If you don’t’ have java, you can install java as well. Normally Eclipse comes with jdk. If you are already usging Eclipse and wish to update the latest version of Eclipse then you can use the Eclipse Update Manager feature to install the plug-in feature
You can check for Updates for Eclipse as shown below and this can be selected to run in the background if your Eclipse version is bit out of date.
Let’s start creating our first Eclipse RCP project and then get going
The First Eclipse RCP program
Go to File- > New Project and select the Plug-in Project.
Give your plug-in the name “com.j2eebrain.rcp” .
Click Next and select ’Yes ’ for the question ‘Would you like to create a rich client application?’ as we are planning to create one.
Click the ‘Next ’ button and you can selct the ‘Hello RCP’ template
Click Next and check-in the ‘Add branding’ check box. Once done, click the Finish button
If you are doing this for the first time, Eclipse IDE will ask whether you want to remember the perspective. You can select the ’Remember my decision’ and click the Yes button.
After clicking the Finish button the project structure opens up in the perspective as shown below.There is an Overview window as well which shows what all are the property files created and other configuration files created.
Click on the src folder and see what all files are created.
Eclipse RCP applications are always packaged as products
- Flash Remoting for J2EE
- J2EE Checklists
- AWT vs Swings
- What is Beehive
- CGI Tutorials
- CORBA tutorials
- J2EE Application server
- J2EE History
- J2EE Design Patterns
- J2EE Interview Questions
- Application Server
- What is Manifest
- What is Maven
- Maven 2
- POJO Application Frameworks
- Web 2.0
- AWT vs Swings
- J2ME- Java2,Micro Edition
- iBatis DAO
- Working with eclipse and CVS
- XDoclet tutorial
- Cross-site scripting
- Cross-site scripting – part 2
- Workflow Component
- How to check performance in J2EE applications
- Sun VirtualBox
- Secure Coding Guidelines
- Eclipse Shortcuts
- Applications on Eclipse
- Extension Points
- Best place in the internet where you will get Java J2ee pdf tutorials
- DISTRIBUTED MULTI-TIERED APPLICATION
- J2EE Containers
- Adaptive vs Responsive design
- Creating an Eclipse RCP application
- ElasticSearch – Storage Architecture using Inverted Indexes
- Architectural Considerations for using Elasticsearch
- How to use Elasticsearch with SQL Server