Activiti: Difference between revisions

From Wiki RB4
Line 5: Line 5:
* extract activiti-5.0.zip to C:\Uwes\java\activiti\5.0\
* extract activiti-5.0.zip to C:\Uwes\java\activiti\5.0\
* than see [[#Users_Guide|user guide installation]]
* than see [[#Users_Guide|user guide installation]]
* <code>C:\Uwes\java\activiti\5.0\ant</code> starts h2-DB on port 9092 and tomcat on port


===Eclipse Plug-In===
===Eclipse Plug-In===
* as decribed in [[#Documentation|Documentation]] to local [[EONISLaptop#Installation|Helios eclipse version]]
* as decribed in [[#Documentation|Documentation]] to local [[EONISLaptop#Installation|Helios eclipse version]]
==Running Activiti==
<code>C:\Uwes\java\activiti\5.0\ant</code> starts h2-DB on port 9092 and tomcat on port. Other targets are '''tomcat.start''', '''tomcat.stop''', '''h2.start''', '''h2.stop''', '''db.drop''' , '''db.create'''.


==Documentation==
==Documentation==

Revision as of 23:43, 27 December 2010

Introduction

The Activiti has a clear origin in the jBPM project of JBoss. The former lead developers of jBPM, Tom Baeyens and Joram Barrez, created a vibrant community around this process engine and they created a process virtual machine sub-project that enabled jBPM to be used for multiple process languages. At that point in time Alfresco was using jBPM in their document management system for the implementation of foremost workflow related functionality. But they were looking for a process engine with a more liberal open source license. ventually Alfresco decided to create a liberal Apache licensed open source process engine themselves and contacted Tom and Joram. Activiti was born! The Activiti project started off at a very fast pace and succeeded to do a monthly release of the tool stack until the stable 5.0 release in December 2010.

Installation

Eclipse Plug-In

Running Activiti

C:\Uwes\java\activiti\5.0\ant starts h2-DB on port 9092 and tomcat on port. Other targets are tomcat.start, tomcat.stop, h2.start, h2.stop, db.drop , db.create.

Documentation

Architecture

see sheet Activiti

  • Eplorer: work item list
  • Probe: admin area
  • Cycle: business it alignment
  • Modeler: modeling tool
  • Designer: eclipse plugin modeling tool, started and maintained by Tijs Rademakers, Tiese Barrell, Ron van Liempd and Yvo Swillens.

Initial Tests

Users Guide

  • C:\Uwes\java\Activiti\5.0\setup\ant demo.start
  • hangs because tomcat port is already in use
  • change tomcat port in C:\Uwes\java\Activiti\5.0\apps\apache-tomcat-6.0.29\conf\server.xml from 8080 to 8099
  • replace all occurences of 8080 to 8099 in C:\Uwes\java\Activiti\5.0\setup\build.xml
  • set CATALINA_HOME to C:\Uwes\java\Activiti\5.0\apps\apache-tomcat-6.0.29\
  • import the example projects from C:\Uwes\java\Activiti\5.0\workspace into eclipse

Eclipse based Tutorial

Pizza Tutorial

Blog

Didn't work because of missing class.

  • C:\Uwes\java\Activiti\5.0\setup\ant h2.install h2.start
  • C:\Uwes\java\Activiti\5.0\setup\ant db.create
  • C:\Uwes\java\Activiti\5.0\apps\h2\java -cp h2*.jar org.h2.tools.Server -web
  • start URL http://localhost:8082 with JDBC URL 'jdbc:h2:tcp://localhost/activiti'
  • New Java project 'ActivitiTest1' with eclipse und external jars in 'C:\Uwes\java\Activiti\5.0\setup\files\dependencies\libs\*'
  • C:\Uwes\java\Activiti\5.0\setup\ant cfg.create
  • add external jar C:\Uwes\java\Activiti\5.0\setup\build\activiti-cfg.jar to project

Configuration