This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
For me, the main barrier to switching from Eclipse/MyEclipse to NetBeans for all my J2EE development is the lack of an equivalent to MyEclipse's 'sync on demand' feature: http://www.myeclipseide.com/ContentExpress-display-ceid-38.html#preview This feature automatically updates live running code within an app server. Specifically: 1. It does not restart the app server (eg. there is no wait for a restart) 2. It does not redeploy the EAR/WAR (eg. there is no wait for a redeploy) 3. It is not using the JVM's 'HotSwap' feature (which only supports a limited number of schema changes) 4. It supports multiple app servers It is a massive timesaver, and I have found that those who have never tried it struggle to believe it. I, myself, do not understand how it works its magic, but I would urge NetBeans to take a look at it and consider implementing an equivalent. Regards, Richard.
I may have been mistaken when I said this feature doesn't use HotSwap. This link... http://java.sun.com/j2se/1.4.2/docs/guide/jpda/enhancements.html#hotswap ...actually sounds very much like it. However I remember 'HotSwap' as being something that only worked with a limited subset of 'schema changes' (eg. adding new methods, but not removing existing ones) and the MyEclipse feature seems to cope with many of those.
The behavior of NetBeans is actually improving significantly in this area in NetBeans 6. Now we do not build the WAR/EAR when deploying to GlassFish/Sun Appserver, so redeployment should be much faster. Server restart is not required - if you find NetBeans 6 restarts your appserver on redeployment, then it's a bug. You still need to press F6 to redeploy the application, but it should be much faster now. This works best on GlassFish v2, Sun Appserver 9.1 and Tomcat, other servers don't work that well. Can you please try NetBeans 6 daily build to see whether the IDE now does what you expected? Thanks.
Now we have Compile on save and Deploy on save