Skip to main content

Netbeans 4.1 RC2 Impresses

I like integrated development environments (IDEs). When implemented correctly they make development very efficient, especially for the Lone Coder. I got bitten by the IDE bug with Borland's Turbo C 1.0 when it was released back in the late 80's. I drove over to a local college bookstore (UCF) and picked up my very own copy when it first came out. From that moment forward I've used IDEs on every environment and for every language (and yes, folks, emacs does qualify as an IDE).

The best IDE out on the market today is Microsoft's. While Borland might have started early and had a long distinguished run, in the end Microsoft overcame all odds. The only problem with the Microsoft IDE is the cost. Depending on what features and languages you purchase from Microsoft, getting to use its IDE can range from pricey to too-damned-expensive-for-my-budget. Oh, and the obvious limitation: it's only available for Windows.

For the most part I've stuck to emacs (and even xemacs) and dabbled with free IDEs for some years now. Those free IDEs included Sun's Netbeans, IBM's Eclipse, and Borland's JBuilder Community. Over time Sun's and IBM's IDEs have improved to the point where they now challenge every other commercial IDE at the low end, and encroach on them in the middle of the market.

A Satisfied Eclipse User

I use Eclipse for most of my work. I've used Eclipse since version 2, and Eclipse just keeps getting better. It's a fast and very powerful Java development IDE. The latest version, 3.1 M6, is still under development, but its added features over 3.0 are so compelling that I've pretty much moved to it for all my work, going back to version 3 only for those plugins that are not yet available for 3.1 (such as the Laszlo IDE).

Eclipse also works on the two operating systems I care most about, Linux and Windows. It provides equal capabilities on both operating systems, and the plugins I've accumulated over time allow me to program in C++, Python, and Ruby as well as Java. I've also installed plugins that allow me to work with Tomcat, JBoss, Hibernate, and MySQL. In short I have a very complete development environment running on top of a complete development management foundation.

But that hasn't stopped me from pulling down and trying out Netbeans.

Netbeans 4.1

I've been quite impressed with Netbeans since its 4.0 release. I still felt Eclipse was superior to 4.0 for my needs, but I did appreciate the great amount of progress and polish that went into the 4.0 release compared to the 3.6 release. It ran much faster and looked considerable better than any other release of Netbeans before 4.0.

Now I've been working with Netbeans 4.1 (RC2) and I must admit that it has pulled equal with Eclipse 3.1 (M6). And that, to me, is astounding. Sun and the Netbeans crew have been working very hard to improve Netbeans 4.1 and it shows. It also ties in with Sun's hard work to improve Java in general. I've been working with J2SE 5 since its beta, and I believe that J2SE 5 is the best release of the language to date. What the release of J2SE 5 and Netbeans 4.1 shows is that Swing can be as efficient and as good looking as Eclipse's SWT/JFace combination.

As a test of Netbeans 4.1 I have created several projects. One of them was simply to check out (via cvs) SwingX, new extensions to Swing that appear to be answers to the SWT/JFace challenge of richer, easier-to-use GUI components (see for more details). The swingx code was saved as a Netbeans project, so once it was checked out locally I was able to open it as a Netbeans project. I then went over to the Javalobby J2EE programming forum and typed in an example that used swingx (see "SwingX: Translucent Panels 101" by R. J. Lorimer). I was able to quickly and easily type in the example code, and it was every bit as fast and easy as if I had done everything in Eclipse.

What's more interesting is that out-of-the-box Netbeans can do many of the functions that I have to load external Eclipse plugins to accomplish in Eclipse. With 4.1 I was able to attach to and work with MySQL as well as Tomcat (Netbeans comes bundled with Tomcat 5.5.7). Netbeans is aimed squarely at making programmers productive developing Java applications without having to add anything else to the package. This is a different emphasis from Eclipse, which has worked on making Eclipse as extensible as possible. But somebody must have been looking at what plugins Java programmers were downloading for Eclipse, because the built-in capability with Netbeans hits all the sweet spots.

A Powerful Competitor

Granted I'll need to do some more serious testing over time before I can make a more definitive comparison, but right now at first blush I really have to hand it to Sun. It is as fast and as powerful as Eclipse on both Windows and Linux. Sun has evolved a powerful and open development tool. And it has one very compelling point in its favor that Eclipse lacks. The UI is Swing, and I know Swing a lot more than I know SWT and JFace. I have been looking to build stand-alone applications on top of the Eclipse Rich Client Platform, but I am now reconsidering that decision in light of Netbeans 4.1.

Way to go Sun!


  1. AnonymousJuly 06, 2005

    No, Netbeans does not hit the sweetspot of plugins people need - it lacks some of the most important of all, like the profiler (!) and the visual GC...

  2. AnonymousJuly 16, 2005

    Why do you say that the best IDE on the market is Microsoft's?

    Usually developers are either in the Microsoft camp or the Java camp. Those on the Microsoft side usually favor Microsoft's IDE and those on the Java side usually prefer one of the Java IDEs.

    I spend most of my development time using Visual Studio, by far. But I actually think that Eclipse is a better product. I haven't tried out NetBeans although I'm sure it's great.

  3. >> Why do you say that the
    >> best IDE on the market
    >> is Microsoft's?

    Because, frankly, it is.

    >> Usually developers are either in
    >> the Microsoft camp or the Java
    >> camp.

    I'm in the camp that gives me the right tools to solve the problem at hand. If Java is the right solution for the problem at hand, then the only IDE solutions (for me) are Eclipse or NetBeans. If it's something else, specifically a Microsoft language on Windows, then it's Visual Studio.


Post a Comment

All comments are checked. Comment SPAM will be blocked and deleted.

Popular posts from this blog

cat-in-a-box channels greta garbo

So I'm sitting at my computer, when I start to notice a racket in back. I ignore it for a while until I hear a load "thump!", as if something had been dropped on the floor, followed by a lot of loud rattling. I turn around and see Lucy in the box just having a grand old time, rolling around and rattling that box a good one. I grab the GX1 and snap a few shots before she notices me and the camera, then leaps out and back into her chair (which used to be my chair before she decided it was her chair).

Just like caring for Katie my black Lab taught me about dogs, caring for Lucy is teaching me about cats. She finds me fascinating, as I do her. And she expresses great affection and love toward me without coaxing. I try to return the affection and love, but she is a cat, and she takes a bat at me on occasion, although I think that's just her being playful. She always has her claws in when she does that.

She sits next to me during the evening in her chair while I sit in mi…

vm networking problem fixed

Over the weekend I upgraded to Windows 8.1, then discovered that networking for the virtual machines wouldn't work. Then I tried something incredibly simple and fixed the problem.

Checking the system I noticed that three VMware Windows services weren't running; VMnetDHCP, VMUSBArbService, and VMwareNatService. VMware Player allows you to install, remove, or fix an existing installation. I chose to try fixing the installation, and that fixed the problem. The services were re-installed/restarted, and the virtual machines had networking again.

Once network connectivity was established there was exactly one updated file for Ubuntu 13.10, a data file. This underscores how solid and finished the release was this time. Every other version of every other Linux installation I've ever dealt with has always been succeeded by boatloads of updates after the initial installation. But not this time.

Everything is working properly on my notebook. All's right with the world.

sony's pivotal mirrorless move

I'm a died-in-the-wool technologist, even when it comes to photography. I have always been fascinated with the technology that goes into manufacturing any camera, from the lenses (optics) through the mechanical construction, the electronics involved, and especially the chemistry of the film and the sophistication of the digital sensor. It's amazing that the camera can do all it's asked of it, regardless of manufacturer.

Of all the types of cameras that I've really taken an interest in, contemporary mirrorless (again, regardless of manufacturer) are the most interesting because of the challenging problems the scientists and engineers have had to solve in order to build a compact but highly functional camera. In particular I've followed the sensor advances over the years and watched image quality climb (especially with μ4:3rds) to exceed film and rival one another such that there's very little difference any more as you move from the smaller sensors such as 4:3r…