Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 106781 - Request for component type id based component creation operation
Summary: Request for component type id based component creation operation
Status: CLOSED DUPLICATE of bug 94608
Alias: None
Product: WTP Common Tools
Classification: WebTools
Component: wst.common (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Chuck Bridgham CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 108132 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-11 15:11 EDT by Rupam Kuehner CLA
Modified: 2006-06-15 13:25 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rupam Kuehner CLA 2005-08-11 15:11:22 EDT
Please take this enhancement into consideration during the (re)desgin of 
flexible projects for 1.0.

Contributors of Web service runtimes provide a list of component type ids to 
indicate what kinds of components their particular Web service runtime 
supports. The Web service wizards create projects/components for users when 
they don't exist based on the component type id selected by the user. 
Currently, the wizard is limited to creating components of the following 4 
types:
IModuleConstants.JST_WEB_MODULE (using WebComponentCreationDataModelProvider)
IModuleConstants.JST_EJB_MODULE (using EjbComponentCreationDataModelProvider)
IModuleConstants.JST_APPCLIENT_MODULE (using 
AppClientComponentCreationDataModelProvider)
IModuleConstants.JST_EAR_MODULE (using EarComponentCreationDataModelProvider)

When an extender comes along and contributes their own component type (e.g. 
bea.web), the wizards do not have a way of creating the component for the user 
since knowing the component type id is not sufficient to determine which 
operation to use. If there is anything is the existing design that would allow 
to do this, please advise.
Comment 1 Rupam Kuehner CLA 2005-08-29 09:36:49 EDT
*** Bug 108132 has been marked as a duplicate of this bug. ***
Comment 2 Rupam Kuehner CLA 2005-08-29 09:39:37 EDT
Slightly modifying the requested enhancement ...
With features in the picture, the Web services wizard needs to be able to drive 
the creation of components, not based on component type id, but rather based on 
a set of features/feature categories.
Comment 3 Neeraj Mahajan CLA 2005-08-29 10:03:41 EDT
I would like to add something to this.
There is one more scenario that could occur. Suppose I have defined 2 different 
projects into which a web service feature can go.
e.g. 
Web Project -- this takes the Feature - "Std. web service feature". Plus some 
other features
WebService Project -- this also takes Feature - "Std. web service feature"

So here the deciding factor would be the Project type and the deciding factor 
for allowed Project types would be Feature.

Or am I missing something?
Comment 4 Chuck Bridgham CLA 2005-08-29 10:42:53 EDT
Perhaps this defect could be dupped against the new feature framework, as
"features" will replace the notion of component "type".  

We will have a notion of features which are mutually exclusive, and will become
the new "core" features, such as web/ejb/ear etc....
Comment 5 Rupam Kuehner CLA 2005-09-06 11:26:48 EDT
This enhancement should be solved by the features framework. I'll add more 
comments there.

Comments from Konstantin:

The features framework will definitely address the original scenario raised in 
this bugzilla entry. Basically, knowing the feature id and version is 
sufficient in order to be able to install it. The framework will figure out 
what “operation” to run.
 
- Konstantin

*** This bug has been marked as a duplicate of 94608 ***
Comment 6 Chuck Bridgham CLA 2006-06-15 13:25:07 EDT
Verified / Closing