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 29438

Summary: Do not initialize ServerRegistry on startup
Product: serverplugins Reporter: _ rkubacki <rkubacki>
Component: InfrastructureAssignee: _ gfink <gfink>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 21980    

Description _ rkubacki 2002-12-10 16:04:23 UTC
Current version of j2eeserver requires to register
server plugins programatically during start of
IDE. This has very bad impact on performance
because most of stuff in this module has to be
initialized and plugins are forced to do their
initialization too. It should be possible to
register them declaratively and perform lazy init
when the functionality is requested.
Comment 1 _ gfink 2003-01-07 22:59:32 UTC
Plugins can use new ServerInstall mechanism that 
delays ServerRegistry initialization.
Comment 2 _ rkubacki 2003-01-09 12:50:26 UTC
It is not fixed. You initializes it from
org.netbeans.modules.j2ee.IntegrationModule restored.
Comment 3 _ rkubacki 2003-02-17 10:04:27 UTC
Checked with build from 200302170935 and tomcat plugin registration is
not called before I expand server registry node on Runtime tab. Thanks.