Java
-

Improving Spring Mock-MVC tests
Spring Mock-MVC can be a great way to test Spring Boot REST APIs. Mock-MVC allows us to test Spring-MVC request…
Read More » -

REST: Updating resources
When building RESTful APIs over HTTP the PUT method is typically used for updating, while POST is used for creating…
Read More » -

Version control your RAML specifications
Version controlling your RAML RESTful API specifications allows you to continue maintaining previous version of your APIs. The API designer…
Read More » -

Java Based Akka application Part 2: Adding tests
On the previous blog we focused on spinning up our first Akka project. Now it’s time to add a test…
Read More » -

State Pattern
Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.…
Read More » -

Memento Pattern
Without violating encapsulation, capture and externalize an object’s internal state so that the object can be restored to this state…
Read More » -

Inline array definition in Java
There are occasion when it is more convenient to create an array inline. Here are several way to declare and…
Read More » -

Solve the facility location problem
We have created a new quickstart that extends OptaPlanner use case portfolio with the facility location problem and also demonstrates…
Read More » -

Kicking the Tires of Jakarta EE 9 with Payara
We’ve been hearing all about it. Jakarta EE 9 will be released in November 2020. The Jakarta EE working group…
Read More »


