Java – Get Random Item/Element From a List
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Introduction Picking a random List element is a very basic operation but not so obvious to implement. In this...
View ArticleJava Web Weekly, Issue 145
Lots of interesting writeups on Java 9 this week. Here we go… 1. Spring and Java >> Ahead-of-Time (AOT) Compilation May Come to OpenJDK HotSpot in Java 9 [infoq.com] If you’re into the lower...
View ArticleFileNotFoundException in Java
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Introduction In this article, we’re going to talk about a very common exception in Java – the...
View ArticleHow to Read a File in Java
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Introduction In this article, we will see how we can read a file from a classpath, URL or inside a JAR file, using...
View ArticleA Guide To Java Regular Expressions API
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview In this article, we will discuss the Java Regex API and how regular expressions can be used in Java...
View ArticleIntroduction To Play In Java
I just released the Master Class of "Learn Spring Security": >> CHECK OUT THE COURSE 1. Overview The purpose of this intro tutorial is to explore the Play Framework and teach you how to create a...
View ArticleSpring and Thymeleaf 3: Expressions
1. Introduction Thymeleaf is a Java template engine for processing and creating HTML, XML, JavaScript, CSS and plain text. For an intro to Thymeleaf and Spring, have a look at this write-up. Besides...
View ArticleRouting In Play Applications in Java
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview In this article, we will explore the aspect of routing in developing web applications with the Play...
View ArticleIntroduction to the Wicket Framework
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview Wicket is a Java server-side web component-oriented framework that aims at simplifying building web...
View ArticleJava 9 New Features
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview Java 9 comes with a rich feature set. Although there are no new language concepts, new APIs and...
View ArticleREST API with Play Framework in Java
I just announced the Master Class of my "REST With Spring" Course: >> THE "REST WITH SPRING" CLASSES 1. Overview The purpose of this tutorial is to explore the Play Framework and learn how to...
View ArticleIntroduction to SLF4J
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview Simple Logging Facade for Java (abbreviated SLF4J) – acts as a facade for different logging frameworks...
View ArticleJava Web Weekly, Issue 146
1. Spring and Java >> Securing JAX-RS Endpoints with JWT [antoniogoncalves.org] JWT is becoming the de facto standard in web security yesterday. And JJWT is certainly a good way to go for an...
View ArticleThymeleaf: Custom Layout Dialect
The Master Class of "Learn Spring Security" is out: >> CHECK OUT THE COURSE 1. Introduction Thymeleaf is a Java template engine for processing and creating HTML, XML, JavaScript, CSS and plain...
View ArticleIntroduction to the Java NIO Selector
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview In this article, we will explore the introductory parts of Java NIO’s Selector component. This is an...
View ArticleWhere is the Maven Local Repository?
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview This quick writeup will focus on where Maven stores all the local dependencies locally – which is in the...
View ArticleIntroduction to WebJars
The Master Class of "Learn Spring Security" is out: >> CHECK OUT THE COURSE 1. Overview This tutorial introduces WebJars and how to use them in a Java application. Simply put, WebJars are client...
View ArticleAn Introduction To Spring JMS
The Master Class of "Learn Spring Security" is out: >> CHECK OUT THE COURSE 1. Overview Spring provides a JMS Integration framework that simplifies the use of the JMS API. This article...
View ArticleIntro to Mapping with MapStruct
The Master Class of "Learn Spring Security" is live: >> CHECK OUT THE COURSE 1. Overview In this article, we’ll explore the use of MapStruct which is, simply put, a Java Bean mapper. This API...
View ArticleSpring Security: Authentication with a Database-backed UserDetailsService
The Master Class of "Learn Spring Security" is out: >> CHECK OUT THE COURSE 1. Overview In this article, we will show how to create a custom database-backed UserDetailsService for authentication...
View Article