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.

Bug 87581 - Emulate MyEclipse's 'sync on demand' feature
Summary: Emulate MyEclipse's 'sync on demand' feature
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavlo Tymoshenko
URL: http://www.kennardconsulting.com
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 00:49 UTC by kennardconsulting
Modified: 2012-04-04 10:20 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kennardconsulting 2006-10-20 00:49:36 UTC
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.
Comment 1 kennardconsulting 2006-10-22 10:32:41 UTC
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.
Comment 2 Petr Jiricka 2007-08-02 08:54:46 UTC
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.
Comment 3 Petr Hejl 2012-04-04 10:20:27 UTC
Now we have Compile on save and Deploy on save