Thursday, July 31st, 2014
I have written about other database migration frameworks before but in this article I’d like to cover the Liquibase framework in combination with WildFly as Java EE 7 compatible application server.
In the following tutorial, we’re going to write a full Java EE 7 book store application with a few steps and with Liquibase on board to create the database structure and insert example data into the database.
Thanks to the WildFly Maven Plug-in we even do not need to download and configure the application server but let Maven and the plug-in do the work for us.
(more…)
Tags: application server, as, curl, db, dbmigrate, ejb, entitymanager, h2, javaee, javaee7, jax-rs, jaxrs, jee, jpa, json, liquibase, migration, persistence, rdbms, rest, wildfly
Posted in Enterprise, Java, Web, Web Services | 3 Comments »
Tuesday, June 10th, 2014
When you need to derive meta-models from existing databases and want to create type-safe queries with an elegant, fluent-API, jOOQ definitely is a tool to consider here.
In the following tutorial I’d like to demonstrate how to integrate the jOOQ meta-model generator into a Maven build using the jOOQ Maven Plug-in, the Build Helper Maven Plug-in and Maven profiles to finally create a running application to query an existing RDBMS using such a generated meta-model.
(more…)
Tags: build-helper, generator, jooq, maven, metamodel, model, rdbms, sql
Posted in Java | No Comments »