You will add a singleton design pattern using JSP expressions
JSP File showing the call to the “Process All” Class to start / manage the multiprocessor class.
Here is where you will need to create a new class that does the same functionality as the ProcessAll class did previously. The difference is that instead of calling a servlet you will open a new class directly in the JSP.
Then just cut and paste the code to open the database and run the multithreader.I added an example below on how to call out a class if needed.Do not forget the “page import” at the top which points to the package.className.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here