The Spring Framework provides abstractions for asynchronous execution and scheduling of tasks with the TaskExecutor and TaskScheduler interfaces, respectively. Spring also features implementations of those interfaces that support thread pools or delegation to CommonJ within an application server environment. Ultimately the use of these implementations behind the common interfaces abstracts away the differences between Java SE 5, Java SE 6 and Java EE environments.
Spring also features integration classes for supporting scheduling with the Timer, part of the JDK since 1.3, and the Quartz Scheduler. Both of those schedulers are setnup using a FactoryBean with optional references to Timer or Trigger instances, respectively.
Furthermore, a convenience class for both the Quartz Scheduler and the Timer is available that allows you to invoke a method of an existing target object (analogous to the normal MethodInvokingFactoryBean operation).
|
|
Java-Springs Related Tutorials |
|
---|---|
Adv Java Tutorial | J2EE Tutorial |
Core Java Tutorial | JSP Tutorial |
Java Servlets Tutorial | Hibernate Tutorial |
Java Tutorial | Framework7 Tutorial |
Java 8 Tutorial |
Java-Springs Related Interview Questions |
|
---|---|
Adv Java Interview Questions | J2EE Interview Questions |
Core Java Interview Questions | JSP Interview Questions |
Java-Springs Interview Questions | Java Servlets Interview Questions |
JMS(Java Message Service) Interview Questions | Hibernate Interview Questions |
Java applet Interview Questions | Java Interview Questions |
Framework7 Interview Questions | Java collections framework Interview Questions |
Java 8 Interview Questions | Java Programmer Interview Questions |
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.