In fact I used NetBeans before the Eclipse IDE was born. At that time it was called Forte. Then my school installed Eclipse 2.1 in the Solaris server, I tried it and loved it. Today it’s been the de facto standard java IDE for quite a while. Under most circumstances Eclipse does pretty decent job and it’s truly very competent tool for any java developer. I almost forgot the existence of NetBeans.
Days ago I was constantly frustrated by some small but very hurting bugs in the beta version of Eclipse 3.1 when I was developing the application for my final project of the XML lecture. I desperately wanted to get the job done so that looked around for other tools. I downloaded a Sun Java 2 Enterprise Application Server with NetBeans 4.1 bundle from Sun and JDeveloper from Oracle.
Weeks ago I had some really painful experience while installing the Oracle Database 10g with application server in my SuSE 9.2 box. Facing the installation of another “application server” made me feel a bit chilly. However I had to get my small application up and running in, at least my local application server so I gave the Sjsas 8.1 + NetBeans 4.1 bundle a try. The installation was an absolute charm. No need to run the installation file as root. No need to do any environment setting. The program searched for installed jvm in my machine, found 3 different versions and suggested the J2SE 1.5.02. During the installation there was no pop up window asking you to “Now please fire up a shell, login as root and execute these commands: …..” The installation program quietly carried out all the tasks within 15 minutes. At the end of the installation it told you all the ports you can connect for management tasks, how to start the NetBeans IDE and the application server started automatically. Meanwhile I had a tomcat 5 running. Sjsas automatically chose some ports other than 8080 to avoid the conflict.
At this point I was deeply impressed already.
Then, I simply created a new web project with NetBeans 4.1 beta. Copied all the servlet source files to the automatically created src folder, copied the web.xml to the automatically created WEB-INF folder and clicked “run”, chose “run on bundled tomcat 5.5.7″. So astonishingly, the build process was another absolute charm. All the compilation, building and resource binding information appeared in a log window and in less than 10 seconds my servlets were up and running at port 8084 on my localhost! NetBeans 4.1 showed me what “project automation” really means. In the past whenever I developed any application I spent most of the time on gluing components together. Deployment could be sometimes be like a nightmare. NetBeans is a real life saver. When it comes to building and deploying, it’s exceptionally sophisticated and, intelligent.
Then I tried to write some source files with the embedded editor. It’s very performant.
Last but not least, no matter how rational we think we are, appearance really matters even when it comes to an IDE tool. NB 4.1 has a very sleek, efficient, neat and pretty outfit. Very different from Forte and Eclipse 3.x. I love the simplicity of the UI and I love the sky blue colour.
Eclipse is still the de facto standard and it will still be in long run. I’m going to use Eclipse whenever my team members and colleagues require. Nevertherless I guess NetBeans 4.1+ is a nice alternative worth trying. Especially when Eclipse occasionally happened to appear cumbersome, maybe NetBeans could help a lot.