In this tutorial we will setup a simple Hello World Web Application Based on Spring 4. The configuration will be done in Java. As you know with Spring 3 or earlier the only option of doing …
Category: Java
This post will show you how to consume a RestFul API in Spring through RestTemplate We will be consuming data from the Google Books API, This URL returns of Books for ISBN 9380658745. The result that …
Here is the Java example that shows how to get the random key value set from a Hash Map in Java. package info.balloons.SeleniumTest; import java.sql.Timestamp; import java.util.Calendar; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.util.Random; public …
Here are the Java examples that shows how you can get the current timestamp in Java -To get Unix (Epoch) timestamp public class App { public static void main( String[] args ) { System.out.println(System.currentTimeMillis()); } } …