- 论坛徽章:
- 0
|
JAVA IDE开发环境--用什么好?
NetBeans IDE vs. Eclipse
Eclipse is another IDE that is sponsored by IBM. Both NetBeans IDE and Eclipse are free and open source, and the vendors behind them (Sun and IBM respectively) also sell commercial versions: Sun Java Studio for NetBeans IDE and IBM WebSphere Studio for Eclipse. While the two IDEs have many similarities, NetBeans IDE offers the following advantages over Eclipse:
* The standard distribution of NetBeans IDE comes with all the tools needed for an out-of-the-box experience. On the other hand, the standard distribution of Eclipse is missing out-of-the-box features that are required for Java development, such as a visual editor for Swing and AWT components, and it is a nuisance to install all of the open tools for Eclipse that come standard with NetBeans.
* NetBeans IDE is a standards-based Java technology and can, therefore, run on any platform that supports Java technology. On the other hand, Eclipse does not conform to pure Java technology because it uses SWT (Standard Widget Toolkit) instead of Swing and AWT. A custom SWT is needed for each platform on which you wish to run Eclipse.
* NetBeans includes far more tools for web development than Eclipse. For example, NetBeans comes with a built-in Tomcat servlet container and a JSP debugger so that you can run and debug web applications based on servlets and JSPs from within the IDE.
* NetBeans IDE provides good support for Swing and AWT development; a visual editor for Swing and AWT components is part of the main distribution.
* NetBeans IDE provides good support for Java 2 platform, Micro Edition (J2ME) (wireless/mobile applications) development.
摘自http://java.sun.com/developer/te ... /JavaLP/netbeans40/ 当然,这只是sun 的一面之词,IBM也会找出一大堆Eclipse比netbeans好的理由。不过,就目前我的开发模式来说,我还是更喜欢netbeans,因为我的所有开发过程全部由ant来管理,而netbeans的工作模式正好符合这个过程,源代码和编译的class分开,可以自动生成可执行jar,自动寻找更新的.java文件进行编译,而不是编译所有的.java。 改天我写一篇专门介绍ant的文档,并且给大家共享我的ant脚本。
netbean 4.0可以下载beta版了,虽然是英文版,但是中文支持还是相当不错(3.6的英文版里面输入中文很痛苦,有时中文字会被拆开成乱码),速度明显比以前块了很多,支持同时打开多个项目,我期待正式版的发布。 |
|