只显示主题贴
HttpSession的每一次使用都是第三层关系型数据库上的一个事务。事务是在HttpServletRequest.getSession()方法被调用时开始的。事务在 servlet 的service()方法结束时终止,或当在 WebSphere 中实现HttpSession的类上调用sync()方法时终止。
存储的压力多大. 内存数据库也许比较合适,相对来讲,数据的生命周期 绑定在session上,数据量不会很大,但是很频繁.
在线用户100万人/小时*1M =100M 当然也可以更小 100K 这个已经是cookies的25倍了
...
- 进入论坛 Java 版
11.11. The identity component
Management of users, groups and permissions is commonly known as identity management. jBPM includes an optional identity component that can be easily replaced by a company's own identity data store.
The jBPM identity management component includes k ...
- 进入论坛 Java 版
做事这前先打基础
搭好测试
MockServlet中 Spring + Acegi +Hibernate+ JBPM 集成测试 工程
里面自带两个测试样例
增加几个主要功能:
1.通过指定ORM目录和process目录自动发布流程
2.可以设置测试流程自动删除,尽量不污染数据库
有几个要点:
1.testcase 与testcase间,对象清除
2.存在多个session的分离
在Spring + Acegi +Hibernate+ JBPM 中,
sessionFacotry维护了一个session
JbpmContext 维护了一个session
3 ...
- 进入论坛 Java 版
一般情况:
部署processdefinition.xml文件,JBPM自动写入数据库
现在需要反向
ProcessDefinition processDefinition = graphSession
.findLatestProcessDefinition(processName);
根据ProcessDefinition 对象输出为processdefinition.xml
请教高人,有没有做过的朋友。
- 进入论坛 入门讨论 版
public void createSchema(String jbpmContextName) {
JbpmContext jbpmContext = createJbpmContext(jbpmContextName);
try {
Services services = jbpmContext.getServices();
DbPersistenceServiceFactory persistenceServiceFactory = (DbPersistenceServiceFactory) services.getServiceFactory(S ...
- 进入论坛 入门讨论 版
我的贴法:
大同小异,贴不上来就不贴。
请教下,JBPM支持,gourp查找任务嘛?
在实际的情况 ,如accountant,组是知道,但是用户actor确是需要分配在启动流程前分配。
&nbs ...
- 进入论坛 入门讨论 版
Container-managed entity manager
An Entity Manager whose lifecycle is managed by the container
Application-managed entity manager
An Entity Manager whose lifecycle is managed by the application.
JTA entity manager
Entity manager involved in a JTA transaction
Resource-local entity manager
...
- 进入论坛 入门讨论 版
spring集成测试,仅仅type类型的注入?
关键字:sring集成测试
spring test框架类图:
从spring test框架类图看出,AbstractTransactionalDataSourceSpringContextTests继承了多个Abstract类,其中关键的依赖注入抽象类是
AbstractDependencyInjectionSpringContextTests
API说明如下:
org.springframework.test
Class AbstractDependencyInjectionSpringContextTests
java.la ...
- 进入论坛 Java 版
one page one application!
调试与测试更方便,做到数据,样式,描述(展现),事件--->action--->逻辑,分离。
not :dojo.....object.innerHTML="<input>...</input>"
这使我想到了servlet的System.out.print("<html>") ;
not :<script> function test1(){}</sceript>
css: .table {
.......
}
one page one config :<Controls>
<Contr ...
- 进入论坛 AJAX 版







评论排行榜