Java
-

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 » -

Struts2 Interview Questions and Answers
Struts2 is one of the famous framework for developing web application in java. Recently I have wrote a lot of…
Read More » -

Preventing System.exit calls
When developing containers that run code written by other developers it is prudent to safe-guard against System.exit calls. If a…
Read More »




