AnsweredAssumed Answered

Deploying delegate classes

Question asked by tombaeyens on Feb 18, 2011
Latest reply on Feb 18, 2011 by tombaeyens
Here's a new way of how we could deploy delegate classes to the engine.  This would solve the problem that delegate classes have to be deployed to every webapp that runs the ProcessEngine.

We could provide a method repositoryService.deployLibrary(InputStream).  This methods would store that library in the DB.   The classes in these libs would then become available to all processes in the whole engine. 

During ProcessEngine boot time, and as libraries or processes are deployed, the engine could keep a configurable directory in sync with the deployed libraries.   That way normal file classloading could be applied.  Although this file based classloading should be optional as in some environments it is not allowed.  And this solution would also work in a clustered setup.

Thoughts?

Outcomes