This tutorial will show you how to send a basic mail via Spring framework’s email support. The Spring Framework provides a helpful utility library for sending email that shields the user from the specifics of the underlying mailing system and is responsible for low level resource handling on behalf of the client. A class that […]
What is BlockingQueue ? A blocking queue is a queue that blocks when you try to dequeue an empty queue, or if you try to enqueue items in a full queue. A thread trying to dequeue from an empty queue is blocked until some other threads insert an item into the queue. A thread trying […]
This tutorial will show you how to setup Apache Maven in development environment. Prerequisites Maven is a Java tool, so you must have Java installed in order to proceed. Maven 3.3 requires JDK 1.7 or above to execute. So first install Java 1.7 and setup environment path for Java.
This tutorial will show you how we use @MatrixVariable annotation in Spring Web MVC. This tutorial will show you how to obtain matrix variable in a map from the URL segment. The URI has the possibility of including name-value pairs within path segments. The general “URI path parameters” could be applied although the more unique […]