cancel
Showing results for 
Search instead for 
Did you mean: 

Making Commands Serializable?

meyerd
Champ on-the-rise
Champ on-the-rise
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 Smiley Happy

Regards,
daniel
2 REPLIES 2

bernd_ruecker
Champ in-the-making
Champ in-the-making
Hi Daniel.

From my side: Go ahead. It was Serializable in jBPM as well, so I think there shouldn't be any show stopper.

But maybe Tom can comment on this?

Cheers
Bernd

tombaeyens
Champ in-the-making
Champ in-the-making
go ahead.   making it serializable is ok.