Bug 233505 - Index search for Java EE metadata
Summary: Index search for Java EE metadata
Status: NEW
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: sajith weerakoon CLA
QA Contact: Chuck Bridgham CLA
URL: http://wiki.eclipse.org/WTP_UX_Whiteb...
Whiteboard: UX GSoC
Keywords: usability
Depends on:
Blocks:
 
Reported: 2008-05-22 13:40 EDT by Kaloyan Raev CLA
Modified: 2009-12-01 01:30 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2008-05-22 13:40:06 EDT
Pain point

Working on huge projects is a common task for many Java EE developers. Sooner or later the developer would fall in a situation where he or she needs to find an exact Java EE artifact by just remembering a portion of the artifact's name or description, but not the its exact location. In such situation the developer should try different methods of searching, including file search, full-text search, etc. It would be much more convenient if the IDE provides a Java EE metadata search. 

Solution

We are all familiar with the "Open Type" and "Open Resource" index searches in the workbench and how useful they are when we try to quickly locate our files and Java classes in the huge projects we are working with. The Java EE perspective should naturally evolve these features to Java EE metadata index search, where developers can search for certain metadata in their Java EE projects. 

This new feature should introduce new dialog box that looks similar to the "Open Type" and "Open Resource" dialogs. There should be a hotkey combination available that enables users to quickly call the dialog. Typing a portion of the Java EE metadata name or description should filter the available Java EE artifacts and assist the user choice. 

Examples for Java EE metadata are:
* EJB beans
* Web servlets
* EJB references
* Security roles
Comment 1 Kaloyan Raev CLA 2009-01-13 10:17:19 EST
As Kiril noticed there is a new Eclipse project proposed - EMF Index:
http://www.eclipse.org/proposals/emf-index/

This project will certainly help to implement this feature. 
Comment 2 Jan Koehnlein CLA 2009-01-19 05:14:14 EST
Did you have a look at EMF Search?
Comment 3 Kaloyan Raev CLA 2009-02-19 09:33:39 EST
Jan, I took a look at the EMF search project. As far as I understand this projects allows to build Search capabilities (Search dialog, and Search Results view) on top of EMF models. 

While integrating Java EE models in the Eclipse search capabilities could be worthy, in this enhancement we target something different. We would like to make something similar to the "Open Type" and "Open Resources" dialogs - the abilities for the user to quickly jump to a specific Java EE artifact. I think this is closer to the scope of the new EMF Index project. 

Do I understand the scope of the two EMF projects correctly?
Comment 4 Jan Koehnlein CLA 2009-02-23 04:21:33 EST
EMF Index will not primarily focus UI but it will build the infrastructure to query predefined fields of EMF models and instances thereof without actually loading the resource. AFAIKS, a "Find type" dialog will be rather easy to implement on top of EMF Index.

You're right that EMF Index is closer to what you are looking for than EMF Search, given your J2EE metadata is represented in Ecore. 
Comment 5 Kaloyan Raev CLA 2009-02-23 04:58:04 EST
Thank you for the clarifications. 

Is there any progress with the EMF Index project jumping out of the proposal stage? I've tried searching eclipse.org web site and newsgroups, but found nothing new. 

I am going to propose this enhancement as a Google Summer of Code 2009 project. It would be very helpful if I know the plans for EMF Index for the next months. 
Comment 6 Jan Koehnlein CLA 2009-02-23 11:50:47 EST
EMF Index status: Today, I've requested the creation review. An initial implementation using an in-memory index has been committed to the TMF/XText project. Note that this is only a first shot and expected to change drastically.
Comment 7 Kaloyan Raev CLA 2009-04-21 04:15:44 EDT
This bug was accepted as a project in the Google Summer of Code 2009!
I assign it to the GSoC student Sajith Vimukthi Weerakoon