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 126860 - Performance issue due to model refresh after project build
Summary: Performance issue due to model refresh after project build
Status: RESOLVED DUPLICATE of bug 126879
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ sandipchitale
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-06 19:33 UTC by Winston Prakash
Modified: 2008-02-07 04:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Winston Prakash 2008-02-06 19:33:26 UTC
When the user invoke "Clean & Build" action on a Visual web project, the design time system resets the ClassLoader to
include the recent changes in the build directory in to the ClassLoader. This causes refreshing of models (opened
pages). While this is highly desirable, since it solves a major problem of "Closing and Opening the project" after
adding a class to the project or modifying variable/property/method of a class for the binding dialog to pick it up
correctly, it causes performance problems.

Several customers complained about it and couple of users are hesitant to move to NB 6.0, because of this problem. Even
though in 6.1 the performance issue due to this is less pronounced than NB 6.0, there may be ways to improve the
performance. Look at some possible solutions such as

- Provide some way to switch of this functionality from options dialog (with a warning of consequences)
- Provide a modal dialog and display the reason for the pause
- Improve TagSupport in FacesContainer (may not be necessary to reparse)   
- Do we really need to re-init FacesContainer?
Comment 1 _ sandipchitale 2008-02-07 04:49:44 UTC
Customer has filed a P1.

*** This issue has been marked as a duplicate of 126879 ***