If I call an agent with runOnServer from an xPage application does it release control back to the xPage?

StackOverflow https://stackoverflow.com/questions/19126755

  •  30-06-2022
  •  | 
  •  

سؤال

I know calling agents from the web can have performance issues. I don't want to block the end user while the agent is running. When you call an agent with runonserver does it block the xPage from continuing to process or will it run the agent independent of the xPage?

هل كانت مفيدة؟

المحلول

It does block. Use a thread for non blocking operation. There is also an OpenNTF project for that.

Once you are there: why an agent? You pay a performance penalty. Better use the new OpenNTF Domino API

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top