Java Programming Tutorials

Java programming tutorials with many code examples!

MD5 hash in Java

To calculate MD5 hash in Java we can use pure Java approach or use libraries. In this post we’re going to show how to calculate Message Digest in different ways.

Read More

Share with the World!

Spring Locale from Request

Spring Framework is really great when it comes to i18n. It applies different strategies to get user’s locale from request. In this post we’ll show how apply that!

Read More

Share with the World!

Parallel Merge Sort in Java

Divide and Conquer algorithms are great subject for parallelism. Here we present Parallel Merge Sort implemented using Java ForkJoin Framework.

Read More

Share with the World!

Java regex matching IP Address

A pretty cool exercise in writing Java Regular Expressions is to write Java regex matching IP Address. In this post we’ll show IP regexp and use in IP Address validator.

Read More

Share with the World!

Bean Validation Constraints

javax.validation defines a number of Bean Validation Constraints for values of most commonly used types. In this post we’ll show how to use each of them!

Read More

Share with the World!
Pages:1234567...21