cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for code from the Vacation demo

yangyang_qian
Champ in-the-making
Champ in-the-making
We're trying to see how the Activiti engine might be used in a web app. So, we're very interested in looking at the code behind the Vacation request demo (the actual web app's code, not just the process definition). We've tried importing the various WAR and BAR files, but haven't been successful in finding the code … I can't help but think we've missed some obvious place to check … so far we've tried

…\activiti-5.0\workspace\activiti-engine-examples\target\activiti-engine-examples.bar     (bar file)
…\activiti\activiti-5.0\apps\apache-tomcat-6.0.29\webapps\docs\appdev\sample\sample.war     (war file)
…\activiti\activiti-5.0\setup\files\webapps\activiti-explorer.war\     (folder)
…\activiti\activiti-5.0\setup\build\webapps\activiti-explorer.war\     (folder)

we've seen a lot of process definition xmls and javascript files … but no .java files or .war or .ear packages.

We also thought

…\activiti\activiti-5.0\workspace\activiti-engine-examples\src\test\java\org\activiti\examples\taskforms\TaskFormsTest.java     (java sample code)

might have been the demo code, but that's just a unit test right? Where is the code for the web app + rest of the engine in the Vacation web example?

Thanks!
2 REPLIES 2

limcheekin
Champ on-the-rise
Champ on-the-rise
Hi there,

You can get the full source code of Vacation Request webapp of Grails at http://code.google.com/p/grails-activiti-plugin/wiki/VacationRequestSampleApplication

Regards,
Chee Kin

jbarrez
Star Contributor
Star Contributor
All the examples use Activiti explorer, which is our webapp. It uses the Activiti REST APi behind the cover.

The Grails pointer above is indeed a (very) good example of how to use Activiti inside a regular web app.