paulwong

#

Intalio BPM

私有云平台厂商Intalio,发布管理的业务 流程集成平台Intalio BPM的6.0。新版本包括一个业务规则引擎,文件引擎和Intalio用户界面引擎。BPM6.0的组件本身实在虚拟化基础设施架构顶部上进行部署,如 VMware的vShere或Microsoft Hyper。早期的Intalio BPM的6.0使用者包括厄瓜多尔Internal Revenue Service。Intalio|BPM免费社区版本可以从其公司的网站下载。

http://www.intalio.com


http://www.intalio.org/confluence/display/TEMPO/Home


http://bpms.intalio.com/tutorials-5.2/implementing-your-first-process-in-5.2-beginner.html


http://bpms.intalio.com/tutorials-6.0/creating-forms-to-support-people-activities-with-the-form-editor-intermediate.html


http://bpms.intalio.com/tutorials-5.2/designing-processes-with-people-activities-with-intalio-bpms-5.2-intermediate.html


http://bpms.intalio.com/tutorials-5.2/deploying-forms-and-process-with-people-activity-with-intalio-bpms-5.2-intermediate.html


http://bpms.intalio.com/samples-6.0/people-activity-5.2.html


单元测试
http://tempo.intalio.org/tempo/trunk/tms-client/src/test/java/org/intalio/tempo/workflow/tms/client/dependent_tests/RemoteAbsenceRequestTest.java

posted @ 2013-06-14 09:55 paulwong 阅读(482) | 评论 (0)编辑 收藏

S2SH链接不关闭

一套S2SH的应用,现用单线程,连续发1000个请求,用的DBCP链接池,结果报数据库链接不够用:

ERROR [org.hibernate.util.JDBCExceptionReporter] - Cannot get a connection, pool error Timeout waiting for idle object

在JAVA加上LOG:
log.info("active: " + dataSource.getNumActive() + " (max: "
                + dataSource.getMaxActive() + ")   " + "idle: " + dataSource.getNumIdle()
                + "(max: " + dataSource.getMaxIdle() + ")");

结果显示为:
active: 25 (max: 100)   idle: 0(max: 30)

active的数量一直增加,但idle的数量一直为0。当程序向链接池要链接的时候,如果池没有,就会新建一个,active数就会加1,关闭链接后,链接会返回池,idle数加1。idle为0则表示池里没有链接。

这样说明链接一直在创建,没有关闭放回池里。但链接是由SPRING和HIBERNATE管理的,代码中没有关闭链接的语句。之后试了N多配置,都还没解决,如增加maxActive数等。最后,加上这一行,问题才终于解决:

<prop key="hibernate.connection.release_mode">after_transaction</prop>

这里默认值是auto,如果是用JTA事务才适用,如果是JDBC事务,就只能用after_transaction。

这样每次事务结束后,就会关闭链接返回链接池。

posted @ 2013-06-07 15:09 paulwong 阅读(442) | 评论 (0)编辑 收藏

CAMUNDA工作流引擎

CAMUNDA工作流引擎是一套可以支持,自定义表单,提供WEB界面来跑流程,监控流程有多少个实例的WEB应用工具。

  1. 定义流程和表单
    使用ECLIPSE的插件来定义流程,表单可以自己画好HTML,再接入到节点中


  2. 部署流程
    生成WAR部署到TOMCAT服务器即可,如要再次对流程进行修改,再次生成WAR再次部署即可。


  3. 跑流程
    访问http://localhost:9090/tasklist即可


  4. 监控流程
    访问http://localhost:9090/cockpit即可,实际只是可以查看有多少流程定义和多少个流程实例在跑


安装手册:
http://docs.camunda.org/guides/installation-guide/

快速上手:
http://www.camunda.org/get-started/developing-process-applications.html

CAMUNDA+MULA
https://app.camunda.com/confluence/display/foxUserGuide/Bank+Account+Opening

posted @ 2013-06-03 16:47 paulwong 阅读(2755) | 评论 (0)编辑 收藏

GOOGLEREADER替代品

https://www.inoreader.com

posted @ 2013-06-02 20:33 paulwong 阅读(240) | 评论 (0)编辑 收藏

(转)个人总结:京东技术体系员工级别划分及薪资区间

管理层级
序列层级职衔对应T序薪资区间(技术)
M5CXO————
M5VP————
M4-3高级总监————
M4-2总监T540-50k
M4-1副总监T535-45k
M3高级经理T4-230-40k
M2-2经理T4-125-35k
M2-1副经理T3-220-30k
M1主管T3-115-25k

 

技术层级
序列层级职衔对应M序薪资区间(技术)
T5-3专家3总监/副总监35-50k
T5-2专家2总监/副总监35-50k
T5-1专家1总监/副总监35-50k
T4-2资深2高级经理30-40k
T4-1资深1经理25-35k
T3-2高级2副经理20-30k
T3-1高级1主管15-25k
T2-2中级2——10-20K
T2-1中级1——5-15K
T1-2初级2——5-10K
T1-1初级1——0-8k

posted @ 2013-05-26 14:41 paulwong 阅读(52700) | 评论 (1)编辑 收藏

IOS开发资源

【原创】iOS开发入门教程
http://my.oschina.net/mailzwj/blog/133273

posted @ 2013-05-26 13:26 paulwong 阅读(306) | 评论 (0)编辑 收藏

ANDROID APP 与 WEB APP的比较

ANDROID APP 与 WEB APP有相似之处,都是需要在容器内运行,都可以对事件进行响应。

WEB APP的核心组件是SERVLET,这是对游览器事件进行响应的一个类,事件有GET/POST等事件,不同的URL对应不同的SERVLET。
如果要输出不同的内容,则输出不同的HTML即可。
WEB APP的配置文件是WEB.XML,当容器启动时,会从这读取有多少个SERVLET。当浏览器发过来不同的URL请求时,会从中选择相应的SERVLET执行。

ANDROID APP的核心组件是ACTIVITY,这是一个对系统事件进行响应的一个类,事件有启动事件,菜单点击事件等,点击不同的地方对应不同的ACTIVITY。
如果要输出不同的内容,则输出不同的VIEW即可。
ANDROID APP的配置文件是MAINFRE.XML,当应用被部署到系统时,系统会从这读取有多少个ACTIVITY。当不同的事件发生时,系统会会从中选择相应的ACTIVITY执行。

posted @ 2013-05-26 00:59 paulwong 阅读(413) | 评论 (0)编辑 收藏

Architecture Representation

The architecture representation will basically adopt the 4 + 1 View Model as 
recommended, to organize the architectural description from different perspectives, each 
of which addresses a specific set of concerns: 
• Requirement View – describes the software requirements, functional and 
non-functional, illustrated by significant use cases and scenarios. 

• Logical View – describes the object model of the design, the system 
decomposition into layers and subsystems, and the dependencies between them. 

• Process View – describes the concurrency and synchronization aspects of the 
design. 

• Implementation View – describes the software’s static organization in the 
development environment. 

• Deployment View – describes the mapping of the software onto hardware. 

• Data View – describes the database design for the software. 

It allows various stakeholders to find what they need in the software architecture. System 
engineers can approach it from the logical view, process view and deployment view. DBA 
can approach it from the data view. Project managers and software configuration 
managers can approach it from the development view.


Demo:
  • CUHK RFID - White Paper 

  • Middleware Quick Start Guide 

  • Tag Capturer Quick Start Guide 

  • Middleware System Design Document 

  • Tag Capturer System Design Document 

  • Middleware Test Cases 

  • Middleware Test Plan 

  • Middleware Source Code 

posted @ 2013-05-21 11:02 paulwong 阅读(233) | 评论 (0)编辑 收藏

MINA资源

socket 通信
http://yaojialing.iteye.com/category/115609

使用 Apache MINA 2 开发网络应用
http://www.ibm.com/developerworks/cn/java/j-lo-mina2/

直接操作mina的IoBuffer流
http://autumnice.blog.163.com/blog/static/555200201011493410310/

pache mina 学习(十一)-----状态机(stateMachine)
http://cages.iteye.com/blog/1530849

运用 Apache MINA 2 开发网络运用 [多图]
http://www.lj8lj8.com/chengxukaifa/Java/338853_13.html


posted @ 2013-05-14 17:41 paulwong 阅读(334) | 评论 (0)编辑 收藏

Oracle数据库备份与还原命令[转]

数据导出:

1 将数据库TEST完全导出,用户名system 密码manager 导出到D:\daochu.dmp中

exp system/manager@TEST file=d:\daochu.dmp full=y

2 将数据库中system用户与sys用户的表导出

exp system/manager@TEST file=d:\daochu.dmp owner=(system,sys)

3 将数据库中的表table1 、table2导出

exp system/manager@TEST file=d:\daochu.dmp tables=(table1,table2)

4 将数据库中的表table1中的字段filed1以"00"打头的数据导出

exp system/manager@TEST file=d:\daochu.dmp tables=(table1)query=\" where filed1 like '00%'\"

上面是常用的导出,对于压缩我不太在意,用winzip把dmp文件可以很好的压缩。

不过在上面命令后面 加上 compress=y 就可以了

数据的导入

1 将D:\daochu.dmp 中的数据导入 TEST数据库中。

imp system/manager@TEST file=d:\daochu.dmp

上面可能有点问题,因为有的表已经存在,然后它就报错,对该表就不进行导入。

在后面加上 ignore=y 就可以了。

2 将d:\daochu.dmp中的表table1 导入

imp system/manager@TEST file=d:\daochu.dmp tables=(table1)

基本上上面的导入导出够用了。不少情况我是将表彻底删除,然后导入。

注意:

你要有足够的权限,权限不够它会提示你。

数据库时可以连上的。可以用tnsping TEST 来获得数据库TEST能否连上

附录一:
给用户增加导入数据权限的操作
第一,启动sql*puls
第二,以system/manager登陆
第三,create user 用户名 IDENTIFIED BY 密码 (如果已经创建过用户,这步可以省略)
第四,GRANT CREATE USER,DROP USER,ALTER USER ,CREATE ANY VIEW ,
DROP ANY VIEW,EXP_FULL_DATABASE,IMP_FULL_DATABASE,
DBA,CONNECT,RESOURCE,CREATE SESSION TO 用户名字
第五, 运行-cmd-进入dmp文件所在的目录,
imp userid=system/manager full=y file=*.dmp
或者 imp userid=system/manager full=y file=filename.dmp



安装oracle9I
Szportdb\szportdb\szportdb
用sysdba 登录建立用户:szportdb 表空间可以自己设定,也可以Users
倒入数据库。

Imp szportdb/szportdb@szportdb full=y C:\szportdb.dmp ignore=

posted @ 2013-05-12 15:07 paulwong 阅读(1827) | 评论 (0)编辑 收藏

仅列出标题
共119页: First 上一页 69 70 71 72 73 74 75 76 77 下一页 Last