Confuse about Quartz or Thread.



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
Version of quartz>quartz dependency
List of Version of quartz>quartz dependency
thread  can parent thread be dead if child thread is not dead
Thread  Thread Life Cycle
Thread  what is the use of thread
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  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
Thread  what happen when we call the Wait(),Notify() and NotifyAll() methods in the Thread
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  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
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
Version of quartz>quartz-jboss dependency
List of Version of quartz>quartz-jboss dependency
Version of quartz>quartz-oracle dependency
List of Version of quartz>quartz-oracle dependency
Version of quartz>quartz-weblogic dependency
List of Version of quartz>quartz-weblogic dependency
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
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
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
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
Java :Thread Enumeration
Java :Thread Enumeration In this tutorial you will learn about java thread enumeration. Thread Enumeration : For enumeration, thread uses two methods... threads. This count size is used for array of Thread references. Calculating
compiler very well knows about the exceptions thrown by some methods so it insists
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
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
Java Thread getId Example
Java Thread getId Example In this tutorial we are going to describe about Thread getId () with example. Thread getId() : This method returns thread ID of long type. It is positive long number. When your thread is created
Java Quartz Framework
. To know more about this, Browse: Java Quartz Framework       Quartz is an open source job scheduler.  It provides powerful
Overview of Thread
with this program. Thread A thread is a lightweight process which exist within... thread is referred to as a single-threaded process, while a process... Programming language,  thread is a sequential path of code execution
What Is Thread In Java?
What Is Thread In Java? In this section we will read about thread in Java... knowing about Thread. So, lets first discuss about what is program?, what... a simple example which will demonstrate you about how to write thread in Java. Here
Artifacts of quartz
List of Artifacts of quartz maven depenency
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


Advertisement null