Handle Quartz Job in Spring MVC

Monday, June 27th, 2016 (0 Comment)

In the first of integrated Quartz Job in Spring MVC, we focus on some config to run quartz job success.

In this article, we will continue handle quartz job in spring mvc. We will focus on java file more than config file.

We should be use structure of integrated Quartz Job in Spring MVC, and build one page site as below:

quartz job

quartz job

1. Servlet-quartz.xml file: Config Quartz job in Spring to create two jobs

2. Modify MyTask.java to out information of two jobs : myJob1 and myJob2

3. HelloWorldController.java file: Get and handle information of Quartz Job from servlet-quartz.xml file

4. Modify page screen again hello.jsp

Check result in console screen of eclipse or server.log file

Current Time job 1 : Mon Jun 27 15:28:00 ICT 2016

Current Time job 2 : Mon Jun 27 15:48:11 ICT 2016

We can review How to create quartz spring dynamic in database

Tags: , , ,

Related Posts

spring
How to create quartz spring dynamic in database
spring
Spring mvc mongodb crud users roles
spring
Java spring mvc tutorial on lvtutorial.com
spring
Angularjs spring mvc crud example

Related Posts

spring
How to create quartz spring dynamic in database
spring
Spring mvc mongodb crud users roles
spring
Java spring mvc tutorial on lvtutorial.com
spring
Angularjs spring mvc crud example

Leave a Reply

Your email address will not be published. Required fields are marked *