- 浏览: 7249755 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (1546)
- 企业中间件 (236)
- 企业应用面临的问题 (236)
- 小布Oracle学习笔记汇总 (36)
- Spring 开发应用 (54)
- IBatis开发应用 (16)
- Oracle基础学习 (23)
- struts2.0 (41)
- JVM&ClassLoader&GC (16)
- JQuery的开发应用 (17)
- WebService的开发应用 (21)
- Java&Socket (44)
- 开源组件的应用 (254)
- 常用Javascript的开发应用 (28)
- J2EE开发技术指南 (163)
- EJB3开发应用 (11)
- GIS&Mobile&MAP (36)
- SWT-GEF-RCP (52)
- 算法&数据结构 (6)
- Apache开源组件研究 (62)
- Hibernate 学习应用 (57)
- java并发编程 (59)
- MySQL&Mongodb&MS/SQL (15)
- Oracle数据库实验室 (55)
- 搜索引擎的开发应用 (34)
- 软件工程师笔试经典 (14)
- 其他杂项 (10)
- AndroidPn& MQTT&C2DM&推技术 (29)
- ActiveMQ学习和研究 (38)
- Google技术应用开发和API分析 (11)
- flex的学习总结 (59)
- 项目中一点总结 (20)
- java疑惑 java面向对象编程 (28)
- Android 开发学习 (133)
- linux和UNIX的总结 (37)
- Titanium学习总结 (20)
- JQueryMobile学习总结 (34)
- Phonegap学习总结 (32)
- HTML5学习总结 (41)
- JeeCMS研究和理解分析 (9)
最新评论
-
lgh1992314:
[u][i][b][flash=200,200][url][i ...
看看mybatis 源代码 -
尼古拉斯.fwp:
图片根本就不出来好吧。。。。。。
Android文件图片上传的详细讲解(一)HTTP multipart/form-data 上传报文格式实现手机端上传 -
ln94223:
第一个应该用排它网关吧 怎么是并行网关, 并行网关是所有exe ...
工作流Activiti的学习总结(八)Activiti自动执行的应用 -
ZY199266:
获取不到任何消息信息,请问这是什么原因呢?
ActiveMQ 通过JMX监控Connection,Queue,Topic的信息 -
xiaoyao霄:
DestinationSourceMonitor 报错 应该导 ...
ActiveMQ 通过JMX监控Connection,Queue,Topic的信息
最近项目中使用工作流activiti,采用activiti-rest方式。下载将activiti学习过程总的总结作一下分享。希望大家拍砖。谢谢!
工作流activiti的下载地址:
http://activiti.org/download.html
工作流activiti的必须的软件
JDK5+,Ant1.81+,Eclipse3.6.2
JDK:查看版本 java –version
ANT:查看版本 ant –version
运行默认的Demo安装:
1.需要配置JAVA_HOME,ANT_HOME环境变量。
2.更新(C:\mash_activiti-5.6\setup)build.properties和build.{your-database}.properties属性文件参数。
3.运行ant命令(C:\mash_activiti-5.6\setup):ant demo.start
4.如果运行不报错的,activiti的demo部署成功了。
运行ant的目的官方描述如下:
This ant target will start a tomcat and a H2 database if you didn't change the default setings.(如果你再启动时候不更改相关的配置文件信息,ant将帮助你启动tomcat和H2数据库) The first time when the script is executed, it will also perform following installations: (第一次执行这个命令需要执行一下步骤)
· (*) Build the webapps. All libraries are stored in ${actviti.home}/setup/files/dependencies/libs The webapps without the libs are stored in ${actviti.home}/setup/files/webapps. Building the webapps means that webapps are combined with the necessary libraries in ${actviti.home}/setup/build/webapps (activiti的WebApp工具在 ${actviti.home}/setup/build/webapps )
· (*) Install the H2 in ${activiti.home}/apps/h2. This only happens if you're using h2 as your database. H2 is the default database.(H2的安装位置为 ${activiti.home}/apps/h2)
· Start the H2 database. Again, this is only done if using h2 as the database. If you're using a different database it is assumed that it is already up and running.(启动H2数据库)
· (*) Create the Activiti tables in the database(创建activiti相关的表结构)
· (*) Insert the demo users and groups in the Activiti identity tables (向activiti对象的数据库中插入默认的用户和用户组)
· (*) Deploy the example processes to the Activiti Engine DB(将实例demo中流程信息部署到activiti引擎对应的数据库)
· (*) Download Tomcat if not available in the ${downloads.dir}(如果在build.properties文件中downloads.dir下Tomcat不可用用或者不存在自动下载Tomcat)
· (*) Install Tomcat in ${activiti.home}/apps/apache-tomcat-${tomcat.version}(安装Tomcat)
· (*) Create an Activiti configuration jar (创建Activiti的配置文件activiti.cfg.xml等信息)
· (*) Deploy the REST interface webapp into tomcat(部署REST接口的webapp信息到tomcat中)
· (*) Download the Activiti Modeler webapp to ${activiti.home}/webapps. The license for the Activiti Modeler is MIT.(下载activiti-Modeler对象到目录)
· (*) Deploy the Probe, Explorer and Modeler webapps into tomcat.(部署activiti的相关的webapp tools)
· Start tomcat
(*) only performed the first time when running ant demo.start
After running this target H2 and Tomcat will be running in the background. To stop those processes run ant demo.stop.
The other targets in that build script can also be called individually and they will take the configurable properties into account. Run ant -p for more details.
讲述安装的目的:1.向拷贝依赖jar和activiti webapp工具文件信息
2.如果相应的目录(C:\mash_activiti-5.6\apps)中的tomcat和H2和tomant不可用的,则下载相关的软件。
3..向对应H2数据库中添加相关的数据。
4.启动tomcat和H2数据库服务。
默认demo用户信息:
Table 2.1. The demo users
UserId |
Password |
Security roles |
kermit |
kermit |
admin |
gonzo |
gonzo |
manager |
fozzie |
fozzie |
user |
部署成功之后我们可以访问的activiti提供的webapp工具如下:
Webapp Name |
URL |
Description |
|
Activiti Probe |
http://ip:8080/activiti-probe |
The admin management console. Use this tool to see if the configured process engine is correctly initialized, DB tables contents. |
|
Activiti Explorer |
http://ip:8080/activiti-explorer (用于查看流程和任务,以及流程详细信息和启动流程) |
The process engine user console. Use this tool to view your personal and candidate task lists and to complete tasks. |
|
Activiti Cycle |
The Activiti collabotation tool. Use this to browse repositories and execute transformations between model formats. |
|
|
Activiti Modeler powered by Signavio |
The web based process designer tool. Use this tool to graphically author BPMN 2.0 compliant process definitions files. |
|
|
Activiti KickStart |
Allows to specify processes quickly and efficiently in an adhoc way. Simple processes, quick prototypes and adhoc workflow are created in no time using KickStart. |
|
|
Activiti Administrator |
A webapp to administer the users and groups. Currently this is realized as a seperate app, but we plan to unify some of the webapps into a single webapp with authorization. |
|
Note that the Activiti demo setup is a way of showing the capabilities and functionality of Activiti as easy and as fast as possible. This does however, not mean that it is the only way of using Activiti. As Activiti is 'just a jar', it can be embedded in any Java environment: with swing or on a Tomcat, JBoss, WebSphere, etc. Or you could very well choose to run Activiti as a typical, standalone BPM server. If it is possible in Java, it is possible with Activiti!
在activiti的实例实例工程中。
activiti-engine-examples: This set of examples show the most common usage of Activiti: BPMN process definitions and process executions are stored in a DB and the examples make use of the persistent API.()
This project contains the eclipse project files, an ant build file and a maven pom file. The ant build file is independent of the maven pom. Both are there to show how you can use ant and maven respectively for building and deploying processes as part of your build.
activiti-spring-examples: These examples show how you can use the Activiti Engine in a Spring environment. (activiti和Spring的整合实例demo)
activiti-groovy-examples: These examples show the library dependencies for groovy and an example process with groovy scripting.
activiti-jpa-examples: These examples show library dependencies and how you can work with JPA in Activiti.
activiti-cxf-examples: These examples show library dependencies and how you can work with web services in Activiti.
activiti-cycle-examples: This is a project containing an demo example project for Activiti Cycle
activiti-modeler-examples: This is a file based model repository to which the Activiti Modeler is configured in the demo setup.
在activiti中Library依赖的包:
所有的lib文件都被放在setup/files/dependencies/libs,其中activiti-5.6\setup\files\dependencies中每一个文件包含了不同项目依赖的lib文件的名称集合。
· libs.engine.runtime.txt: The library runtime dependencies to run the Activiti Engine.
· libs.engine.runtime.test.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to run the tests
· libs.engine.runtime.feature.groovy.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to use the groovy scripting capabilities.
· libs.engine.runtime.txt: The libraries that need to be added to the ones in libs.engine.runtime.txt to use the JPA variable reference capabilities.
· libs.spring.runtime.txt: The library runtime dependencies to run the Activiti Engine in a Spring environment. (This list includes the libs in libs.engine.runtime.txt)
· libs.spring.runtime.test.txt: The libraries that need to be added to the ones in libs.spring.runtime.txt to run tests in a Spring environment (Spring和activiti整合需要的所有lib文件)
· libs.cycle.runtime.test.txt, libs.webapp.rest.txt and libs.webapp.ui.txt: The full list of libraries dependencies for the respective components cycle, the rest webapp and the UI webapps like Activiti Explorer, Activiti Probe and Activiti Cycle (activiti REST整合,activiti-explorer需要的所有lib文件)
发表评论
-
TestNG简单的学习(十三)TestNG中Junit的实现
2013-12-04 09:00 3285TestNG和junit的整合 ... -
TestNG简单的学习(十二)TestNG运行
2013-12-03 09:08 51442文档来自官方地址: ... -
TestNG简单的学习(十一)TestNG学习总结
2013-12-03 09:08 13992最近一直在学习关于TestNG方面的知识,根 ... -
TestNG简单的学习(十)TestNG @Listeners 的使用
2013-12-03 09:07 8622TestNG官方网站: http://testng.or ... -
TestNG简单的学习(九)TestNG Method Interceptors 的使用
2013-12-03 09:07 2652TestNG官方网站: http://testng ... -
TestNG简单的学习(八)TestNG Annotation Transformers 的使用
2013-12-03 09:07 2755TestNG官方网站: http://testng.or ... -
TestNG简单的学习(七)TestNG编程方式运行
2013-12-02 09:22 2395TestNG官方网站: http://testng.or ... -
TestNG简单的学习(六)测试工厂注释的使用
2013-12-02 09:22 2711TestNG官方网站: http://testng.or ... -
TestNG简单的学习(五)参数化测试数据的定制
2013-12-02 09:22 2639TestNG官方网站: http://testng.or ... -
TestNG简单的学习(四)测试方法通过名称名称依赖实现
2013-12-02 09:21 2030TestNG官方网站: http://testng.or ... -
TestNG简单的学习(三)测试方法通过测试分组依赖实现
2013-12-02 09:21 2763TestNG官方网站: http://testng.or ... -
TestNG简单的学习(二)参数化测试并发且多方法测试方法判定
2013-11-29 15:35 3633TestNG官方网站: http://testng.or ... -
TestNG简单的学习(一)类和方法级别@Test的区别
2013-11-29 15:31 9377TestNG官方文档的地址: http://testng ... -
Feed4Junit的简单使用(七)Feed4TestNg
2013-11-29 13:35 6078在Feed4Junit主要针对junit实现的 ... -
Feed4Junit的简单使用(六)数据来特定格式文件
2013-11-29 12:29 2686Feed4Junit官方地址: http://da ... -
Feed4Junit的简单使用(五)数据来自动态约束数据
2013-11-29 12:29 2560Feed4Junit官方地址: http://datab ... -
Feed4Junit的简单使用(四)数据来自定义数据源
2013-11-28 14:09 3038Feed4Junit官方地址: http://databe ... -
Feed4Junit的简单使用(三)数据源来自数据库
2013-11-28 13:58 3094Feed4Junit官方地址: http://databe ... -
Feed4Junit的简单使用(二)数据源来自文件
2013-11-28 13:50 4519Feed4Junit官方地址: http://datab ... -
Feed4Junit的简单使用(一)
2013-11-28 13:47 2156Feed4Junit官方地址: http://databe ...
相关推荐
包括:Activiti5的10分钟入门指南(转载);Activiti5学习笔记;Activiti5与SSH的整合笔记。
工作流activiti学习代码
个人对于activiti学习的总结笔记,包括:学习方法、引入的包、代码实现等
activiti工作流的 PPT 大致讲了一下activiti的常用API
activiti工作流文档,超详细,从0基础开始入门,包括数据库介绍、核心api等介绍,满足日常开发所需
工作流Activiti的学习总结Activiti5.6和Spring3.03整合
工作流引擎Activiti是开源的工作流引擎,这是一份简单的使用总结,希望对大家有用。
Activiti 工作流面试相关知识 RepositoryService、RuntimeService、TaskService、HistoryService分别表示什么操作
activiti 工作流23张表详细介绍activiti 工作流23张表详细介绍activiti 工作流23张表详细介绍activiti 工作流23张表详细介绍activiti 工作流23张表详细介绍activiti 工作流23张表详细介绍activiti 工作流23张表详细...
Activiti的工作流实战学习文件,学习Activiti的必备文件
Activiti工作流详细讲解完整教程.pdf
Activiti工作流课程Activiti工作流课程Activiti工作流课程Activiti工作流课程Activiti工作流课程Activiti工作流课程
Activiti工作流课程Activiti工作流课程Activiti工作流课程
工作流activiti实战项目源码,非常好的资源
工作流Activiti的学习总结(五) activiti的API和虚拟工作流测试.pdf
工作流Activiti的学习总结(五)activiti的API和虚拟工作流测试.pdf
Activiti 学习笔记14:工作流定义的角色组
开源工作流ACTIVITI使用手册,快速学习activiti.
实现流程,让任务能够按拟定的流程自动的驱动下去,不再需要我们实现流程的驱动,记录流程的流转情况等等,提供流程生命周期的管理功能,Activiti就是一种工作流引擎。 工作流平台: 如果每一个系统(项目)都有...