Embedding Activiti REST API in own webapp

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 10:57 AM
Hi all,
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 sourcecode is on github: https://github.com/mproch/activitiWebappSample
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.
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 sourcecode is on github: https://github.com/mproch/activitiWebappSample
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.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2011 01:27 PM
Maciek,
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…
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…

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2014 06:13 AM
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
Thanks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2014 01:50 PM
They are included in the rest war that is built in the distro.
Alternatively, you can build the module https://github.com/Activiti/Activiti/tree/master/modules/activiti-rest on itself (if the dependent modules have been built)
Alternatively, you can build the module https://github.com/Activiti/Activiti/tree/master/modules/activiti-rest on itself (if the dependent modules have been built)
