Blog Archives

Build RESTful Web Service using Spring MVC Framework

Overview The post is about how to build a RESTful web service using Spring MVC framework.The main advantage of using Spring Framework is the modules within the application are loosely coupled achieved by Dependency Injection (Inversion of Control). Project Structure

Tagged with: , ,
Posted in Java, Programming

How to start a new Thread?

Java: First, we need a class that implement Runnable interface. Next, we instantiate the runnable class and pass it into the Thread constructor. Finally, we call the start() method of the Thread object. This will spawn a new thread from

Tagged with: , ,
Posted in Programming