Something that's really hard to deal with is the untyped CommandService
interface. It's not obvious what gets returned, there's a lot of casting
involved and sometimes the result is ambiguous.
Bernd, what do you think about a typed interface opposed to
'public Object execute(Command command)' ?
Could you picture a more fine grained interface? I think it would make
it much easier to read and understand. Furthermore it would help to
distinguish different API versions of the command facade, when JBPM
evolves. You know we could deprecate and extend much easier.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125009#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...