NetBeans 6.0 is out: why should developers use it?

NetBeans 6.0 is out: why should developers use it?


The free software age is all about giving the freedom to choose: flexibility to choose the best out of a variety of almost-the-best software is one of the hallmarks of this era. On the flip side, a newbie to this world often faces a choice overload. Should she go for Fedora or Ubuntu or Debian, GNOME or KDE, NetBeans or Eclipse, Open MPI or Open MP or PVM? We have loyalists on every side swearing by their product--and they are not wrong. It is tough to make a choice. However, with time, based on usage preferences, a choice is made and she finds her favourite distro, development tools and the like.

At the moment, two IDEs are dominant in the free software world: Eclipse and NetBeans. Being a NetBeans fan (and part of the NetBeans community), I will explain why in my opinion it's NetBeans is a fantastic choice.

Introducing Eclipse and NetBeans

Eclipse is a project focused on building a free (as in freedom), extensible development platform, runtimes and application frameworks for building, deploying and managing software across the entire software life cycle. Many people know it as a Java IDE, but Eclipse is much more than that. The best place for more about Eclipse is of course http://www.eclipse.org

Many people know it as a Java IDE, but Eclipse is much more than that

The NetBeans IDE is a free (as in freedom) IDE for software developers. The IDE runs on many platforms including Windows, Linux, Solaris, and the MacOS. The NetBeans IDE provides developers with all the tools they need to create professional cross-platform desktop, enterprise, web and mobile applications. More on the NetBeans IDE is available at http://www.netbeans.org/products/ide/

Both Eclipse and NetBeans were primarily targeted at Java developers with C/C++ support as well. With time, however, more and more languages were supported by each.

Eclipse "Europa" now officially supports C/C++, Java, PHP; there is some external support in the form of plugins for Python and Ruby.

On the other hand NetBeans, which was released recently, supports C/C++, Java, Ruby officially among a host of other languages such as Groovy. PHP support is being worked on and Python support is on the cards as well.

Why switch to NetBeans?

Whether you are a Java or a Ruby developer, there are enough reasons to switch to NetBeans. Here are the most important ones (http://www.netbeans.org/switch/why.html):

  • Powerful GUI Builder: The GUI Builder (formerly known as Project Matisse) supports a sophisticated yet simplified Swing Application Framework and Beans Binding. Now you can build GUIs in a natural way.
  • Ruby and Ruby on Rails Support: Both native Ruby and JRuby development on Rails are available. You can switch easily between the two. The sophisticated Ruby editing capabilities make it easy to create and modify Ruby applications. NetBeans 6.0 as a Ruby development IDE has received wide appreciation from the Ruby community, with many developers blogging about their new favorite Ruby development environment-- NetBeans
  • Profiling and Debugging Tools: With NetBeans IDE Profiler tool, you get real-time insight into memory usage and potential performance bottlenecks. Furthermore, you can instrument specific parts of code to avoid performance degradation during profiling. The HeapWalker tool helps you evaluate Java heap contents and find memory leaks.
  • Support for Java Standards and Platforms: The IDE provides end-to-end solutions for all Java development platforms including the latest Java standards.
  • Service Oriented Architecture (SOA) Support: Supports SOA composite applications and tools such as BPEL, WSDL, and XSD.
  • Extensible Platform: Start with its extensible platform and add your own NetBeans IDE features and extensions or build an IDE-like application, keeping only features you want. Extending the platform and its Swing-based foundation saves development time and can optimize performance.
  • Customizable Projects: Through the NetBeans IDE build process, which relies on Apache Ant rather than a proprietary build process, you can easily customize projects and add functionality. You can build, run, and deploy projects to servers outside of the IDE.
  • Visual Web Development Support: The NetBeans IDE provides a visual environment, tools, and drag-and-drop components that simplify web page and application development.
  • Non-Java Code Support: You're not limited to the Java programming language. You can include many other programming languages, such as C++, C, scripting languages like JavaScript, Ruby, etc. Even more exciting, define your own language and include it in your projects. Check out http://languages.netbeans.org for more about working on a new language support in NetBeans.

Not convinced yet?

A NetBeans plugin is available which allows you to import your existing Eclipse projects into NetBeans and continue working from there. There is also a relatively new development, the NetBeans Community Docs sub-project EclipseToNetBeans, which is going to be the entry point to hands-on style documents showing you how to import Eclipse projects of different types,size and complexity into NetBeans.

If you are not convinced, hear some real stories of real "switches" [here](http://www.netbeans.org/switch/real stories.html).

If you are convinced, join the NetBeans Community. Find out more at http://www.netbeans.org/community/index.html

Conclusion

With this short entry, I have surely joined the great Eclipse-vs-NetBeans debate. It's a free world, and I am talking about free software: I am definitely not ashamed of my views. Bouquets and Brickbats are welcome!

Category: 

Comments

Aitor 0's picture
Submitted by Aitor 0 on

Right now, the major difference between both IDEs are Matisse, and well SOA support in Netbeans side. The rest of features are almost the same in Eclipse, and even better, for example, plugin support/development and availability.
But it is feasible that Eclipse will offer a good SOA support in a near future.

Terry Hancock's picture

It is true that a lot of people are loyal to various IDEs (though I'm reasonably sure that the universe of popular IDEs is a lot larger than just Eclipse and NetBeans -- both seem to me to be highly Java-biased, based on who uses them, and I NEVER use Java).

But I'm not sure that I see the point of IDEs in the first place.

They lock you into a small controlled environment which is highly integrated. Which has advantages. But the flipside is that you are locked into one choice (which is why there can be any concept of competing environments in the first place).

Integrating programming tasks, though, is a uniquely EASY process (nowhere near as difficult as, say, embedding spreadsheets in a word processing document). It's almost entirely about moving text around -- and that is something that any decent desktop environment will do with ease (at least I have no problems cutting and pasting in KDE or even FVWM).

So why not use the "small sharp tools" approach and just pick a great editor, a good terminal environment, and an appropriate GUI builder without concern for frameworks? I routinely use a combination of gVim, gnome-terminal, mozilla, inkscape, and/or glade under KDE (Note the lack of a unifying theme here! And of course, the choice of tools depends on the project).

With an appropriate selection of tools -- and there is a big universe of development tools out there (that being what free software is absolutely best at) -- you can, ISTM, be more productive than with any single IDE, because choosing an IDE is a form of lock-in that prevents you from always being able to pick "the right tool for the right job".

So I have to wonder, what would I be buying by trading off that freedom?

Rambo Tribble's picture
Submitted by Rambo Tribble (not verified) on

It's nice to see NetBeans getting a little praise. I have to wonder, though, where the articles are about the excellent KDevelop suite.

Rambo Tribble's picture
Submitted by Rambo Tribble (not verified) on

To respond to Mr. Hancock's inquiry from my own perspective: While I don't find IDEs particularly advantageous for straight coding, they can be a convenience for rapid prototyping.

Paulo Ferreira's picture

I've tried Netbeans 6.0 and I liked it a lot but I won't event consider leaving Eclipse for these two reasons:

1. Mylyn - http://www.eclipse.org/mylyn/;
2. Better Subversion Integration (to handle the "svn:needs-lock" property, I have to manage SVN from outside the IDE in Netbeans);

Author information

Amit Kumar Saha's picture

Biography

Amit Kumar Saha is a technical writer, researcher from India. His research interests include Parallel Computing, Commonsense Reasoning and Evolutionary Computing.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!