Over a million developers have joined DZone.

From Persistency Questions To EMF. Part 2

DZone 's Guide to

From Persistency Questions To EMF. Part 2

· Java Zone ·
Free Resource
Today I had to add one attribute to my persistent filters describe in this previous post. Thanks to EMF I just added a new getter method in my filter interface with the “ @model” tag in the method comment and regenerated all needed stuff and this new attribute was persisted for free.

Using modeling here avoided me to have to update and maintain several classes when I added this new attribute !!!! An other noticable advantage of using EMF.

From http://manuelselva.wordpress.com/


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}