Enterprise Java
-
Testing Lucene’s index durability after crash or power loss
One of Lucene’s useful transactional features is index durability which ensures that, once you successfully call IndexWriter.commit, even if the…
Read More » -
CSRF protection in Spring MVC, Thymeleaf, Spring Security application
Cross-Site Request Forgery (CSRF) is an attack which forces an end user to execute unwanted actions on a web application…
Read More » -
Spring Boot 1.0 followed by Spring Boot 1.0.1 bug fix release
Spring Boot 1.0 release was recently announced by the Spring Boot team, and was followed by Spring Boot 1.0.1.RELEASE, a…
Read More » -
Using Jenkins / Hudson remote API to check jobs status
While working on my talk Writing a Hudson / Jenkins plugin (for EclipseCon NA 2014), I wanted to publish blog…
Read More » -
Wildfly 8.0 provides seamless JSON support via its JAXRS 2.0 implementation
Its great to see Wildfly 8.0 making it so much easier to work with BOTH XML and JSON representations from…
Read More » -
Spring Test Context Caching + AspectJ @Transactional + Ehcache pain
Are you using AspectJ @Transactionals and Spring? Do you have multiple SessionFactory’s maybe one for an embedded database for unit…
Read More » -
Apache CXF 3.0: JAX-RS 2.0 and Bean Validation 1.1 finally together
The upcoming release 3.0 (currently in milestone 2 phase) of the great Apache CXF framework is bringing a lot of…
Read More » -
How to implement a Session Timeout in Play Framework 2
If you follow the Play Framework 2 guide for implementing authentication: http://www.playframework.com/documentation/2.2.2/JavaGuide4 — you will notice that there is no…
Read More » -
JAX-RS 2.0 : Custom Content Handling
I tried to think of a better title, but failed to come up with one ! Please bear with me……. The…
Read More »