<< Java News Brief (JNB): Scripting Support in Mustang | Home | VMWare Wants To Email You A Free VMWare Server License >>

NetBeans Still Thinks It Competes With Eclipse

It's competing with its own past, which is an impossible task. Just ask the Applet people.

Roumen: Why Doesn't Sun Want to Join Eclipse Foundation

Ok... this question keeps coming all the time. Everytime we announce a new release of NetBeans someone asks it. So in case somebody asks you, you can send them a link to this blog entry. Thanks, Gregg, for summarizing this.

Question: These Sun developer tools have some great features, but why try to do it all? Why not just join the Eclipse Foundation and have one focused effort to use for building tools? In other words, why couldn't all of Sun's leading-edge tools features just be delivered as Eclipse plugins?

A: There are several reasons:

He gave six reasons. And every one of them is wrong. Wrong not in the technical sense, but in the sense that it won't win anybody over to their side who are not already there.

I'm fairly open minded to the new version of NetBeans. I had a little issue about their web site using the wrong license, but that seems to have been fixed with the 5.0 beta's and with the final release. I just downloaded and install NetBeans 5.0. And it looks great. (Although the new class wizard still generates a no-arg constructor, which, if you think about it, does more harm than good.)

Here's my reaction to Sun's reasoning. (The fact I'm still thinking NetBeans as a Sun product rather than an independent Open Source product may be indication of the ill of NetBeans marketing.)

"SWT is not WORA"

This is so 1997. WORA, while a good ideal, hurts Java as an ideology. The first round of WORA war got us a Microsoft technology (.NET) that competes with Java. The second round of WORA war got us an IBM technology (SWT) that competes with Swing. I'm not sure Sun wants to fight another WORA war. For what? To lose the hand held market place?

"Look at this bug (SWT/Mac Issues)"

Don't look at other peoples bugs. Look at your own. I reported many bugs to Sun. Took them months to just acknowledge them. Some has gone on years without being fixed.

"Ours is one big bundle (Theirs you have to piece together)"

My version of Eclipse comes with my operating system installation with everything configured just right. Even for C++ or Python development.

"Look at what people built with our platform"

They look great! So?

"We are 31% market share, and people download us"

J++ were, like, what, 85%. I've downloaded NetBeans many times in 2005. I actually downloaded it three times in the past two weeks (rc1, rc2, and final.) I did not download Eclipse this year at all. It came with my operating system distribution.

"Competition is a good thing"

You bet it is.

In conclusion

Come on guys. You are selling an Open Source technology. Tell us what it can do and how it does it better than anybody else's open source or commercial products. If it fulfills a need, people with that need will use it. Bashing Eclipse gets you guys nowhere.

WORA is a winning technical proposition, but a lousy marketing slogan with a losing track record. Say it one more time, I'll disable Java in my browser. Oh wait, it already doesn't work. (There is no 64-bit browser plugin in the amd64 JDK.)

The best marketing approach for NetBeans? Make a non-paid, non-Sun, non-NetBeans core team member come out and say good things publicly about NetBeans. I know someone who did exactly that.

Tags :


Re: NetBeans Still Thinks It Competes With Eclipse

Although the new class wizard still generates a no-arg constructor
Try Tools -> Template Manager

Re: NetBeans Still Thinks It Competes With Eclipse

Thanks. I already did that. At any rate, that's a minor issue now.

Re: NetBeans Still Thinks It Competes With Eclipse

Everybody using the same IDE is like using only one Operating System, driving the same type of car, living in the same type house, eating the same kind of food, loving the same kind of people, etc. That sounds boring to say the least, or like communism at the very other extreme end. If you own some exclusive gadget, think about giving it away and get and use the equivalent one that everybody has. Hope you see the reason...

Re: NetBeans Still Thinks It Competes With Eclipse

I'm all for deversity of IDEs, especially open source ones, because with open source, it's not either/or. I can have them all installed and use the appropriate ones for a task.

Re: NetBeans Still Thinks It Competes With Eclipse

I didn't write this post to help promote NetBeans - I only answered the frequently asked question "Why doesn't Sun join Eclipse Foundation". We have good reasons not to do that - and I believe these reasons are valid.

Does Eclipse run on the new Intel Macs? No. Does NetBeans run there? Yes.

Can you distribute one package of your software for all platforms, including webstart from Eclipse? No. Can you do that with NetBeans? Yes.

These are real issues real customers are having.

I agree with you that articles like the one from Tim Wheeler promote us very well. The goal of this post was not to promote NetBeans but to answer once and for all the question why don't we want to join Eclipse foundation. Thanks for understanding :)

Re: NetBeans Still Thinks It Competes With Eclipse

Roumen,

Thanks for the comment. Like I said, I have no problems with what you are saying on the technical level. As a matter of fact, I'm rather on the Swing side of thngs when it comes down to GUI Toolkit choices in Java.

What I have realized over the past few years is that all the purity talk only serves to shrink the community. You may have good intentions, but it's the end result that counts.

Re: NetBeans Still Thinks It Competes With Eclipse

Erm, yes it does run on Intel Macs. You have to download a new version of SWT, but nothing that you can't do at present. Granted, it's a beta at the moment, but I expect that by the time 3.2 is released, there will be support for it directly. https://bugs.eclipse.org/bugs/show_bug.cgi?id=98889

Re: NetBeans Still Thinks It Competes With Eclipse

Ok, thanks for the info. I was told it doesn't run at all.

Re: NetBeans Still Thinks It Competes With Eclipse

Also you can distribute one package of your software for all platforms with Eclipse if you want. Even with webstart. I'm not sure you'd want to (because it looks more polished with platform specific installers), but I'm not aware of a technical reason why you couldn't. If Sun would include SWT in the JRE then that WORA argument would go away too. :)

Re: NetBeans Still Thinks It Competes With Eclipse

Interesting... how do you do that? Can I see for instance an example of a webstartable RCP application which is platform independent?

Re: NetBeans Still Thinks It Competes With Eclipse

I had one a while back but it's a bit out of date. Here are some references you may find helpful: http://www.eclipsezone.com/eclipse/forums/m91847315.html https://bugs.eclipse.org/bugs/show_bug.cgi?id=48416 http://help.eclipse.org/help31/topic/org.eclipse.platform.doc.isv/guide/java_web_start.htm http://www.javalobby.org/java/forums/m91833495.html https://bugs.eclipse.org/bugs/show_bug.cgi?id=92420 http://download.eclipse.org/eclipse/downloads/drops/R-3.1-200506271435/eclipse-news-part1b.html

Re: NetBeans Still Thinks It Competes With Eclipse

I only wanted to answer this particular question publicly, because we are often asked and it's more comfortable to send a link to a blog entry then to explain it again and again. Thanks for your feedback and I'll try to avoid this kind of posts - I have no need to bash Eclipse or SWT.

Re: NetBeans Still Thinks It Competes With Eclipse

I am not sure I agree with your thesis that WORA did more harm than good, nor that we would be better served by Sun concentrating on Eclipse plugins.

SWT seems like a good alternative to Swing for writing apps targeted to Windows. My Linux-using friends are not terribly impressed with SWT performance, and those of us on the Mac are truly not impressed yet. If the Eclipse folks throw more resources at it, I suspect they can impress us, but they do have a ways to go.

That SWT performs poorly on the Mac, despite heroic efforts by Andre and others, does not invalidate the SWT approach. It does, however, imply that there is some benefit to the WORA rhetoric. Swing apps do work pretty well on my Mac, in the main. They also work pretty well for my Linux using friends. I believe that happens because developers using Swing are usually willing to do some work to make it function on platforms not their own, and that work usually pays off.

I ran the new version of NetBeans. I found IDEA preferable, but it was sure snappier than Eclipse, and the built in profiler worked pretty well. It had the refactorings I most needed, and it looked pretty keen on the Mac - less like a windows app, IMO. (That last can be argued, and I am willing to accept that other's aesthetics might differ.)

Again, this is not a war, and we are not trying to 'take no prisoners'. It does, however, point out the benefits of a multiple offerings. It shows that there is a place for a Swing-based app, and that this can have performance benefits.

Scott

Re: NetBeans Still Thinks It Competes With Eclipse

Applications that you write on top of Swing or SWT or wx4j or whatever can be WORA. However Swing and SWT and wx4j themselves are not. It's important to make that distinction.

Re: NetBeans Still Thinks It Competes With Eclipse

Ed, I took a look at how to do one package of an Eclipse RCP application for all platforms and it seems to me that the download size would increase quite significantly. Is that true?

Re: NetBeans Still Thinks It Competes With Eclipse

If you assume the user has already downloaded Swing (as part of the JRE) then a multi-platform Swing app would not have to include the Swing versions for each platform. So RCP and SWT apps are at a disadvantage there. A different approach would be to assume the user has already downloaded a JRE+RCP package. This makes the multi-platform RCP or SWT app very small. It's the same approach used by the .Net framework - every .Net program doesn't come with a copy of .Net (just like every Java program doesn't come with a copy of Java).

Re: NetBeans Still Thinks It Competes With Eclipse

Ed, so there is no platform independent RCP package? I can't find it among eclipse.org downloads.

Re: NetBeans Still Thinks It Competes With Eclipse

Btw, I would assume that people will want to download the platform together with the application. At least that's what our users want. How do you handle installing of the RCP so that it can be shared among many applications?

Re: NetBeans Still Thinks It Competes With Eclipse

Well there's the RCP delta pack but I'm not sure that counts. So either you can make one yourself, or you can create a platform *dependent* package that includes both a known-good version of the JRE and the RCP wrapped in a nice installer, and then ship platform *independent* applications that reference that (for example through links in platform.xml).

Re: NetBeans Still Thinks It Competes With Eclipse

Ok, thanks.

Re: NetBeans Still Thinks It Competes With Eclipse

I took a look at the packaging again. It seems that if I want to create a platform independent RCP application, I need to have 13.5 MB of SWT libraries for various platforms (12.9 MB zipped with best compression). Say I want to create a webstartable RCP application. Then I need to include all platforms - I do not know upfront which platform the user is running. The basic RCP package has 5 MB, so I need to add at least 10 MB to cover all platforms. NetBeans platform's size is 4.28 MB and I don't need any extra libraries - it is OS independent. Thus any extra MB can contain my business logic. I am sorry if this sounds biased - I just want to know if it's possible to create a webstartable RCP application in Eclipse without having to include all these SWT libraries. Otherwise there's not much point in using webstart with Eclipse RCP if these applications would be so large.

Re: NetBeans Still Thinks It Competes With Eclipse

Well don't forget that JNLP allows you to download only what you need for a particular platform, and also share it between different webstartable applications. So if I'm on Windows I don't need to download the Linux bits for example.

Re: NetBeans Still Thinks It Competes With Eclipse

Interesting... do you have any link to an article which explains how this is done?

Re: NetBeans Still Thinks It Competes With Eclipse

I don't have anything handy but a search for jnlp doc and examples should find it.

Re: NetBeans Still Thinks It Competes With Eclipse

C'mon guys, it's the same old pattern. For some reason people think that everybody should join their forces and work for the common good goal. But there isn't such. And if you join your forces then there will be a small group that will be disappointed with the result (and you won't listen to them) so they'll start their own way.

Re: NetBeans Still Thinks It Competes With Eclipse

I am sharing a disk partition between Windows and Linux. There I put a great deal of Java stuff (ant, maven, derby, tomcat, netbeans, ... all downloaded as OS independent packages. Regardless of running Windows or Linux, I just need to invoke them. Unfortunately, Eclipse does not seem to be available as an OS independent package. Worse: when I boot FreeBSD or OpenBSD, there is not even a JVM that is shipped with, but instead I have to compile and build my JDK, because of Sun's licensing model for Java. After this hassle I can download the OS independent flavour of NetBeans and all the other great stuff from Apache and just run it. For Eclipse I have to wait for the BSD-version to come out, which is in general one or two releases behind.

Add a comment Send a TrackBack