Share on Google+Share on Google+

Confuse about Quartz or Thread.
1 Answer(s)      8 years ago
Posted in : JSP-Servlet


View Answers

March 25, 2009 at 1:31 AM

Hi friend,

Quartz Scheduler :

Quartz is a full-featured, open source job scheduling framework written entirely in Java.It can be integrated with, or used along side virtually any J2EE or J2SE application - from the smallest stand-alone application to the largest e-commerce system. Job scheduler is a system that
is responsible for executing other software components when a pre-determined (scheduled) time arrives.Quartz is quite flexible. It contains multiple usage paradigms that can be used separately or together
to achieve the desired behavior. And it enable you to write the code in the way that seems most natural to your project.Quartz is a fault-tolerant, and can persist your scheduled jobs between system shutdown and restarts.Quartz is very useful for simply executing certain system process on given schedules.

Thread :

A thread is a lightweight process which exist within a program and executed to perform a special task. Several threads of execution may be associated with a single process. Thus a process that has only one thread is referred to as a single-threaded process, while a process with multiple threads is referred to as a multi-threaded process.

In Java Programming language, thread is a sequential path of code execution within a program. Each thread has its own local variables, program counter and lifetime. In single threaded runtime environment, operations are executes sequentially i.e. next operation can execute only when the previous one is complete. It exists in a common memory space and can share both data and code of a program. Threading concept is very important in Java through which we can increase the speed of any application. You can see diagram shown below in which a thread is executed along with its several operations with in a single process.

For read more information,Examples and Tutorials on Quartz and Thread visit to :


Related Tutorials/Questions & Answers:
Confuse about Quartz or Thread. - JSP-Servlet
Confuse about Quartz or Thread.  Hi, Thanx for reply. Is it make any difference using simple thread instead of Quartz for automatic upload file... choice to go with Quartz instead of thread? Please let me know, what
Quartz scheduler
Quartz scheduler  I m new to quartz scheduler.... I want to schedule a job in quartz.... How can i schedule ? pls send me some step by step procedure
quartz scheduler
quartz scheduler  Hai I m new to quartz scheduler. I have run successfully the simple helloworld quartz job by using eclipse ide. Now I have one doubt can i schedule a BIRT report manually by using quartz scheduler ? Is there any
Quartz / Eclipse - Java Beginners
Quartz / Eclipse  Hi, I try to add quartz Lib in my HelloQuartz application. When I run HelloSchedule, I get this error: "Exception in thread "main... available". Where must I put the Quartz Jar Files? Thanks  Hi friend
Quartz scheduler
Quartz scheduler  Hai i m new to quartz. I want to run the simple Helloworld job in Eclipse. When i run this scheduler code with Eclipse I have... already connect those quartz jar files and also set path to all. Please anyone help
Quartz scheduler
Quartz scheduler  Hai I want to run a simple Helloworld quartz job... { System.out.println("Hello World Quartz Scheduler: " + new Date... path to all those jar files. And i put quartz. properties file to my project
Quartz Tutorial
Quartz Tutorial       In this Quartz Tutorial you will how to use Quartz Job scheduler in your java applications. Quartz Job scheduler is so flexible that it can be used with your
Java Quartz Framework
. To know more about this, Browse: Java Quartz Framework       Quartz is an open source job scheduler.  It provides powerful
running the job scheduling using quartz - IDE Questions
and I have write the code to run a separate thread continuously along with the main thread. How can I write the appropriate code... Thanks, mln15584   Hi friend, Here is more information about quartz. i am sending link
thread  can parent thread be dead if child thread is not dead
Thread  what is the use of thread
Thread  Thread Life Cycle
Thread  Explain two ways of creating thread in java. Explain at three methods of thread class.   Java Create Thread There are two main ways of creating a thread. The first is to extend the Thread class and the second
Thread  What is multi-threading? Explain different states of a thread... processor system. States of Thread: New state ? After the creations of Thread instance the thread is in this state but before the start() method invocation
to the thread constructor eventhough we had created only one thread and if you say we have added to point to the current thread then why we have not added this in the following line "s=s1" Pls reply...... class MyThread extends Thread { Thread
Quartz framework tutorial
Quartz framework tutorial  Hi, I am trying to create the scheduler application. Can any one provide me the url of Quartz framework tutorials. Thanks   Hi, Check the examples at Quartz Tutorial page. Thanks
Thread  class Extender extends Thread { Extender(Runnable run...(); } public void run(){ System.out.println("Extender Thread is Started :"); //new Thread(new Implementer()).start(); } } class Implementer
Thread  what happen when we call the Wait(),Notify() and NotifyAll() methods in the Thread
Thread  will this code work..? class A extends Thread { public...=" + i); } public static void main(string args[]) { A a = new A(); Thread t = new thread(a); t.start(); } } Is it possible to run above program with out
Quartz Trigger - XML
Quartz Trigger  how to write a quatz trigger to fire mails at every... friend, Quartz Job scheduler is so flexible that it can be used with your standalone as well as enterprise web based applications. Quartz Job scheduler is used
Thread  Write a Java program to create three theads. Each thread should produce the sum of 1 to 10, 11 to 20 and 21to 30 respectively. Main thread....   Java Thread Example class ThreadExample{ static int
Java Thread
Java Thread In this tutorial we will discuss about Java Thread. Java Thread : A thread is light weight java program.JVM permits you to have multiple threads for concurrent execution. Each thread has priority. You can also set
Thread   there are two threads running at a time.. when am updating a values in database. both thread halt and stop for moment till it get updated into database... so i dnt want thread to get halts for tht moment of period. whats
How to learn Quartz?
How to learn Quartz?  Hi, I have to make a program in Java is scheduling account processing Job after an interval of 20 minutes. Tell me the tutorial. Thanks   Hi, Please check the tutorial Hello World Quartz
Quartz in web-application
Quartz in web-application  As I am new to Quartz i don't know how to use it in web-application.I am able to run it in eclipse as a stand alone application i had tried out some example but am not able to succeed any help
quartz schedular in spring mvc
quartz schedular in spring mvc  how to apply auto emailing through sping mvc and want to pass some variable to that trigger job
Quartz Job Scheduler - Subversion
Quartz Job Scheduler  Dear Sir , i am anandaraj working as a programmer , i need the clarification for using the Quartz Job Scheduler . we have....
compiler very well knows about the exceptions thrown by some methods so it insists
Quartz Job Scheduler - Subversion
Quartz Job Scheduler  Dear Sir, i have taken that toturial.we are using RAMJob to do our work.while calling the scheduler.start(); , when... the database and genarating the report. we are getting the mail from the quartz
Main Thread and Child Thread
and Child Threads used in Programming. Main thread is automatically created when program runs. Child Thread gets created by the main thread . Java Main Thread Example public class mainchild implements Runnable { Thread t1
Java :Thread dumpStack
Java :Thread dumpStack In this tutorial you will learn about Java Thread dumpStack . Thread dumpStack : JVM gives the concept of Thread Dump which... show the native info about the thread as its name, state etc. public static
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values


Advertisement null