Just use the @DisallowConcurrentExecution
Annotation on top of the Job class.
See this official example or this tutorial about concurrent job execution.
More Related Contents:
- Finding all classes implementing a specific interface [duplicate]
- Why is spawning threads in Java EE container discouraged?
- How to set up JAX-RS Application using annotations only (no web.xml)?
- .war vs .ear file
- why business logic should be moved out of JSP?
- Where are compiled JSP Java (*__jsp.java) files?
- How to read request.getInputStream() multiple times
- Please explain about insertable=false and updatable=false in reference to the JPA @Column annotation
- @PreUpdate and @Prepersist in hibernate/JPA (using session)
- What are Shadow Variables in Java? [duplicate]
- How to convert map to url query string?
- Hibernate bidirectional @ManyToOne, updating the not owning side not working
- JPA map collection of Enums
- Get the server port number from tomcat without a request
- How to save state when extending UIComponentBase
- How to properly logout of a Java EE 6 Web Application after logging in
- is there a standard way to define a JDBC Datasource for Java EE containers?
- Correct usage of Stateful Beans with Servlets
- Autowiring in Spring bean (@Component) created with new keyword
- Questions every good Java/Java EE Developer should be able to answer? [closed]
- Where can I find a list of all the reference implementations for Java EE 6? [closed]
- Difference between a “jta-datasource” and a ” resource-local ” datasource?
- Testing against Java EE 6 API
- What is meant by abstract=”true” in spring?
- no sqljdbc_auth in java.library.path
- How to store a file on a server(web container) through a Java EE web application?
- Editing ArrayList of objects with struts 2 form tag
- EJB’s – when to use Remote and/or local interfaces?
- Session TimeOut in web.xml
- How to get and set a global object in Java servlet context