AnsweredAssumed Answered

Does Activiti really need spring?

Question asked by johnament1 on Apr 2, 2014
Latest reply on Apr 3, 2014 by martin.grofcik
So, this is more design level than anything else.  My application today makes heavy use of CDI.  It seems like Activiti comes bundled with Spring.  Based on this note, I was surprised to see it as a hard requirement.

Note that the configuration XML is in fact a Spring configuration. This does not mean that Activiti can only be used in a Spring environment! We are simply leveraging the parsing and dependency injection capabilities of Spring internally for building up the engine.

So, is it possible for me to exclude Spring from my application, assuming that I bootstrap Activiti manually using something like this:

ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()