What is Cron ? Cron is a unix based job scheduler tool. Can be configured to execute tasks at a specified time. We can use our java programs to make use of the Cron tool by configuring cron expressions. Here we focus on writing cron expressions which is compatible with the Spring's CronTrigger. Configuring these cron expressions with Spring is coming soon !!! Cr
Integrate Prism Syntax Highlighter to Blogger
Prism is a really cool, simple and lightweight syntax highlighter. Prism supports bunch of languages and 6 different themes by today. First, see how prism looks. public class Main { public static void main(String[] args) { System.out.println("This is how prism looks"); } } Download Prism JS Hop into prismjs official website to download the required stuff Go to D
Continue Reading
Copying multiple resources to a web app with maven-resources-plugin
There are couple of other ways to copy resources. but I find this is the easiest method. maven-resources-plugin <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version> <executions> <execution> <id>copy-libs</id> <phase>process-resources</phase> <goals> <
Continue Reading