spring - what should I use for scheduling -
I am using JSF-2, Spring 4, Hibernate 4 in my application. I have a Spring Type Service Layer, Dao Layer, model and secondly I want to schedule some services that should be automatically executed or called at specified time, generally these services or business logic data from Excel file -Mapping displays in some type of database. I want to do these tasks without user intervention and the scheduler should take care of all these data mappings.
Note: I am saying these services in my opinion and these services should also be used in the scheduler for data-mapping.
I newbie at very high level, if I have never used any kind of scheduler or anything, my question:
1) What should I do to schedule this task?
2) Am I confused about Spring Batch and Spring Scheduler? Do they both do scheduling, if not, what is the actual use of a spying-batch?
3) The spring-scheduler can itself spring enough for these scheduling, any help would be extremely important.
1) What should I do to schedule this task? In fact, you need those conditions which you support the actions you want to do (creating from database queries), in both cases Spring
2) Am I confused about Spring Batch and Spring Scheduler? Do they schedule both, if you know, what is the real use of a spinning-batch?
The Spring Batch provides reusable functions that are necessary to process large volumes of logging / tracing, including transaction management, job processing statistics, resume job, resume, and Resource Management also provides more advanced technical services and facilities that enable extremely high volume and high performance batch jobs, although Customization and Partition Technology
The spring scheduler runs on any method some time, it is not very strong, and performs only to include the logic on a process, No data, do not resume job, only start a process during predefined period (calling the class method)
3) Is the spring-scheduler itself sufficient enough for these scheduling? Yes, that is, if you are not very related to the spring-batch, then it will take longer, which will have you already called methods.
The Scheduler A Scheduler is a software product that tracks the schedule and computer batch functions to an enterprise
The scheduler has just run the process.
Comments
Post a Comment