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 67527 - Performance issues in configuration for SJSAS plugin
Summary: Performance issues in configuration for SJSAS plugin
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ pcw
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-10-25 23:32 UTC by _ pcw
Modified: 2005-11-03 13: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 _ pcw 2005-10-25 23:32:38 UTC
This is a placeholder bug for a number of performance issues I uncovered in the
configuration editing code in the SJSAS plugin.  Each submitted fix will
indicate what the performance issue was that was patched.
Comment 1 _ pcw 2005-10-26 01:23:27 UTC
Eliminated unnecessary dynamic aspects of the SUNDDUI configuration file dataloader.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/config/ConfigDataLoader.java?r1=1.3&r2=1.4
Comment 2 _ pcw 2005-10-26 01:29:45 UTC
Fixed bug in autosave scheduling that occasionally scheduled multiple saves,
especially on slower workstations.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/config/ConfigurationStorage.java?r1=1.6&r2=1.7
Comment 3 _ pcw 2005-10-26 01:55:34 UTC
Fixed bug where configuration files were being read and written twice for ejb
modules.  Fixed bug where the root DConfigBean was being created prematurely,
causing an extra read or write attempt.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/SunONEDeploymentConfiguration.java?r1=1.17&r2=1.18
Comment 4 _ pcw 2005-10-26 01:58:30 UTC
IZ 67527 - Reorganized default webservice endpoint determination and and dirty
flag marking of the DConfigBean tree so that autosaving of default settings is
more efficient.  More checkins related to this are to follow, culminating with
removal of the listeners for DD changes to the standard descriptor files for the
purpose of scheduling autosaves.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/WebServiceDescriptor.java?r1=1.4&r2=1.3
Comment 6 _ pcw 2005-10-26 19:17:12 UTC
Setting dirty flag of DConfigBean tree on creation of service-ref's to force
autosave.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/ServiceRef.java?r1=1.2&r2=1.3
Comment 7 _ pcw 2005-10-26 23:53:49 UTC
Setting dirty flag of DConfigBean tree on creation of ejb-ref's to force
autosave.

http://serverplugins.netbeans.org/source/browse/serverplugins/sun/sunddui/src/org/netbeans/modules/j2ee/sun/share/configbean/EjbRef.java?r1=1.1&r2=1.2
Comment 8 _ pcw 2005-10-27 01:14:56 UTC
Disabled autosave when standard J2EE descriptor files are changed.  DConfigBean
tree autosaves should be much less agressive, but still happening when true
unsaved changes are present.
Comment 10 Michal Mocnak 2005-11-03 13:49:30 UTC
Verified