AnsweredAssumed Answered

Workflow and class management

Question asked by pedwards on May 31, 2013
Latest reply on Aug 11, 2016 by kandepiprudhvi

As it currently stands, the rest package and the explorer package are separate wars, each relying on the common database. This causes issues when adding workflows with custom java classes. The reason this is an issue is that the jar files have to be added to both the rest and explorers /WEB-INF/lib directories (yes I could add it to the tomcat lib, but that may cause me other issues, and am not keen to go down that path).

As far as I can see, a BAR file only allow me to package multiple bpmn files together, but not the java they rely on (my custom service classes). I realise that storing java in a database for loading into the respective jvms isn't really ideal, but I don't see another solution.

Do you guys have any thoughts on this or plans to make this easier? Being able to dynamically deploy bpmns with their custom code would be nice. Its a pain having to stop and start tomcat to add/remove extra jar files.

Please correct me if I've missed something.