Skip to content

What is XOMDA?

XOMDA stands for Extensible Object Model Data Abstraction. It's a way of defining your data models, and generate code out of them.

It allows to define a centralised object model, out of which code can be generated. This can go from beans, to database definitions, documentation, dialogs, ...

It's just all in your own hands.

Why?

During the lifecycle of application development, your models change. Attributes are added, removed or renamed, new entities are added and so on.

While these changes are only minimal within the model itself, they can become pretty extensive when it comes to adapting all code accordingly. By generating this code automatically, changes become predictable and will become effective throughout your codebase.

Another side-effect of generating code is that everything looks and works the same. This creates a uniformity within your codebase which makes it predictable and much easier to understand.

After all, you always have control of how and which code gets generated.

How?

The model is defined in a simple format, which is then parsed into an object model. This object model is then presented to the template engine, which generates the code and assets that you configured it to do so.

The parsing and generation is integrated automagically within your build system.

By default, XOMDA ships with a predefined Object Model, which is ready for you to use and create your own models. Whenever you should grow the need of additional functionality within the default Object Model, you can always either extend the default Object Model, or even create a complete new one.

By creating a new complete new Object Model – instead of extending the default on – you should will trade in some utils and functionality,.