Begins with: netbeans RCP Introduction

netbeans platform commonly known as RCP, because the eclipse as its platform for eclipse RCP, they do so for the same purpose, to provide their own IDE based on the ability to build a comprehensive desktop application, in order not to confuse the concept, so it is generally referred to as RCP development of uniform.

Sometimes, the basis for selection is likely to come under the swing or swt carried. Because the eclipse is built based on swt, but netbeans is built based on the swing. Between the two is difficult to live together, although there are java framework to do these tasks, but the basic is not a success, and so with the people and their little. eclipse of the RCP to develop more tools or plug-ins exist. eclipse can only be guaranteed a good run in the win, even in the win, the will occasionally sudden disappearance of the entire form (on-line recurring word crash). Because it is through a layer to call the local operating system to draw the interface, and its stability rely on a lot of the environment, if other software or system-level things that affect it, there will be instability phenomenon, also, eclipse is eating memory , especially with the win is similar, often occupy a lot of virtual memory and hold. Its advantage is that the interface with local characteristics, including a large advantage is that when using Chinese input software, and other win of the software appear consistent, compared to swing (including the netbeans platform), it will occur more than a small window, Wing in the office is done with the swing, but its interface will be able to get rid of this small window, you should make some rectification work, this is not hard to say, however short, should be able to do so. However, I think we should make their own under the amendments to the best java.

As for the platform, the basic difference between, on-line many related articles are mentioned. However, it did not address the substance of which, compared to only a superficial comparison. And I only watched a few online tutorials eclipse of the RCP, there is no hands-on doing the, I just done some netbeans RCP. Therefore, I can not accurately compare the two. Also, because I am more biased netbeans platform, RCP, so I can only say it from the netbeans characteristics, so the title of this article for netbeans RCP description:

1 netbeans platform and jdk closely linked, particularly in the swing part of the jdk, if familiar with swing, then the netbeans is actually an extension of swing, it does not reinvent the wheel, but totally built on a swing basis. It is based on sound MVC structure, strict division of the view (windows API); controller (explorer API); model (data object API, the file system API, the node API), and then the other API, such as movements API, a text API, xml API, the project API functions of these according to your needs to choose. The low-level API is the core API and modules, and they are responsible for managing the entire platform, these low-level API we generally do not come into direct contact.

This is its API list:

Model: File System API "" Data Objects API "" node API "" Controller: Resource Browser API "" Window System API

File System: You can order the file exists on behalf of any resources, the hard disk zip jar directory netbeans-layer description of the virtual directory (layer.xml file)

Operation is the file itself (such as delete the renamed copy and paste, etc.)

Data objects: the file system will be increased to that of their data objects, you can manipulate the data (that is, the file's contents)

Node API: Of course, simply means that the document data objects represented by the data content, but not displayed to the user ? . Must therefore be re-raise, and this is the node (Node API)

The three have provided a detailed API for interoperability and mutual access to each other, you can perform the function to obtain the required objects, such as a project node to show this project belongs to all the files, these are unfolded by the nodes , such as dealing with drag and drop, selection, these are to be referred to the controller and the following link

Controller - explorer API: Explorer API, it is with a ExplorerManager class, able to display the window in the data, specifically to show what sort of sample, depending on what view options. By motion, as well as the ability to bind and resource management is connected, and made available to the nodes use a node can be carried out to determine what operations, as well as menus and toolbar buttons associated state (available or not available, and even dynamic changes in menu tool bar content).

View - windows API, offers a variety of views, these views using the same model, thus achieving a complete separation of MVC-style, the model does not depend upon the specific

View, are free to change, without having to change models, models do not change, then the bottom can of course remain unchanged.

The view has been provided only the root node or a child node (as root), on it. Therefore, the data do not need to change that if the view changes, then it does not have view of part of the tube, and can be said that a decoupling of the application.

2 API clearly stated above, the various API closely around the MVC started and provides the associated API, action API, is available to the nodes and data objects to any characterization of their operations, when available, or conditions. On how to do this, please refer to the official description of the API, and related tutorials.

3 good inheritance hierarchy components are based on the swing organized, swing rather abstract and rather rough, not suitable for direct use. The netbeans to swing effectively organized, with minimal code can be made out of high-end applications. We only upon request of that part of the business doing the core code can be, while such correlation and display by the internal mechanism associated with up.

Struts spring hibernate and are very similar, which provides a lookup API, through which it can be related to an object, such as the currently selected node, as well as with the entire system-related listener system. Invariably reflects the object-oriented thinking.

Can be said that netbeans platform is the world's only and most powerful swing platform framework.

4 for the netbeans platform is completely modular-oriented modules, including the organization and run. First netbeans update center management through the upgrading of each module, while the bottom has a strict version of the system, dependent on management systems, Java has extended a note, netbeans in strict accordance with the instructions to implement.

jdk7 will use a better modular system, that time will be integrated directly into netbeans. When an error occurs the module will stop the installation, have installed the module will be automatically disabled when an error was found. The newly installed module is enabled and can be put into use immediately, without restarting netbeans. So in the end how Modularity: give an explanation under the circumstances:

For example to be a module development, for example, be a netbeans plug-in, we can run two ways and test it:

4.1 Operation: that the use of a single instance of netbeans to install and run the plug-in ---- need to open a similar netbeans

4.2 in the current IDE install: can be installed directly in the current IDE, ---- no additional memory overhead of this

As for the use of which is entirely based on personal preferences. An error will stop the installation or automatically disabled and will not endanger the netbeans.

When the changes in code, you can choose to re-install (according to the above there are different options selected): So some changes to take effect, if only changes to a class, then the deployment time of no more than 5 seconds, regards how re-deployment time, depending on whether you change the number of classes, generally takes a few seconds of time, as more modular,

Then re-deployed before the start of the IDE where you can select a text, when the re-deployment is complete, that part of the original text remains the same, including the contents of that choice.

As such, they are guaranteed a high-speed development efficiency.

5 based on standard JDK upgrade the jdk each performance will be generated on the netbeans platform upgrade, and the

In fact, wrote this, I really felt every word, and posted a comparison of official website bar, it be regarded as a very fair, and true:

分类:Java 时间:2010-03-29 人气:444
blog comments powered by Disqus


  • History of Java-based operating system 2010-07-08

    Reprinted from: *************************************** ********* ********** First pure Java OS *************************************** SavaJe pure Java operating system has received wide s

  • T400/R400 WIN7 into 2.99G Memory 2.46G operating system solutions, 2011-09-26

    T400/R400 WIN7 into 2.99G Memory 2.46G operating system solutions, by admin. As addressing the problem of system memory 32, WIN7 Server system that has no memory of the memory address so WIN7 display range also thinking about the 3G: integrated graph

  • Eclipse plugins plug-ins used 2011-04-26

    View global resources file, must be used PropertiesEditor: Quote Strongly recommend that you use PropertiesEditor, more convenient Introduce

  • java read operating system environment variables 2010-11-04

    Easier to make money at home / ** File Name: Description: Get the current system variable procedures. System.getProperty only for java JVM in the past, if you want to get system environment variables, but also use the system-related func

  • With the VMware-workstation virtual Apple Snow Leopard operating system problems 2011-05-15

    Machine: ThinkPad X201i Operating System: win7 sp1 [Apple's Snow Leopard operating system, the official version]. Snowleopard_10a432_userdvd.dmg Virtual Machine: VMware-workstation-full-7.1.4-385536 I also saw the Raiders, and thanks to this guide: h

  • ----- Eclipse WTP plug-ins 2010-05-13

    WTP (Web Tools Platform) project to extend eclipse platform is a J2EE Web application development tools. WTP contains the following tools: * 1 Source editor can be used to edit HTML, Javascript, CSS, JSP, SQL, XML, DTD, XSD, and WSDL. * A graphics ed

  • Install a virtual machine and linux operating system 2011-09-08

    Such as problem

  • Decompile Java under the Eclipse plug-ins 2010-10-02

    [Size = x-small] [/ size] Eclipse plug-ins under the Java decompiler: Jode Decompiler Name: Jode Decompiler Summary: An Elipse the Java decompilation tools. Used to view the Jar in the Eclipse class files in the package source code. Installation: Ecl

  • Eclipse plug-ins download Address 2009-05-07

    1 EMF, GEF - Graphical Editor Framework, UML2, VE - Visual Editor download here 2 lomboz J2EE plug-ins, development JSP, EJB 3 MyEclipse J2EE development of plug-in

  • Eclipse plug-ins list of commonly used 2010-04-29

    Properties Editor Properties Editor Edit java properties file and can automatically Save as Unicode format Colorer Take Colorer Take for hundreds of types of files by syntax coloring XMLBuddy XMLBuddy edit xml file Code Folding Code Folding adding a

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 黔ICP备15002463号-1

processed in 0.251 (s). 14 q(s)