Contract First SOAP Service with Spring and Maven

1. Introduction In this tutorial, we will learn to implement a contract-first SOAP service application using JAX-WS, Spring and Maven. This is more of a design decision whether to use contract-first or code-first approach. The most notable benefit of using applying contract-first approach in developing a SOAP based web service application, is that the contract can be shared with the consumers/clients ...

Read More »

Constructor or setter?

It goes without saying that every object needs to be created before it can be used. It does not matter whether we are talking about a domain, frameworks, libraries or any other type of the classes. When your code is an Object-Oriented, those classes are only definitions of the objects. You cannot use objects before they are created. When we ...

Read More »

Learn about JDK9 Compact Strings (Video review Charlie Hunt)

JDK 9 introduces a new feature called Compact Strings.  Given the ubiquity of Strings in Java programs I feel that this is a really important change that needs to be understood by all Java developers. In this video Charlie Hunt explains the history and implementation of this new feature.  The video is not actually about Compact Strings. Compact Strings are ...

Read More »

Spring Boot with Scala

spring-interview-questions-answers

A while back I had tried out a small Spring Boot  based sample with Scala as the language and found that the combination works out quite nicely – no big surprises there actually as Scala programs ultimately run in the JVM. I have now updated the sample with the latest version of Spring Boot and some of the supporting libraries. ...

Read More »

How to install Red Hat Container Development Kit (CDK) in minutes

As an application developer or architect tasked with exploring the possibilities that containerized applications offer, there is little help with getting all the tools together to get you started. Until now. Red Hat provides a Container Development Kit (CDK) that has all the tooling you need for your local OSX, Linux or Windows environment. It also has a few containers ...

Read More »

#NoEstimates a simple experience report

I’ve been practicing #NoEstimates with my teams for the last 2-3 years if you want to know how it worked for us, read below. First of all an answer to all the people that in these years have been telling me “Yes, but if you are breaking user stories down, then you are estimating” Not at all #1: There is ...

Read More »

Grails 3 DataSource Configuration

Grails 3 has new configuration files and format.  The new format is based on YAML and the file name to use for database configuration is grails-app/conf/application.yml.   I’m just getting started with Grails 3 after developing applications on Grails pre-1, 1 and 2.  I was looking forward to building a new Grails 3 application. Before I began, I read the ...

Read More »

JUnit 5 – Setup

In November 2015 the JUnit Lambda team presented their prototype. Since then the project rebranded itself as JUnit 5 and released an alpha version in February 2016. We’ll explore it in a series of short posts: Setup Basics Architecture Conditions Injection … This one discusses the JUnit 5 setup so you can write code against the new API and run ...

Read More »