AnsweredAssumed Answered

Making Commands Serializable?

Question asked by meyerd on Mar 26, 2011
Latest reply on Mar 28, 2011 by tombaeyens
Is it an oversight or by design that Commands are not Serializable?
Would it be possible to mark the service Commands (like org.activiti.engine.impl.cmd.StartProcessInstanceCmd<ProcessInstance>) Serializable?

Context: this would allow us to initialize the commands on a client and execute them remotely. This was possible with jbpm3 and used by the jbpm-enterprise module. I am currently experimenting with building a similar module for activiti (already works locally in jboss AS 6 ).

I would volunteer making these changes, if they are not vetoed by the core developers :)

Regards,
daniel

Outcomes