Configure Quartz Scheduler Jobs using XML File

quartz-thumbnail

In this tutorial I would explain how to configure quartz scheduler using properties file and xml file. Properties file will be used for configuring the JobStore details and XML configuration path. XML will store the list of Job details and cron triggers. In my previous post I have explained how to setup quartz scheduler pro-grammatically. […]

How to Write Quartz JobListener?

quartz-thumbnail

In my previous posts I have explained about writing simple quartz scheduler and how to list jobs. This tutorial explains how to write a listener for the scheduler. In certain scenarios, we have to execute few lines of code or log messages before and after the batch process. The listeners are very useful for achieving […]

How to Get List of Jobs in Quartz Scheduler?

quartz-thumbnail

In my previous article I have explained about how to write a simple quartz scheduler. In some cases, you would like to get the list of Jobs running on the scheduler. It is obvious that there will be multiple batch process configured in a large applications. If you could get the list of jobs and […]

Quartz Scheduler Tutorial

quartz-thumbnail

Schedulers are important for running the batch process in your application. There are plenty of Java scheduler frameworks available in the market. Among them, Quartz Scheduler is the most popular and most widely used by Java projects. This tutorial provides very simple example to write Quartz scheduler. When you complete reading this tutorial, you will […]

How to Check Hidden File in Java?

java

If you want to check if a file is hidden or not. Then use the below code snippet. The method isHidden() in the File class is used for checking if the file is hidden or not. This is simple utility which is useful when you are working with the File operations.

Convert String to Date using SimpleDateFormat

java

Many developers find it hard for understanding the conversion of plain string to the Date object with the desired format. This is a very basic requirement in any Java application. This tutorial provides few basic formats examples using the SimpleDateFormat class. Also there is plenty of formats available and supported by JDK, you can try […]

Create Spring Beans using Factory Methods

spring

The advantage of using the spring framework is the efficient beans management by the IOC container. We never create an instance in the code instead spring creates and manages them. In the certain scenarios, the demand is to use the factory methods for creating the instances of an particular object due to the restriction imposed […]

Use Trang to Generate XSD from XML File

xml

XML schema used for defining the restriction on XML data structure. It is adding the highly validated data structure and useful for defining the types for the data in XML files. In a normal practice, first a developer creates a XSD (schema) with validations or enforcement for the XML structure, later all the XML files […]

Spring Framework 4.0 RC1 Released

spring

Spring Framework 4.0 Release Candidate 1 is released by Spring IO this week. Earlier they have announced that Spring 4.0 is due to the release in October 2014. However, in the latest blog post they have indicated that it will be available by December 2014. The last addition of new features with this release candidate […]

How to create a Spring Bean of an Inner class?

spring

In this tutorial I will explain how to declare bean definition for the Inner classes in Spring XML configuration. When you are using inner class as spring beans, you have to specify the binary class name of that inner or nested class to instantiate as a bean. If you have a class ExampleType and it […]

Close
Please support the site
By clicking any of these buttons you help our site to get better