on 08-24-2005 7:50 PM
I want to create a thread that will do some work in the background as a result of an iView event. I want the iView doProcessBeforeOut to return immediately, but have a thread running in the background to update some data. Is it Ok to create standard Java threads in this case, or is there a portal service I should use? I found documentation on the J2EE Engine's TimeoutManager, but I cannot figure out how to use that from within an iView.
Hi
I don't think that it is recommended to create iViews that contain threads running in the background. However, with that said, there are times when this is a necessity, and it is also possible, as I have had to do something similar my self. As long as you make sure that your thread code conforms to the usual Java coding standards and that there are not likely to be any blocking then so be it.
I hope this helps
Darrell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.