Generics in Kotlin
1. Overview In this article, we will be looking at the generic types in the Kotlin language. They are very similar to those from the Java language, but the Kotlin language creators tried to make them...
View ArticleIntroduction to Groovy Language
1. Overview Groovy is a dynamic, scripting language for the JVM. It compiles to bytecode and blends seamlessly with Java code and libraries. In this article, we’re going to take a look some of the...
View ArticleJava Web Weekly, Issue 173
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Spring Tips: Season 2 Recap [spring.io] A summary of the Spring Tips series, including integrations with jOOQ,...
View ArticleA Guide to Java EE Web-Related Annotations
1. Overview Java EE annotations make developers’ life easier by allowing them to specify how application components should behave in a container. These are modern alternatives for XML descriptors and...
View ArticleIntroduction to Apache Commons Math
1. Overview We’re frequently in need of using mathematical tools, and sometimes java.lang.Math is simply not enough. Fortunately, Apache Commons has the goal of filling in the leaks of the standard...
View ArticleA Quick Guide to Spring @Value
1. Overview In this quick article, we’re going to have a look at the @Value Spring annotation. This annotation can be used for injecting values into fields in Spring-managed beans and it can be...
View ArticleRabbitMQ Message Dispatching with Spring AMQP
1. Introduction In this article, we’ll explore the concept of fanout and topic exchanges with Spring AMQP and RabbitMQ. At a high level, fanout exchanges will broadcast the same message to all bound...
View ArticleSpring Remoting with AMQP
1. Overview We saw in the previous installments of the series how we can leverage Spring Remoting and the related technologies to enable synchronous Remote Procedure Calls on top of an HTTP channel...
View ArticleCreate a Custom Auto-Configuration with Spring Boot
1. Overview Simply put, the Spring Boot autoconfiguration represents a way to automatically configure a Spring application based on the dependencies that are present on the classpath. This can make...
View ArticleA Guide to Java SynchronousQueue
1. Overview In this article, we’ll be looking at the SynchronousQueue from the java.util.concurrent package. Simply put, this implementation allows us to exchange information between threads in a...
View ArticleLogout in a OAuth Secured Application
1. Overview In this quick tutorial, we’re going to show how we can add logout functionality to an OAuth Spring Security application. We’ll, of course, use the OAuth application described in a previous...
View ArticleGuide to @ConfigurationProperties in Spring Boot
1. Introduction One of the handy features of Spring Boot is externalized configuration and easy access to properties defined in properties files. An earlier article described various ways in which...
View ArticleAn Introduction to Spring Cloud Zookeeper
1. Introduction In this article, we will get acquainted with Zookeeper and how it’s used for Service Discovery which is used as a centralized knowledge about services in the cloud. Spring Cloud...
View ArticleIntroduction to the Stripe API for Java
1. Overview Stripe is a cloud-based service that enables businesses and individuals to receive payments over the internet and offers both client-side libraries (JavaScript and native mobile) and...
View ArticleTesting in Spring Boot
1. Overview In this article, we’ll have a look at writing tests using the framework support in Spring Boot. We’ll cover unit tests that can run in isolation as well as integration tests that will...
View ArticleGuide to the Java TransferQueue
1. Overview In this article, we’ll be looking at the TransferQueue construct from the standard java.util.concurrent package. Simply put, this queue allows us to create programs according to the...
View ArticleAn Intro to the Spring DispatcherServlet
1. Introduction Simply put, in the Front Controller design pattern, a single controller is responsible for directing incoming HttpRequests to all of an application’s other controllers and handlers....
View ArticleIntroduction to JAX-WS
1. Overview Java API for XML Web Services (JAX-WS) is a standardized API for creating and consuming SOAP (Simple Object Access Protocol) web services. In this article, we’ll create a SOAP web service...
View ArticleIntroduction to Serenity BDD
1. Introduction In this tutorial, we’ll give an introduction to Serenity BDD – a great tool for Behaviour Driven Development (BDD). This is a solution for automated acceptance testing that generates...
View ArticleJava Web Weekly, Issue 174
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Project Amber: The Future of Java Exposed [takipi.com] The future Java with Local Variable Type Inference,...
View Article