I noticed that there is a some confusion about using activiti in webapp together with REST API: http://jira.codehaus.org/browse/ACT-609 http://forums.activiti.org/en/viewtopic.php?f=6&t=1124 so I created simple maven project. It build webapp which - runs process engine and deploys process which uses some custom spring 'services' - exposes REST API using the same process engine.
The activiti-rest webapp is included in target webapp using maven plugins, so that source code is not much affected by this - only web.xml contains some REST API specific parts. Hope it'll help if someone wants to do similar thing.
Thats a clean webapp-skeleton you created there, thanks!
It's indeed not very clear/straight forward now how to expose the engine-rest API in your own webapp. We're planning on looking into this further in the coming releases…
In the source code I see that we have to build Activiti from source because activiti-webapp-rest-classes is not included in distro but after compilation, I don't find where are those classes ! Can you give me the exact location and name ? Thanks