Java
-
Creating contract-first web services with Spring WS
1 Introduction This article explains how to implement and test a SOAP web service using the Spring Web Services project.…
Read More » -
Java 8: Compiling Lambda Expressions in The New Nashorn JS Engine
In a recent post I took a look at how Java 8 and Scala implemented Lambda expressions. As we know…
Read More » -
Serializing Java Objects with Non-Serializable Attributes
There are multiple reasons one might want to use custom serialization instead of relying on Java’s default serialization. One of…
Read More » -
Three Reasons Why I Like the Builder Pattern
There are three ways to create new objects in Java programming language: The telescoping constructor (anti)pattern The Javabeans pattern The…
Read More » -
Testing for expected exceptions in JUnit
Unit tests are used to verify that a piece of code operates as the developer expects it to. Sometimes, that…
Read More » -
Java 8 Friday Goodies: Lambdas and SQL
At Data Geekery, we love Java. And as we’re really into jOOQ’s fluent API and query DSL, we’re absolutely thrilled…
Read More » -
Spring JMS: Processing messages within transactions
1.Introduction This post will show you how an error in the execution of the consumer during the asynchronous reception of…
Read More » -
Java 8 Type Annotations
Lambda expressions are by far the most discussed and promoted feature of Java 8. While I agree that Lambdas are…
Read More » -
Transparent PATCH support in JAX-RS 2.0
The PATCH method is one the the less well loved HTTP methods simple because until recently there really wasn’t a…
Read More »