Java Scanner
1. Overview In this tutorial, we’ll illustrate how to use the Java Scanner to read input and find and skip patterns with different delimiters. 2. Scan a File First – let’s see how to read a file using...
View ArticleGuava CharMatcher
In this quick tutorial we’ll explore the CharMatcher utility class in Guava. 1. Remove Special Characters from a String Let’s start by removing all special characters from a String. In the following...
View ArticleJava – Directory Size
1. Overview In this tutorial – we’ll learn how to get size of a folder in Java – using Java 6, 7 and the new Java 8 as well Guava and Apache Common IO. Finally – we will also get a human readable...
View ArticleBaeldung Weekly Review 46
At the very beginning of 2014 I decided to start to track my reading habits and share the best stuff here, on Baeldung. Curating my reading has made it more purposeful and diverse – and I’m hopefully...
View ArticleBaeldung Weekly Review 47
At the very beginning of 2014 I decided to start to track my reading habits and share the best stuff here, on Baeldung. Curating my reading has made it more purposeful and diverse – and I’m hopefully...
View ArticleBest Java Blogs
I usually post about Java stuff on Google+ - you should follow me there: Overview and Criteria There are several “Top Java Blogs” pages out there – but also a lot of noise. Some of these blogs are...
View ArticleBest Spring Blogs
I usually post about Spring stuff on Google+ - you can follow me there: Overview and Criteria This page is meant to a up to date – end of 2014 – view of the Spring ecosystem. In order for a blog/site...
View ArticleHttpAsyncClient Tutorial
I usually post about Dev stuff on Google+ - you can follow me there: 1. Overview In this tutorial we’ll illustrate the most common use cases of the Apache HttpAsyncClient – from basic usage, to how to...
View ArticleRegistration – Activate a New Account by Email
I usually post about Spring stuff on Google+ - you can follow me there: 1. Overview This article continues our ongoing Registration with Spring Security series with one of the missing pieces of the...
View ArticleBaeldung Weekly Review 48
I usually post about Dev stuff on Google+ - you can follow me there: At the very beginning of 2014 I decided to start to track my reading habits and share the best stuff here, on Baeldung. Curating my...
View Article@Async in Spring
1. Overview In this article we’ll explore the asynchronous execution support in Spring – and the @Async annotation. Simply put – annotating a method of a bean with @Async will make it execute in a...
View ArticleBaeldung Weekly Review 49
I usually post about Dev stuff on Google+ - you can follow me there: At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung. Here we go… 1. Spring...
View ArticleJackson JSON Views
I usually post about Jackson and JSON stuff on Google+ - you can follow me there: 1. Overview In this tutorial, we’ll go over how to use Jackson JSON Views to serialize/deserialize objects, customize...
View ArticleBaeldung Weekly Review 50
I usually post about Dev stuff on Google+ - you can follow me there: At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung. Here we go… 1. Java...
View ArticleTransactions with Spring 4 and JPA
I usually post about Persistence on Google+ - you can follow me there: 1. Overview This tutorial will discuss the right way to configure Spring Transactions, how to use the @Transactional annotation...
View ArticleJackson Exceptions – Problems and Solutions
I usually post about Jackson and JSON stuff on Google+ - you can follow me there: 1. Overview In this tutorial, we’ll go over the most common Jackson Exceptions – the JsonMappingException and...
View ArticleTop 10 Articles on Baeldung from 2014
Here are the most read articles on the site written in 2014 (as well as the number of visits): 1#: Http Message Converters with the Spring Framework ~40K 2#: HttpClient Basic Authentication ~24K 3#:...
View ArticleBaeldung Weekly Review 51
I usually post about Dev stuff on Google+ - you can follow me there: At the very beginning of 2014 I decided to track my reading habits and share the best stuff here, on Baeldung. 2014 has been quite...
View ArticlePosting with HttpClient
1. Overview In this tutorial – we’ll POST with the HttpClient 4 - using first authorization, then the fluent HttpClient API. Finally – we will discuss how to upload File using HttpClient. 2. Basic POST...
View ArticleJackson Date
I usually post about Jackson and JSON stuff on Google+ - you can follow me there: 1. Overview In this tutorial, we’ll serialize dates with Jackson. We’ll start by serializing a simple java.util.Date,...
View Article