Hi guys,Is there any way can let me write mulit-thread program in Notes? Just like the replicate/attachment download does.
I need download many documents to local db for further treatment. Due to the band width is quite low, so when the downloading happen, user’s interface will have no response for very long time.
I want write a program to download document at background, and print the progress info in the status bar to solve this problem.
I tried Java agent, but you see, there’re following problems
-
The session must get from agent context, so even when I use this session to open the db on server, it still block current user thread and let user wait a very long time.
-
I don’t know how to access the status bar from Java code, so there’s no easy way to tell user what happened.