Java, Web and Mobile

Blog

JSON-B is coming

|
Java EE

Java EE7 introduced JSON-P, which is supposed to standardize processing and parsing of JSON. This year, EE8 now brings ‘Java API for JSON Binding’ (JSON-B). Time for a closer look.

Howto: REST Assured

|
Java|Testing

In my current project I work in the QA-team. One of the questions we have to answer was, “How can we test a rest webservice?” With REST Assured, we found an easy way to test the service from various aspects. This tutorial explains how.

Generate database schema DDL script with JPA or Hibernate

|
Java|Java EE

Using an object-relational mapping framework like Hibernate disburdens developers from creating complex DDL scripts to setup an application’s database schema. However, in real life such scripts are still needed – at least for the DBA who forbids applications to alter database objects. This post shows how to easily generate the database schema DDL script without typing an SQL commands.

Agreements under Test – Part II

|
Java|Testing

The first part of this post introduced parameterized tests to avoid missing or unnecessary translation resources. I also showed an example of a possibly parameterized test, which was to outline how good test failure design helps to find all errors instead only the first or have static variables.