Long Job Demo Plug-in
Category None
Bookmark :
This demo shows how to run a long job in the Notes 8 Standard client without making the client unresponsive.
Normally if a long task is executed by a Notes 8 plugin the client will become unresponsive and the user will not be able to do anything in Notes until the task has finished. Effectively the task has 'locked' the client. This demonstration uses eclipse Jobs to run the task as a background Job. The user can choose to wait for the task to finish or they can run the task in the background. If the job is run in the background the user can continue to work with the Notes Client.
Installing Long Job Demo
Refer to this page for installation instructions.
Long Job Demo Source Code
Refer to this page for instructions on how to obtain the source code.
The Long Job Demo consists of a single plug-in called com.domiclipse.demo.longjob.
Using the Plug-in
Bookmark :
This demo shows how to run a long job in the Notes 8 Standard client without making the client unresponsive.
Normally if a long task is executed by a Notes 8 plugin the client will become unresponsive and the user will not be able to do anything in Notes until the task has finished. Effectively the task has 'locked' the client. This demonstration uses eclipse Jobs to run the task as a background Job. The user can choose to wait for the task to finish or they can run the task in the background. If the job is run in the background the user can continue to work with the Notes Client.
Installing Long Job Demo
Refer to this page for installation instructions.
Long Job Demo Source Code
Refer to this page for instructions on how to obtain the source code.
The Long Job Demo consists of a single plug-in called com.domiclipse.demo.longjob.
Using the Plug-in
- Once installed the plug-in can be found in the Sidebar.
- Enter the name of a server and database. For the sake of the demo it helps if the database is large and the server is slow.
- Click on the green 'play' button.
- A dialog box will be displayed which shows the progress of the job. There is also a mini progress bar with a small orange dot next to it which is displayed in the status bar of the Notes Client.
- Clicking on the Run in Background button will make the dislog box vanish.
- The mini progress bar in the status bar will still show that the job is running.
- Clicking on the orange dot next to the mini progress bar will open the Progress window where you can see the status of the job (and any other jobs that are running).
- When the job has finished running the List box in the sidebar will be populated with the UNID's of all the documents in the database.