Eclipse rap rich client Development Summary (1)-Brief Introduction to rap and development environment Establishment

Source: Internet
Author: User

Note: Eclipse rap rich client Development Summary-a series of articles are transplanted from my iteye blog. Later will directly update the http://jlins.iteye.com/

I. Introduction to rap 

1. Basic Concepts
RAP allows developers to use Java APIs and build Ajax-based Web 2.0 applications according to the development mode of Eclipse plug-ins, rap uses cross-compilation to generate HTML, JavaScript, and CSS files for Java code. The underlying layer is based on the qooxdoo Ajax framework, we don't have to deal with JavaScript, CSS, and HTTP details, so we can be more concerned with the implementation of program functions.
2. Relationship with RCP
Like RCP, rap runs on the Equinox framework. Equinox is the implementation of osgi R4 specifications and is an excellent and mature osgi framework, eclipse implements flexible scalability and plug-in hot deployment through this framework. Rap also supports most of Eclipse's extension points. In fact, rap and rcp are very similar in architecture, with the architecture diagrams of RCP and rap respectively.


 
It can be seen that the overall architecture is not much different between them. RCP is based on SWT, rap is based on rwt, and rwt is a subset of SWT functions. In fact, the usage is similar. For example, rwt can also use MVC to create tables like SWT.

Simply put, the RCP program is displayed in the browser. What is RCP? RCP is switched from Eclipse plug-in development to desktop application development, allowing you to develop programs constructed in the same way as Eclipse, reusing eclipse views, editors, status bars, and so on, get rid of the failed AWT and swing, so that the program has professional effects, and the program implementation is very simple and elegant. Imagine which day the eclipse overall interface can run on the web? Yes, rap can be implemented, and eclipse officially plans to run eclispe on the Web in the E4 version? Although there is a great delay in the progress, we can see that the rap version is still being released in an orderly manner, so it won't be too far for eclipse to run on the browser.

3. download the latest version
1. Download eclipse RCP/rap version eclipse for RCP and rap developers
Http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigosr1
Installation Method 1
Open the helpwelcomoverview option in eclipse and select rich Ajax platform install Target Platform, as shown in figure


 
Click OK to complete the installation.
3.2 installation method 2 
Select helpinstall new software, select the URL as shown in, and select the rap option, as shown in. Click Next and finish to complete the installation.
If no URL is shown in the drop-down list, click Add on the right to add the URL.


 

4. Related Documents
Http://help.eclipse.org/indigo/index.jsp? Topic =/org. Eclipse. Rap. Help/help/html/intro.html

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.