Java SE 7 Features Part – 2 3

1. Introduction In this post i will try to cover the below features of Java 7. ·        Using the @SafeVarargs annotation ·        Class Loaders ·        Concurrency   1.1.Using the @SafeVarargs annotation The improved varargs warnings are introduced in Java 7. The basic problem is the inability of generics and arrays to play well together. Generics ...

Quartz 2.0 (RamJobStore and JobStoreCMT)

Qaurtz 2.0 allows you to schedule your job manually or through QuartzInitializerListener. 1. Lets start first with manually scheduling the job. //Creating the Trigger : Trigger can be of two type:  Simple Trigger Cron Trigger : which will take cron expression for scheduling the job. a.) Simple Trigger (Run in every 5 sec)  Trigger trigger ...

Simple Quartz job, reading cron job expression from xml file. {RamJobStore} 1

This blog is to show how to make a Quartz job, reading cron job expression from xml file. Its a ram job store example i.e. it will not put the information inside any DB. STEP 1: Ok, lets’s start first making the quartz-job.xml Now we will make a quartz.properties file, in which we will give ...

Java SE 7 Features Part – 1 1

1. Introduction The Java Platform, Standard Edition 7 is a major feature release. It contains new features and enhancements in many functional areas. ·        Highlights of Technology Changes in Java SE 7 Enhancements and additions have been made in the Java SE 7 release in the following technologies: ·        Java Language Enhancements ·        Class Loaders ...