Monday 17 September 2007

NetBeans 6.0 Beta 1 and custom Tomcat

I've just installed the first beta version of NetBeans 6.0, which was released today. Just out of curiosity, to see how it looks, performs and whether or not there is something better than Eclipse has. It was the full pack including Java SE, Web & Java EE, Mobility, SOA, Ruby, C/C++ and GlassFish. I decided not to install Tomcat as I had it already. To be honest, I got surprised before I even started using it ...

The installation took a long while, about 3, maybe 5 minutes. It was the full installation, so fair enough, though still don't understand why it has to take so long. Eclipse can be installed just by unzipping it to a directory of your choice and that's it. +1 for Eclipse.

NetBeans 6.0 requires about 400 MB for the full installation, plus 140 for GlassFish, if you choose to install it. Quite a lot, however my Eclipse 3.3 takes about the same size with the latest patches and the following plug-ins: Subclipse, Spring IDE, Tomcat , Maven 2, Web Tools and PMD.

The biggest surprise, however, was Tomcat integration. As I mentioned before, I chose to use my own Tomcat, so the first thing I did after startup was to add it to the servers. Here I got an odd warning saying that I might have problems running Tomcat as the startup scripts are missing (due to the windows installation which does not include these). The 'add server' wizard closed down, Tomcat was added successfully. When I tried to start it I understood what the warning was all about:


You must be joking, I thought. That's ridiculous! Why the Tomcat plug-in in Eclipse can start any Tomcat since version 3.3 (including my Windows-based) without any startup scripts, and NetBeans simply can not?! I don't believe the NetBeans team don't know that they can use bootstrap.jar instead. And guess what, all the instructions how to use it are in catalina.bat!

After that, I decided not to play with NetBeans 6.0 Beta 1 any more. And if there is anything I am going to uninstall is definitely not Tomcat, but NetBeans.

Oh, and one more thing. Does anyone know why NetBeans reads my floppy disk on startup and exit? Does it search for the missing catalina.bat??