工作流Activiti的学习总结(二)activiti中ProcessEngine的创建和数据库表命名规则
? .buildProcessEngine();
?
this is a convience class for unit testing purposes. Activiti will take care of the transactions. An H2 in-memory database is used by default. The database will be created and dropped when the engine boots and shuts down. When using this, probably no additional configuration is needed (except when using for example the job executor or mail capabilities). ( 测试环境中使用)
?
org.activiti.spring.SpringProcessEngineConfiguration:
? To be used when the process engine is used in a Spring environment. See the Spring integration section for more information. (Spring环境中使用)
?
org.activiti.engine.impl.cfg.JtaProcessEngineConfiguration:
???? ([EXPERIMENTAL]) to be used when the engine runs in standalone mode, with JTA transactions.(JPA环境中使用)