Difference between revisions of "WTP/Service Interface and Data Types Editors/Proposal"
|Line 69:||Line 69:|
=== Screencast ===
=== Screencast ===
Watch the short introductory screencast: http://www.youtube.com/watch?v=
Watch the short introductory screencast:http://www.youtube.com/watch?v=
== Relationship with Other Eclipse Projects ==
== Relationship with Other Eclipse Projects ==
Revision as of 09:46, 1 August 2010
The Service Interface & Data Types Editors project is a proposed open source project under the WTP Incubator project.
This proposal is in the Project Proposal Phase (as defined in the Eclipse Development Process) and is written to declare its intent and scope. We solicit additional participation and input from the Eclipse community. Please send all feedback to the Webtools incubator forum.
The power of the modern computers doesn't allow the developers to deprive the users of a smooth graphical UI. Why the user has to implement her own Java EE business model by writing Java source code, instead of just creating a cute, smooth diagram with just a few mouse clicks.
Besides, if an user unfamiliar with an already created model wants to review it has to review every single JPA entity class and every relation attribute. What if this JPA entities are more than hundred in a project? It’s not uncommon in a real commercial project. What an ease it would be just to see a nice clean diagram! This way getting acquainted with the business model may become ten times faster.
It would be much better if the user is not only able to see the business model, but also to be able to easily edit it directly through the diagram.
Well, all this is provided by the JPA editor. The user may easily create a diagram (and the corresponding business model along with it) as part of any JPA enabled project and may view and edit the model through this diagram.
The project is based on the Graphiti, which is also a proposed open source project. Graphiti is a framework based on GEF and EMF for creating graphical diagram tools. The JPA editor project provides a graphical diagram editor as part of the Eclipse IDE, which allows the user to create, view and edit her business model as part of Java EE application project.
Providing the JPA Diagram editor as integral part of the JPA Dali tools is in the scope of this proposal.
Extending the existing Dali API is out of the scope of this proposal. The editor will use the Dali API, but it won’t change and/or extend it.
This editor is targeted to Java EE (and particularly JPA) developers who use Eclipse and provides them with a graphical tool for visualizing and manipulating Java EE application business model.
The JPA editor will support the ‘open-save-close’ Eclipse IDE editor model. Every single moment when the diagram is opened it’ll be in synch with the business model. This means that changes in the model will be immediately reflected by the diagram and vice versa.
The editor will avoid as much as possible opening of dialogs and wizards. The idea is to use simple operations as ‘drag-and-drop’ and ‘in-diagram’ direct editing (of text). The palette on the right side will allow the user to create entities and relations between them with ‘drag-and-drop’ and ‘point-and-click’. The user will be allowed to create from the palette new entities which inherit java.lang.Object, mapped superclasses or some other entities. The user will be able also to create XML defined entities. The JPA entities will be presented by rectangles and attributes will appear in these rectangles with their names and icons. On mouse over context buttons will appear providing basic operations. The operations which are not available through context buttons will be available through context menus.
The editor will show validation markers and messages. The attributes will be separated in different compartments and any different entity or compartment can be collapsed or expanded.
The diagram will be persisted in a file in xml format.
A certain preference page on the global level and a property page on project level will allow the user to set some specific JPA diagram options.
The JPA details view will be integrated with the JPA Diagram editor. It would be possible to open it through a context menu command and it will reflect the selected diagram objects – entities or attributes.
A miniature view will be available for opening through a context menu command and will allow the user to see a miniaturized image of the diagram.
It will be possible to create one (or more) diagrams per JPA enabled project. It will also be possible to create diagrams which unite entities from more than one project.
Since it’s possible for a diagram to become very big the user will be allowed to define logical areas in a diagram. It will be possible for the user easily to visualize/hide only those parts of a diagram which she/he wants to.
The diagram will visualize the merged Java annotated classes/XML model and will allow the user transparently to modify the both.
Watch the short introductory screencast: 
Relationship with Other Eclipse Projects
The Service Interface & Data Types Editors are form-based WSDL 1.1 and XSD editors based on Eclipse EMF, MDT XSD and WTP.
They consist of
- Data Types Editor - a standalone XSD editor
- Service Interface Editor - a standalone WSDL 1.1 editor embedding the Data Types Editor for providing capabilities of visualizing and manipulating inline XSD schemas and their underlying entities
- Eclipse Modeling Framework
- Model Query
- Model Transaction
- Validation Framework
- Eclipse Model Development Tools XSD
- Eclipse Web Tools Platform
- WST WSDL Model
- WTP Source Editing
The initial code contribution will come from SAP where the Service Interface & Data Types Editors have been originally developed. They will provide the functionality described in the Description section.
The following individuals are going to be proposed as initial committers to the project:
- Dimitar Tenev
- Emil Simeonov
The following Architecture Council members will mentor this project:
The following individuals, organizations, companies and projects have expressed interest in this project:
- WTP (TBD)
Project Scheduling (Sample Proposal, i.e. TBD)
- July - August 2010 – Project proposal
- August - September 2010 – Infrastructure setup, initial contribution
- October 2010 – First Milestone release
- October 2010 – February 2011 – respond on community feedback, graduate in the Web Tools Platform
- June 2011 – Release as part of the 2011 simultaneous release train