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.
Even if the user does not use any part of J2EE related functionality websvc.registry module performs a lot of work during startup. It initializes whole J2EE server registry. It seems that ~4% of startup time (1s of 25s) is spent in restored() method of this module when I start the IDE on my notebook (Dell840 latitude, 2GHz, 1GB RAM, linux FC2, jdk1.5.0u1). On solaris without CMS garbare collector the ratio is better (it is not causing GC run here) but it is still significant portion of startup sequence.
Known issue inherited from Creator codebase.
will fix for 4.1 Need to lazy load the registry, only if it is accessed either via the ui or via api call.
working on it, now that I have the notification apis. Should be done in the next 3 days...
Fixed in Trunk. Registry is loaded only when needed (i.e when the user explores/uses it, or when the ide is opened and tries to explore it to be in the same ui state as when it exited) Checking in modules/websvc/registry/WebServicePersistenceManager.java; /cvs/websvc/registry/src/org/netbeans/modules/websvc/registry/WebServicePersistenceManager.java,v <-- WebServicePersistenceManager.java new revision: 1.3; previous revision: 1.2 done Processing log script arguments... More commits to come... Checking in modules/websvc/registry/model/WebServiceListModel.java; /cvs/websvc/registry/src/org/netbeans/modules/websvc/registry/model/WebServiceListModel.java,v <-- WebServiceListModel.java new revision: 1.4; previous revision: 1.3 done Processing log script arguments... More commits to come... Checking in modules/websvc/registry/netbeans/WebServiceModuleInstaller.java; /cvs/websvc/registry/src/org/netbeans/modules/websvc/registry/netbeans/WebServiceModuleInstaller.java,v <-- WebServiceModuleInstaller.java new revision: 1.6; previous revision: 1.5 done Processing log script arguments... More commits to come... Checking in modules/websvc/registry/nodes/WebServicesRootNodeChildren.java; /cvs/websvc/registry/src/org/netbeans/modules/websvc/registry/nodes/WebServicesRootNodeChildren.java,v <-- WebServicesRootNodeChildren.java new revision: 1.3; previous revision: 1.2 done
v