Java’s Time-Based Releases 1. Introduction In this article, we’ll discuss the new time-based releases of Java and the impact on all types of developers. Changes to the release schedule include updating the feature delivery and support levels for versions of Java. Overall, these changes are distinctly different from the Java… Continue Reading java-time-based-releases

Build a REST API with Spring and Java Config 1. Overview This article shows how to set up REST in Spring – the Controller and HTTP response codes, configuration of payload marshalling and content negotiation. Further reading: Using Spring @ResponseStatus to Set HTTP Status Code Have a look at the… Continue Reading building-a-restful-web-service-with-spring-and-java-based-configuration

Cucumber Java 8 Support 1. Overview In this quick tutorial, we’ll learn how to use Java 8 lambda expressions with Cucumber. 2. Maven Configuration First, we will need to add the following dependency to our pom.xml: <dependency> <groupId>info.cukes</groupId> <artifactId>cucumber-java8</artifactId> <version>1.2.5</version> <scope>test</scope> </dependency> The cucumber-java8 dependency can be found on Maven… Continue Reading cucumber-java-8-support

Introduction to Hystrix 1. Overview A typical distributed system consists of many services collaborating together. These services are prone to failure or delayed responses. If a service fails it may impact on other services affecting performance and possibly making other parts of application inaccessible or in the worst case bring… Continue Reading introduction-to-hystrix

Jackson Ignore Properties on Marshalling 1. Overview This tutorial will show how to ignore certain fields when serializing an object to JSON using Jackson 2.x. This is very useful when the Jackson defaults aren’t enough and we need to control exactly what gets serialized to JSON – and there are… Continue Reading jackson-ignore-properties-on-serialization

Microservices with Oracle Helidon 1. Overview Helidon is the new Java microservice framework that has been open sourced recently by Oracle. It was used internally in Oracle projects under the name J4C (Java for Cloud). In this tutorial, we’ll cover the main concepts of the framework and then we’ll move… Continue Reading microservices-oracle-helidon

Getting Started with Java and Zookeeper 1. Overview Apache ZooKeeper is a distributed coordination service which eases the development of distributed applications. It’s used by projects like Apache Hadoop, HBase and others for different use cases like leader election, configuration management, node coordination, server lease management, etc. Nodes within ZooKeeper… Continue Reading java-zookeeper