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:
Related Posts of Begins with: netbeans RCP Introduction
Tools: Eclipse3.1, MyEclipse4.03, Tomcat5.5.9, Properties Editor plug-ins, MySql4.1.13 New construction: the name for the login Create Struts framework Create index.jsp, add a link to login.jsp Press Ctrl + N, to create login.jsp, LoginAction, the use of
If you do not want to use the default hibernate.cfg.xml file as a configuration file, we can also specify the configuration file name: File file = new File ( "C: \ \ myhibernate.xml"); Configuration config = new Configuration (). Configure (file
Error: The 'Hibernate proposals' proposal computer from the' org.hibernate.eclipse.jdt.ui 'plug-in dod not complete normally. Unable to instantiate the extension. To Avoid this message, disable the 'org.hibernate.eclipse.jdt.ui ...
Now do live more and more often required to use eclipse in java and ruby & rails project conducted between the tangential shear from the past, because in the rails project used a coloring Aptana preferences, the results open the java project sour ...
Although the workflow is still immature stage of development, not even a recognized standard. But its application has already been launched in the Express, indicating the market's demand for job-flow framework are urgent and enormous. Backgrounds of o
Introduction Openfire features plug-ins are enhanced. This document is a guide to developers to create plug-ins. The structure of a plug-in Plug-ins Plug-ins openfireHome stored in the directory. When deploying a plug-in jar or war file, it will automatic
The end of the project stage, the client suddenly put forward a very troublesome but normal demand, the system records all changes must be carried out. Formats such as: 2004.1.1 12:30 Ikuya wind orders Sales Order Date 2004.1.2-> 2004.1.3 The firs ...
myeclipsePlug-ins? 1.tomcatPlugin(Start tomcat )：http ://www.sysdeo.com/eclipse/tomcatPlugin.html,2.xVersions of eclipse 3 version 2 .1Version doesn't work. 2.Lomboz(Development of jsp program ,jspDynamic prompt, debugging ):http://forge.objectweb.org/pro
Editor settings: Window -> Preferences -> Java-> Editor appearance: Display line number, emphasizing symmetry shown in square brackets, to emphasize that the existing line to show Print Margins its check, Tab width set 4, print made from the fiel