Java
-
Spring annotations I never had the chance to use part 1: @primary
Today I remembered an old friend of mine (@primary) with whom we met from tutorials to tutorials. You know that…
Read More » -
JUnit: Testing Exceptions with Java 8 and AssertJ 3.0.0
AssertJ 3.0.0 release for Java 8 makes testing exceptions much easier than before. In one of my previous blog post…
Read More » -
Using Rhino with Java 8
Java brings Nashorn as new JavaScript implementation for JSR 223 (javax.scripting). While this is certainly great news (Nashorn is way…
Read More » -
Spring: injecting lists, maps, optionals and getBeansOfType() pitfalls
If you use Spring framework for more than a week you are probably aware of this feature. Suppose you have…
Read More » -
JAX-RS 2.x vs Spring MVC: Returning an XML representation of a list of objects
JSON is King as it goes to all kinds of REST* APIs, but still you may need to expose multiple…
Read More » -
Using AWS SQS as JMS provider with Spring
Recently AWS published a new client library that implements the JMS 1.1 specification and uses their Simple Queue Service (SQS)…
Read More » -
Time to toss out Java 7 – JBoss EAP 6.4 is here!
What a great end to the week. JBoss EAP 6.4 was released and among a ton of technical enhancements and…
Read More » -
The JDK 8 SummaryStatistics Classes
Three of the new classes introduced in JDK 8 are DoubleSummaryStatistics, IntSummaryStatistics, and LongSummaryStatistics of the java.util package. These classes…
Read More » -
Spring From the Trenches: Returning Git Commit Information as JSON
There are situations when we must know the exact version of our web application that is deployed to a remote…
Read More »