Question: I would like know what is the difference between the Quartz Scheduler and JMS, and in what situations is better to do the use of the tools...

Answer: 
They are completely different. One is an event scheduler, the other is a messaging / queuing technology.
One other difference is that Quartz is a ready-to-use **product**, and JMS is only a **specification** (requires you to select an implementation to use it).