Java Web Weekly, Issue 165
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> From Microservices to Distributed Systems – Survival guide for Java Developers [eisele.net] Another solid way...
View ArticleFinding Max/Min of a List or Collection
1. Introduction A quick intro on how to find the min/max value from a given list/collection with the powerful Stream API in Java8. 2. Find Max in a List of Integers We can use max() method provided...
View ArticleIntroduction to jOOL
1. Overview In this article, we will be looking at the jOOL library – another product from jOOQ. 2. Maven Dependency Let’s start by adding a Maven dependency to your pom.xml: <dependency>...
View ArticleIntroduction to Cobertura
1. Overview In this article, we will demonstrate several aspects of generating code coverage reports using Cobertura. Simply put, Cobertura is a reporting tool that calculates test coverage for a...
View ArticleIntroduction to RabbitMQ
1. Overview Decoupling of software components is one of the most important parts of software design. One way of achieving this is using messaging systems, which provide an asynchronous way of...
View ArticleAWS Lambda Using DynamoDB With Java
1. Introduction AWS Lambda is serverless computing service provided by Amazon Web Services and WS DynamoDB is a NoSQL database service also provided by Amazon. Interestingly, DynamoDB supports both...
View ArticleGuide to java.util.concurrent.Locks
1. Overview Simply put, a lock is a more flexible and sophisticated thread synchronization mechanism than the standard synchronized block. The Lock interface has been around since Java 1.5. It is...
View ArticleSpring Remoting with Hessian and Burlap
1. Overview In the previous article titled “Intro to Spring Remoting with HTTP Invokers” we saw how easy is to set up a client/server application that leverages remote method invocation (RMI) through...
View ArticleIntroduction to cglib
1. Overview In this article, we will be looking at the cglib (Code Generation Library) library. It is a byte instrumentation library used in many Java frameworks such as Hibernate or Spring. The...
View ArticleWorking with Relationships in Spring Data REST
1. Overview In this article, we’re going to take a look at how to work with relationships between entities in Spring Data REST. We will focus on the association resources that Spring Data REST exposes...
View ArticleIntroducing nudge4j
1. Overview nudge4j allows developers to see the impact of any operation straight-away and provides an environment in which they can explore, learn, and ultimately spend less time debugging and...
View ArticleIntro to Log4j2 – Appenders, Layouts and Filters
1. Overview Logging events is a critical aspect of software development. While there are lots of frameworks available in Java ecosystem, Log4J has been the most popular for decades, due to the...
View ArticleJava 9 – Exploring the REPL
1. Introduction This article is about jshell, an interactive REPL (Read-Evaluate-Print-Loop) console that is bundled with the JDK for the upcoming Java 9 release. For those not familiar with the...
View ArticleSpring Security – Redirect to the Previous URL After Login
1. Overview This article will focus on how to redirect a user back to the originally requested URL – after they log in. Previously, we’ve seen how to redirect to different pages after login with...
View ArticleJava 9 Process API Improvements
1. Overview The process API in Java had been quite primitive prior to Java 5, the only way to spawn a new process was to use the Runtime.getRuntime().exec() API. Then in Java 5, ProcessBuilder API was...
View ArticleSpring Security with Stormpath
1. Overview Stormpath has developed solid support for Spring Boot and Spring Security – to make the integration with their infrastructure and services quite straightforward. In this article, we’re...
View ArticleGuide To Solr in Java With Apache SolrJ
1. Overview Apache Solr is an open-source search platform built on top of Lucene. Apache SolrJ is a Java-based client for Solr that provides interfaces for the main features of search like indexing,...
View ArticleJava Web Weekly, Issue 166
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Spring Framework 5.0 M5 Update [spring.io] Very interesting functionality in the latest Spring 5 pre-release....
View ArticleHow to Register a Servlet in Java
1. Introduction This article will provide an overview of how to register a servlet within Java EE and Spring Boot. Specifically, we will look at two ways to register a Java Servlet in Java EE — one...
View ArticleIntro To Reactor Core
1. Introduction Reactor Core is a Java 8 library which implements the reactive programming model. It’s built on top of the Reactive Streams Specification, a standard for building reactive...
View Article