We want to allow several teams (Platform Verticals) to create various Domain Specific tasks for jBPM and provide us those. The problem in doing that is all these Domain Specific Tasks could need classpath dependencies which could have conflicts.
We want to find a way where Domain Specific Tasks runs in a sandbox environment so as not to interfere with other ones. We are experimenting with JBoss Modules for these as we speak.
What is the recommended way to ensure Domain Specific Tasks can run in say Sandbox classloaders so that different teams don't have to worry about what all jars their domain specific tasks depends on against what conflicts other domain specific task's dependency might create?