Java 9: The Good, The Bad, and Private Interface Methods

Java 9 was released a few weeks ago. Check the release notes, they include many interesting features. However, I think that not everything is as good as Oracle and Java adepts seem to picture it. I see three trends in the Java world, which are good, bad, and ugly, respectively. Let’s start with the good one.         ...

Read More »

Scrum and universal truths

An update to the Scrum Guide will be released on 7 November 2017. In a webinar the principal co-creators of Scrum, Jeff Sutherland and Ken Schwaber, will introduce the changes relative to the previous update. The previous update was released on 6 July 2016 and encompassed the addition of the Scrum Values. Although language and words matter, I imagine the difficulty ...

Read More »

JUnit 5 – Basics

JUnit 5 is the next generation unit testing framework for Java equipped with many interesting features including nested tests, parameterized tests, new extension API or Java 8 support to mentioned a few. This article shows basic concepts of JUnit 5 including test lifecycle, parameter injection and assertions (basic, timeout and exception). Documentation First of all, JUnit 5 documentation is just ...

Read More »

Java Command-Line Interfaces (Part 20): JSAP

JSAP (Java Simple Argument Parser) 2.1 is the focus of this twentieth post in this series on processing command line arguments from Java. The JSAP page describes the library’s reason for existence: “I found several parsers on the Internet, all of which handled switches, but none of which had the versatility I wanted in terms of return types and configuration ...

Read More »

Java Data type and Identifier

In this tutorial we are going to see about Data types and Identifiers in Java. Java language has a rich implementation of data types. Data types specify size and the type of values that can be stored in an identifier. Java data types are classified into two categories : Primitive Data type Non-Primitive Data type The Primitive Types Java defines ...

Read More »

Call on me, or Asynchronous REST

spring-interview-questions-answers

This article is a very simple example of a working asynchronous REST application, made with Spring Boot + Java 8. Spring Boot makes developing web applications almost ridiculously easy, but to simplify the task even more, I took an example from Spring repository called rest-service , forked it to my own repository and changed it for my purposes to create two applications: ...

Read More »

Advantages of Functional Programming

In Part I of this series, I talked about the core concepts of functional programming and gave a few examples of how they come into play. The list of core concepts of functional programming (again from Part I) is as follows: Usage of functions as input to and output from other functions, higher order functions Usage of map, filter, and ...

Read More »

Java Command-Line Interfaces (Part 19): jClap

The focus of this nineteenth post in this series on parsing command line arguments from Java code is jClap (Java Command Line Argument Parser), which should not be confused with the library called JCLAP that was the focus of my previous post in this series. The previous post covered JCLAP 1.4 by Giles Winstanley (snaq.net) whereas this post covers jClap ...

Read More »

Activation UI and the Builder Pattern

I wrote two posts about the SMS activation process. In the first I discussed using the Twilio API via REST and in the second I discussed the native interfaces for SMS interception we can use in Android. Now it’s time to put this all together and create a single API that’s fluid. It should include the full UI process but ...

Read More »