You can share modules across database by assigning all app-servers to share
same modules database. Consider the following folder structure:
/global-modules/
/app-1
/app-2
/app-3
If you assign your app-servers to "/" then all apps can share global as
well as any other app code.
Now maintenance
gt;>
Date: Thursday, November 17, 2016 at 9:12 AM
To: "general@developer.marklogic.com<mailto:general@developer.marklogic.com>"
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Subject: [MarkLogic Dev General] Sharing Modules
Is there any
Is there any recommended way of sharing module / functionality implementations
across different DB on same ML server.
For example you could have a XQY code that does custom string
conversion/manipulation or a map of constants/literals. How can this be shared ?
Yogesh Jangam
CREDIT SUISSE