MongoDB has plenty of cool features to work with documents, but I found it less than obvious how to update document in array. So here it is…
Regular Expressions are very handy for text processing. In this article we’ll show Java Regex to remove duplicated words, which is a common task.
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.
Static Factory Method is very popular pattern that simplify and clarify creation of objects. Can be used instead of or in addition to constructors.
In Java 8 interfaces default and static methods are major changes that allow to extend existing code without breaking anything. It should be the first step into Java 8.
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!
In this article we present practical Bean Validation Unit Testing using JUnit. Testing this part is very simple, yet often neglected by many developers. Let’s fix that!
In this post we show Java Bean Validation example! Bean Validation is fantastic and flexible library that can be used in JEE and JSE programs to verify data!
java.lang.InterruptedException is thrown when a Thread blocked in Object.wait(), Thread.join(), or Thread.sleep() is interrupted. Here we’ll look at these cases.