Adam Bien's Weblog

Saturday Mar 22, 2008

Eclipse 3.3 or NetBeans 6.0 - with surprising result

This interesting JavaWorld article compares Eclipse 3.3.1 and Netbeans 6.01 with a surprising result. The following summary, really amazed me:

Table 2. NetBeans 6.0 vs. Eclipse 3.3: Rated

Feature Weighting Eclipse 3.3 NetBeans 6.0
Ease of use/editing features 40% 2.8 3.6
Scripting/other languages 10% 3.0 3.6
Enterprise support 20% 3.2 3.0
Plugin ecosystem 30% 3.8 2.7
Total score   3.20 3.21

[the table was copied from the fourth page]

It really surprised me, that Netbeans's editor was higher rated than Eclipse's. I prefer the Netbeans editing experience, but my opinion isn't really objective :-). I just like Netbeans's editor more, without knowing the reason. The small built-in wizards like alt+insert make the coding experience more fluent - but this is really my subjective view. Most of the developers prefer Eclipse, because of the editing experience (they often miss in Netbeans e.g. the "Link With Editor" button). On the other hand, Eclipse was higher rated in the Enterprise support, what I really cannot see. Netbeans comes already with really good built-in Java EE 5 support. Applications servers like BEA WLS, JBoss, Glassfish in 6.1 WebSphere are supported as well out-of-the-box. Netbeans comes with SQL-Explorer, Visual JSF designer, HTML-Editor, XML-Support, profiling support for application servers. All this functionality is only partially available on the Eclipse Side - sometimes only with additional commercial plugins like MyEclipse. The Enterprise Support is one of the reasons, why I prefer Netbeans over Eclipse in my Java EE 5 projects.

Eclipse also do not have a visual UML support. The excerpt from the article below simply isn't true:
 
"...For example, when it comes to UML modeling, NetBeans has a built-in modeling tool that supports UML (including use case, class, collaboration, sequence, and activity diagrams). Code can be abstracted into a UML diagram, and UMLs converted to code. Eclipse, by comparison, offers the Enterprise Modeling Framework (EMF), which is a platform for building tools, and the graphical editor framework (GEF). If you install both of these packages, then configure them, you'll be ready to start modeling your enterprise architecture in UML. You'll have more features than you would in NetBeans, but you'll work harder to get them installed, configured, and running..."

The EMF is only a subset of MOF (Meta Object Facility), GEF is used to build Editors from metamodels. The author of the article meant perhaps GMF (Graphical Modelling Framework) - however no of this frameworks is able to generate UML-Diagrams from source code. This is Netbeans unique feature. However the availability of EMF and GMF and it's metamodelling capabilities is a huge advantage of Eclipse, especially if you would like to build code generators, ...but it wasn't mentioned in this article. Eclipse comes only with the UML metamodel - but I do not know any visual designer (did I miss something?).

I also do not see, that the amount of available plugins, indicates the quality of the IDE. You just need less plugins for Netbeans to complete your work. Actually I only use the UML-plugin - and this one only for the documentation of high level concepts.

I explained my view of Eclipse and Netbeans in the post "Thinking loud about Eclipse and Netbeans"


[my tweets]  Rss My book: Real World Java EE - Rethinking Best Practices

Kommentare:

hi adam,

thanks for sharing the info.

enterprise : yes, that surprised me too.

plugin : I thought that the eclipse plugin community is far far ahead than netbeans plugin community.

BR,
~A

Gesendet von anjan bacchu am March 22, 2008 at 09:30 PM CET #

Hi Anjan,

you are right. There are lot more plugins available for Eclipse, than Netbeans. However the question remains: How many plugins do you really need for productive work?

regards,

adam

Gesendet von 192.168.0.22 am March 23, 2008 at 02:52 PM CET #

Hi admin,

Thanks for the info.

I totally agree with your perspective on the plugin ecosystem.

Frankly speaking, NetBeans's plugin architechture is way far better than Eclipse's. One of the main reason that NetBeans ecosystem's size is smaller than Eclipse is that Eclipse's plugin tutorial are well documented (This is already improved in last 2 years in NetBeans).

So I believe once NetBeans gets more and more popular, there are a lot of companies are likely to invest or port their product on NetBeans.

BR,
Lin

Gesendet von David Lin am March 23, 2008 at 03:10 PM CET #

Adam,

Andrew Binstock, the article-writer, is heavily biased towards both Sun and Sun's products. I wouldn't consider Binstock to be a really objective person when it comes to compare Eclipse against Sun's Netbeans-IDE.

There is no true objecitivity (unfortunately). Are you objective, Adam?

Gesendet von F. Simoni am March 23, 2008 at 06:59 PM CET #

>
Scripting/other languages 10% 3.0 3.6
>

NB being better here then Eclipse? Oh my.... sorry but this is utterly wrong. See PHP, see Adobe-Flex, Wolfram Mathematica etc. pp. Just look at the amount of language-plugins available for Eclipse. How can anybody claim that NB beats Eclipse especially in that area?

Sorry again, Adam. But Binstock is heavily biased towards Sun's Netbeans-IDE. See his article-history on Google about comparing Eclipse vs. Netbeans.

In german: "Adam, mit diesem Blog hast du ein Eigentor geschossen."

Gesendet von F. Simoni am March 23, 2008 at 07:22 PM CET #

Hi F. Simoni,

I think I'm objective. I'm using both IDEs. I prefer Netbenas for my daily work, however I'm using Eclipse in case my customers have it already. I'm a self-employed consultant, before 5.0 I didn't even consider to use Netbeans. Now (5.5 / 6.1) it works really well. I also enjoy the pace of innovation. I also do not like "mainstream choices". The best IDE is probably IntelliJ, however it is commercial. So in most of my projects it would be really hard to introduce it. The introduction of Netbeans 6.0 is much easier - it is free... In most of my Java EE 5 projects we are using Netbeans - it works well - however it isn't perfect.
I do not like flame-wars - I'm just pragmatic - and I do not care about mainstream :-),

Btw. do you know a free, visual Eclipse UML-editor?

I do not know Mr. Binstock - however the results of the article were really suprising for me...

Will you come to J1? If yes we could discuss my view with a beer :-)

thank you (really) for your comments!
regards,

adam

Gesendet von Adam Bien am March 23, 2008 at 08:33 PM CET #

The GTK-SWT version of Eclipse is dog slow on Linux. Somebody please take note of that and give lower points to Eclipse in ease of use section.

Gesendet von anonymous coward am March 23, 2008 at 08:50 PM CET #

Hi Adam,
i dislike the plugin-handling of Eclipse. It is very hard to install plugins if they have dependencies. I like the NetBeans Plugin-module, it is very easy to use. The problem is, that the plugin-community is very small. But you don't need many plugins, most functions are included in the installation.

It is very hard to compare Eclipse with NetBeans. Each of them has positive and negative points. I prefer NetBeans, but sadly, most companys are using Eclipse ;-)

Take a look at the NetBeans roadmap, this IDE is under heavy development and i hope that in near future, every missing feature from Eclipse will be added.

Regards,
Siegfried

Gesendet von Siegfried Bolz am March 23, 2008 at 10:04 PM CET #

I don't think that the author of this article analysed the IDEs from the developers point of view (just noticed he is analyst and no developer ;-)).

The fists things you notice if you install both IDEs side by side and start hacking:
1.
-NetBeans uses ANT to build your project
-Eclipse uses his own internal project structure (or ANT)

2.
-NetBeans uses javac to compile your stuff
-Eclipse uses a self made incremental compiler

3.
-NetBeans comes with integrated CVS/SVN (and HG in NB6.1) support.
-Eclipse not (now you need plugins)
...

This three points are not mentioned in the javaworld article and probably the core features of every IDE (how to build, run and organize your code). The mentioned points are also more important as they may seem initially.

eg: do I choose the faster incremental compiler for development builds and ANT/Maven+javac for final builds and risk compatibility problems between them or not...

---
I am also no fan of this kind of comparisons. Its like saying Star Wars is 0.1% better than Lord of the Rings... (everyone knows Star Wars is better ;-))

Gesendet von Michael Bien am March 23, 2008 at 10:54 PM CET #

Michael,

Star Wars is much better than Lord Or Rings - and I'm not biazed :-)
regards,

adam

Gesendet von Adam Bien am March 24, 2008 at 08:53 AM CET #

Adam,
everybody knows you at least in Germany :-)

But what is your relation to Sun? Why are you (heavily) advocating both Sun's enterprise-stack and Sun's development-tools?

Are you REALLY an independent reviewer? Why are you member of the so-called NB Dreamteam? Being member of that dreamteam is a strong committment.

Gesendet von F. Simoni am March 24, 2008 at 09:24 AM CET #

BTW I would like to ask a question to the Sun-dreamteam: how successfull is Netbeans? In DE/A/Ch I can't see much presence. Eclipse is king (or queen)

I think that Sun completely missed its goals say Netbeans gain any important marketshare against Eclipse in the last two years.

Is it right or wrong? How big is Netbeans market-share right now compared to Eclipse. In case NB had been a (very) successfull project even taking big chunks of Java-IDE marketshare we probably knew it from Sun's marketing-department?

Right or wrong? Am I right that Sun's Netbeans-IDE is still long behind Eclipse's marketshare?

Gesendet von F. Simoni am March 24, 2008 at 09:31 AM CET #

Simoni,

1. I'm totally independent from Sun. I give once a year a training on average for Sun. This is the one and only commercial relation. 2 years ago I even used Eclipse and JBoss in the classes :-)
2. I'm not advocating Sun's enterprise stack. I'm just using Glassfish in the majority of my current projects. Glassfish's capabilities are unique in the opensource space... (another topic).
3. Beeing a Netbeans Dream Team Member is not a blind commitment to Netbeans. Is just a group of people who like Netbeans. We have no contracts - I can act independently.
4. I'm not REVIEWER at all. I'm just a self-employed consultant and need some tools for my projects. I'm using this blog as a scratchpad and do not care about the impacts :-).
5. Netbeans is superb in Java EE 5 space. This is what I'm mainly doing. I'm just do not using PHP or Wolfram Mathematica in my projects - so I just don't care :-).
6. I use Netbeans in all of my opensource (and really not commercial - like e.g. greenfire) projects, which I'm developing in my spare time. I'm using Netbeans for all of this. Why - because it is faster to install and share.

Gesendet von Adam Bien am March 24, 2008 at 09:36 AM CET #

F. Simoni,
"BTW I would like to ask a question to the Sun-dreamteam: how successfull is Netbeans? In DE/A/Ch I can't see much presence. Eclipse is king (or queen)"
I don't have to ask. Eclipse is dominant. However Netbeans 6.0 is really new - and gaining momentum. At the second JUGM / NUG meeting in Munich came already over 50 Netbeans fans. This is really not bad.

"Right or wrong? Am I right that Sun's Netbeans-IDE is still long behind Eclipse's marketshare?"

Again - you are right. Eclipse has more marketshare than Netbeans. However I just using Netbeans, because it is more efficient for me. In all my newer Java EE 5 projects we are using Netbeans + Glassfish.

As I said. I'm consulting in Java EE 5 / serverside area. I try choose the right technology for the job. For my daily Java EE 5 work Netbeans is just superb. I just don't care about marketshare and another stuff. Netbeans is free, Glassfish (this is what you probably meant by "sun's enterprise stack") also. There are some synergies between both - which is fine for me.

regards,

adam

Gesendet von Adam Bien am March 24, 2008 at 11:25 AM CET #

Regarding the UML stuff just google for "eUML2".
It's based on Eclipse and for our work much better suited than NB's UML stuff (no separate project, uses javadoc like annotations).
There is a free edition available.

Gesendet von Anonymous am March 25, 2008 at 07:42 PM CET #

Well I think comparisons like that are likely to be found a dozen each day, these days, which obviously does indicate some momentum given that some time ago no one probably would have bothered dealing with anything else than Eclipse at all. However so far, some personal points to add:

- Maven2 support in Eclipse sucks. Period.

- It seems that though the NetBeans set of plugins so far is more limited but plugins are simply better integrated. Just try using maven2, Spring and WTP to build war artifacts in Eclipse.

- RCP documentation in Eclipse is pretty limited.

- The "Visual Editor" for building Java UIs in Eclipse hasn't been usable ever since. Nothing to be on par with Matisse in NB 6.x.

No I am in no way related to Sun, but possibly choosing a tool is a rather pragmatic thing depending on other aspects than market share. ;)

Cheers,
Kristian

Gesendet von Kristian am March 26, 2008 at 09:22 AM CET #

Regarding visual UML tools for Eclipse.

Ever tried Eclipse UML2 (http://www.eclipse.org/modeling/mdt/?project=uml2). It provides OCL support which NB still lacks today.

Also try Topcased UML (https://gforge.enseeiht.fr/projects/topcased/) which is backed by the Airbus consortium.

Gesendet von Klaus T. am March 31, 2008 at 04:03 PM CEST #

Kristian, would you please explain your comment "Maven2 support in Eclipse sucks. Period."?

Gesendet von Eugene Kuleshov am April 19, 2008 at 05:22 AM CEST #

I think netbeans lacks of editing spring configuration file.

Gesendet von Batbayar Bazarragchaa am January 05, 2009 at 06:21 AM CET #

Senden Sie einen Kommentar:
  • HTML Syntax: Ausgeschaltet
Interviews/About
My Recent Book
Java One 2009
CommunityOne East N.Y.C
JavaONE 2008 Interview
Search
...the last 150 posts
...the last 10 comments
greenfire.dev.java.net
Links
my.netbeans.org
Visitors
License