AnsweredAssumed Answered

Deploy Implementations for ServiceTasks on JBoss Separately

Question asked by marcuss on Nov 13, 2014
Latest reply on Nov 13, 2014 by martin.grofcik

I am quite new to Activiti and JavaEE and I wonder: How to properly deploy Implementations of ServiceTasks in JBoss?

I am using activiti-rest.war on a JBoss Wildfly and I upload processes using REST. Now, sometimes it happens that I create a process and write an implementation that should be called. How would I deploy that implementation without having to redeploy the WAR archive?

What I tried: making a module that contains my classes as JAR files but sinde they extend JavaDelegate, the local classloader cannot resole that dependency. If I could make JBoss use the parent classloader, that would be too easy but that is aparently not how classloaders in JBoss are meant to work ;)
What I could probably do: try making a module of Activiti and deploy that while depending on it but I did not realy want to make a copy of Activiti and fiddle around every time I update Activiti.

So: how to dynamically reploy implementations at runtime without updating the WAR archive?

Hope someone has an idea/solution for this case.

Kind regards,