Stefan Dimov (SAP AG ), Petya Sabeva (SAP AG )
Making at Eclipse · Standard
Thursday, 14:00, 20 minutes | Lafayette
We'll talk about a new graphical JPA Diagram Editor for Eclipse IDE meant to create, view, and edit JPA business data diagrams. This editor is based on the new Graphiti project for Eclipse IDE, and it is proposed and approved to be contributed to Eclipse IDE just like Graphiti. This editor will allow the user to create her/his JPA business model with a few clicks and view, store and edit its diagram.
In the 21-st century the computers' capabilities are great enough to justify the users' complaints about the lack of a smooth graphical UI. What this means in the JPA world? Imagine that you have to review a business data model consisting of 10-15 JPA entities, which have been implemented by someone else. You have to review the attributes and annotations of every single entity. If you don't have a diagram, you'll want to draw one - even on a piece of paper. Now, imagine that your model contains 50-100 entities! Imagine that you have to implement them, not only review them! What a comfort would it be to easily, with just of a few clicks, to create a visually accessible diagram of your model!
This new JPA Diagram Editor allows the user to easily create, view, and edit a model with the graphical means of the Graphiti. Creating new entities, attributes, and relations is achievable with a few clicks only. Does the relation owner attribute had to have the 'mappedBy' property or was it the inverse attribute? Who cares! Just pull the string from the owner to the inverse. You can create a diagram from existing model, just like this. We are convinced that JPA developers, which use the Eclipse IDE, need such a tool, and they will love it. Developing applications with JPA has never been that easy and pleasant, and the result is a nice clean diagram, instead of (just) complex Java code. Until now, there was no JPA diagram tool in the open source Eclipse IDE. Let's talk about the first one!
The JPA Diagram Editor project has been contributed in the WTP Incubator Project. The first release (0.5) is already a fact!
Noteworthy: Those of you who have attended this talk at ESE 2010 should attend it now again and see the demo of the significantly extended JPA Diagram Editor with support for JPA 2.0!
Stefan Dimov has been with SAP since 2005. For the last four years he has been working in the area of SAP NetWeaver Developer Studio (the SAP IDE, which is based on the Eclipse IDE), and is particularly responsible for the Dali Java Persistence Tools plug-ins (developed by SAP for NWDS). He came up with the JPA editor idea two years ago and at first it was implemented as a SAP proprietary technolgy. Now SAP is going to provide it to the Eclipse community. Stefan has been approved as WTP incubator committer and is driving the JPA editor contribution process.
Petya Sabeva has been with SAP since 2007. She has been working in the area of SAP NetWeaver Developer Studio (the SAP IDE, which is based on the Eclipse IDE). Petya is particularly responsible for the JPA Diagram Editor since when it was first implemented as a SAP proprietary technology.