Services

Benefit


Services are used to extend templates to implement complex operations. Services allow for an unlimited extensibility, keeping templates clean and easy-to-read.

How does it work ?


Services are implemented using the Java language. They make it easier to manage objects from metamodels, or standards types from JDK or eclipse.

Moreover, Acceleo simplifies EMF metamodel class generation (for example : an UML operation will have a corresponding Java class named Operation with each getter required.)

Use case


Java service example and its use within an Acceleo template

service
Webdesign : www.katrinet.com - Realisation : Obeo