Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

From Persistency Questions To EMF. Part 2

DZone's Guide to

From Persistency Questions To EMF. Part 2

· Java Zone
Free Resource

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

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/

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}