In a web application based on J2EE architecture, there is button. When
you click on this button, a series of jobs will run. This process will
take place in one or two minutes. Suppose that during executing the
jobs, The user click again on this button. So, the new series of jobs
will run for the second time parallel with the first series.
How can I prevent this problem? I'm beginner in J2EE.