For people who experience speed issues with Xapplication

Unfortunately, Software AG stopped giving support for Xapplication. However it does not change the fact that some of us are still using it for old applications.
I am only asking Software AG to not remove this thread because its about Xapplication 4.1.1 speed issue.

We had problems updating a document with Xapplication 4.1.1. The time it took for one document to be updated reached 15 seconds, sometimes minutes. We narrowed the problem and found out that in Xapplication where TaminoStore class is there was a misuse for document update. TaminoStoreV4 tries to update a document by Xquery. If you subsitute the function which updates the document with X-Query call then everything works fast. Please look TaminoStoreV3 class for using X-Query.