摘要: 1、Activiti学习笔记1 — 下载与开发环境的配置;2、Activiti学习笔记2 — HelloWorld;3、Activiti学习笔记3 — 流程定义;4、Activiti学习笔记4 — 流程实例化;5、Activiti学习笔记5 — 常用API解析;6、Activiti学习笔记6 — 变... 阅读全文
posted @ 2015-12-02 13:10 小个子猫 阅读(381) 评论(0) 推荐(0) 编辑
摘要: Java JDK:http://www.oracle.com/technetwork/java/javase/downloads/index.htmlTomcat:http://tomcat.apache.org/Eclipse:http://www.eclipse.org/downloads/Ma... 阅读全文
posted @ 2015-10-29 09:08 小个子猫 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 1、Maven的pom.xmlView Code2、配置文件2.1、db.propertiesView Code2.2、mybatis.xmlView Code2.3、log4j.xmlView Code3、MybatisUtil工具类View Code4、Mapper映射文件 1 2 3... 阅读全文
posted @ 2015-12-16 16:58 小个子猫 阅读(3831) 评论(0) 推荐(0) 编辑
摘要: Mybatis 使用Dao代码方式进行增、删、改、查和分页查询。1、Maven的pom.xmlView Code2、配置文件2.1、db.propertiesView Code2.2、mybatis.xml 1 2 5 6 7 8 9 10 11 12 ... 阅读全文
posted @ 2015-12-15 13:33 小个子猫 阅读(1093) 评论(0) 推荐(0) 编辑
摘要: Mybatis 使用Dao代码方式进行增、删、改、查。1、Maven的pom.xml 1 2 4.0.0 3 com.mcs 4 mybatis01 5 0.0.1-SNAPSHOT 6 7 8 9 1.810 ... 阅读全文
posted @ 2015-12-15 12:45 小个子猫 阅读(3054) 评论(0) 推荐(1) 编辑
摘要: 项目采用Maven构建,用Junit进行测试,数据库是Mysql,连接池是c3p0,未测试缓存部分1、Maven的“pom.xml”文件 1 2 4.0.0 3 com.mcs 4 mybatis04 5 0.0.1-SNAPSHOT 6 7 ... 阅读全文
posted @ 2015-12-14 17:35 小个子猫 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 1、创建一个Maven工程加载Shiro的jar包 1 2 3 junit 4 junit 5 4.12 6 test 7 8 9 ... 阅读全文
posted @ 2015-12-11 11:23 小个子猫 阅读(653) 评论(0) 推荐(0) 编辑
摘要: 1、引入Jar包,Mavenpom.xml 1 2 3 org.slf4j 4 jcl-over-slf4j 5 1.7.13 6 7 8 ... 阅读全文
posted @ 2015-12-11 10:31 小个子猫 阅读(358) 评论(0) 推荐(0) 编辑
摘要: SpringMVC +Spring Security,自定义登录页面登录验证学习参考:http://www.mkyong.com/spring-security/spring-security-form-login-example/使用的过滤器: 1、web.authentication.logo... 阅读全文
posted @ 2015-12-10 14:28 小个子猫 阅读(14265) 评论(0) 推荐(1) 编辑
摘要: 在学习http://www.mkyong.com/spring-security/spring-security-hello-world-example/时,出现以下错误: Property or field 'ROLE_USER' cannot be found on object of typ... 阅读全文
posted @ 2015-12-10 11:31 小个子猫 阅读(1795) 评论(0) 推荐(0) 编辑
摘要: 所需Jar包jackson-core、jackson-annotations和jackson-databind在MVC的配置文件中加入一、pom.xml 1 2 4.0.0 3 cn.mcs 4 springmvc02 5 0.0.1-SNAPSHOT ... 阅读全文
posted @ 2015-12-09 08:37 小个子猫 阅读(9115) 评论(0) 推荐(0) 编辑
摘要: 一、 创建流程 1 2 3 4 5 6 7 8 9 10 11 12 13 = 10000}]]>14 15 16 1000 && money 17 18 ... 阅读全文
posted @ 2015-12-02 14:43 小个子猫 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: 动态任务分配使用的两种方式一、通过特殊表达式,来获取任务信息 ,在流程 UserTask节点上设置 ${流程变量的Key}1、流程定义 1 2 3 4 5 6 7 8 9 10 11 12 13 ... 阅读全文
posted @ 2015-12-02 11:47 小个子猫 阅读(2235) 评论(0) 推荐(0) 编辑
摘要: 1、创建流程引擎对象private ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();2、发布一个流程 1 /** 2 * 2、发布一个流程 3 */ 4 @Test 5 ... 阅读全文
posted @ 2015-12-02 10:11 小个子猫 阅读(1808) 评论(0) 推荐(0) 编辑
摘要: 每一个UserTask都会在Execution表和Task表中各产生一条记录一、创建流程引擎对象 /** * 1、创建流程引擎对象 */ private ProcessEngine processEngine = ProcessEngines.getDefaultProce... 阅读全文
posted @ 2015-12-02 10:08 小个子猫 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 一、 创建流程规则,如下图二、发布流程 1 /** 2 * 2、发布一个流程 3 */ 4 @Test 5 public void testDeployProcess() { 6 RepositoryService repositoryServi... 阅读全文
posted @ 2015-12-01 17:41 小个子猫 阅读(3594) 评论(0) 推荐(0) 编辑
摘要: 一、 变量的使用1、创建流程引擎对象private ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();2、启动流程 1 /** 2 * 2、启动流程 3 */ 4 @Test 5 ... 阅读全文
posted @ 2015-12-01 16:30 小个子猫 阅读(5774) 评论(0) 推荐(0) 编辑
摘要: 常用API解析:一、ProcessEngineConfiguration 流程引擎配置对象(配置数据库连接4个大配置和建表策略)二、ProcessEngine 流程引擎核心对象(服务大管家)三、RepositoryService 仓库服务。管理规则相关的信息。四、RuntimeService 运行... 阅读全文
posted @ 2015-12-01 13:54 小个子猫 阅读(2449) 评论(0) 推荐(0) 编辑
摘要: 1、创建流程引擎对象 private ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();2、启动流程流程启动后会更新以下二张表:act_ru_execution和act_ru_task各产生一条记录1 // ... 阅读全文
posted @ 2015-12-01 13:54 小个子猫 阅读(1234) 评论(0) 推荐(0) 编辑
摘要: 一、创建流程引擎对象private ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();二、发布一个流程 1 /** 2 * 2、发布一个流程 会在三张表中产生数据 3 * ... 阅读全文
posted @ 2015-12-01 13:54 小个子猫 阅读(1386) 评论(0) 推荐(0) 编辑
摘要: 一、下载JDK下载URL:Tomcat下载URL:http://tomcat.apache.org/Eclipse下载URL:http://www.oracle.com/technetwork/java/javase/downloads/index.htmlMySql下载URL:http://dev... 阅读全文
posted @ 2015-12-01 13:39 小个子猫 阅读(1992) 评论(0) 推荐(0) 编辑