Java
-
Spring REST: Exception handling vol. 2
This is a second article from the series about REST Exception handling with Spring. In my previous post I have…
Read More » -
A Lesser-Known Java 8 Feature: Generalized Target-Type Inference
Going through the list of Java 8 features, Generalized Target-Type Inference struck me as a particularly interesting, lesser-known gem. It…
Read More » -
Spring Data MongoDB cascade save on DBRef objects
Spring Data MongoDB by default does not support cascade operations on referenced objects with @DBRef annotations as reference says: The…
Read More » -
Exploit better the results of Pmd, Findbugs and CheckStyle.
Many Java static analysis tools exist right there, each one focus on a specific area and has its advantages, we…
Read More » -
Add Apache Camel and Spring as jboss modules in WildFly
These days I am playing with Wildfly and Apache Camel and Spring. A simple way to communicate between EARs /…
Read More » -
Crashing your JVM
Thorough testing can be harmful as we discovered recently. Extending our test coverage led us to a several-hours debugging session…
Read More » -
Building and testing a websocket server with undertow
The upcoming version of JBoss Application Server will no longer use Tomcat as integrated webserver, but will replace it with…
Read More » -
Auditing Entities in Spring Data MongoDB
Spring Data MongoDB 1.2.0 silently introduced new feature: support for basic auditing. Because you will not find too much about…
Read More » -
Two things to remember when using Java RMI
This is a short blog post about two common pitfalls you should be aware of when using Java RMI. Setting…
Read More »