??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品ww人人做人人爽,国产高清自拍视频在线观看,四虎亚洲精品http://www.aygfsteel.com/tantanxiaoshi/-I am not alonezh-cnSun, 06 Jul 2025 17:22:13 GMTSun, 06 Jul 2025 17:22:13 GMT60- 十四周安?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/22/350751.html矛_路口矛_路口Sun, 22 May 2011 01:58:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/22/350751.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/350751.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/22/350751.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/350751.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/350751.html 交接?jin)下手头的工作,l于可以一?j)做毕业设计了(jin)。离毕业{辩的时间很q了(jin)Q毕业论文的初稿q没有着手,实有些慌。在q规划下接下来的旉Q整理下工作d?br />
5?3日:(x)完成pȝ的基本功能?br />5?4?29日:(x)完成毕业设计论文最l版?br />5?0?{辩Q调试程序ƈ优化?/p>
]]> - W十一周安?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/09/349810.html矛_路口矛_路口Mon, 09 May 2011 01:11:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/09/349810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/349810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/09/349810.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/349810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/349810.html
]]> - 学习(fn)大杂?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/05/349543.html矛_路口矛_路口Wed, 04 May 2011 16:27:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/05/349543.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/349543.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/05/05/349543.html#Feedback3http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/349543.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/349543.html 因ؓ(f)最q公司对目q行?jin)重构,所以又学习(fn)?jin)一下新的系l体pR这两天学习(fn)的知识又杂又多,需要好好的整理一下。大致内Ҏ(gu)mavenQ日志,~存技术,注解Q单元测试。maven对于目理来说Q非常简单易用,而且功能相对强大。用log4j来实C同别的日志存储或打华ͼ能更有选择的保存你惌的日志。Xmemcache作ؓ(f)分布式缓存系l,可以很有效的提高pȝ的效率。jdk1.5以后多出来的注解实方便而且灉|不少Q很多开发h员都?x)用junit来ؓ(f)自己的代码做更高层的保障?br />
工作系l完成就较少?jin),把工作流定义文g部vx据库Q主要思\是使用插gd囑ŞQ把生成的三个文件打成zip包,然后通过面上提供的上传接口Q把zip包上传,pȝ把它部v到数据库中?/p>

]]> - 手动发布程定义Qjbpm3Q?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/27/349129.html矛_路口矛_路口Wed, 27 Apr 2011 09:19:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/27/349129.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/349129.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/27/349129.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/349129.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/349129.html
1. Z个包cn.edu.ujn.wsjx.test.process以及(qing)cn.edu.ujn.wsjx.test.service
2. 在service包中新徏试基类BaseServiceTest.java
1
package cn.edu.ujn.wsjx.test.service;
2
3
import org.springframework.context.ApplicationContext;
4
import org.springframework.context.support.ClassPathXmlApplicationContext;
5
6
import junit.framework.TestCase;
7
8
public class BaseServiceTest extends TestCase
9

{
10
protected ApplicationContext context;
11
12
public ApplicationContext getApplicationContext()
13
{
14
return context;
15
}
16
17
@Override
18
protected void setUp() throws Exception
19
{
20
// TODO Auto-generated method stub
21
super.setUp();
22
23
context = new ClassPathXmlApplicationContext(new String[]
24
{ "spring/applicationContext.xml", "spring/applicationContext-jbpm.xml",
25
"spring/applicationContext-shi.xml", "spring/applicationContext-wu.xml",
26
"spring/applicationContext-zhou.xml", "spring/daoContext.xml" });
27
}
28
}
29
3. 在包process中新建类ProcessDeployTestl承上面的类
package cn.edu.ujn.wsjx.test.process;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.zip.ZipInputStream;

import org.jbpm.JbpmConfiguration;
import org.jbpm.JbpmContext;
import org.jbpm.graph.def.ProcessDefinition;

import cn.edu.ujn.wsjx.test.service.BaseServiceTest;

public class ProcessDeployTest extends BaseServiceTest


{
public void testAddProcessDefinition()

{
JbpmConfiguration jbpmConfiguration = (JbpmConfiguration)context.getBean("jbpmConfiguration");
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
try

{
File file = new File("E:/work/work.zip");
FileInputStream fis = new FileInputStream(file);
ZipInputStream zip = new ZipInputStream(fis);
ProcessDefinition processDefinition = ProcessDefinition.parseParZipInputStream(zip);
jbpmContext.deployProcessDefinition(processDefinition);
}catch(FileNotFoundException e)

{
e.printStackTrace();
}finally

{
jbpmContext.close();
}
}
public void testDestroyProcess()

{
JbpmConfiguration jbpmConfiguration = (JbpmConfiguration)context.getBean("jbpmConfiguration");
JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
jbpmContext.getGraphSession().deleteProcessDefinition(1);
jbpmContext.close();
}
}

说明QtestAddProcessDefinition()是发布流E定义的zip包到数据库中QtestDestroyProcess()是通过数据库中存储的流Eid删除相应的流E?

]]> - 把jbpm3整合qssh?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/26/349005.html矛_路口矛_路口Tue, 26 Apr 2011 03:30:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/26/349005.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/349005.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/26/349005.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/349005.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/349005.html1. 环境Qjbpm3.2.3+struts2+spring3+hibernate 工具Qmyeclipse6.5
2. 环境和工具都准备好,开始新建数据库Q前面jbpm3数据库表的创Z解释有说?
3. 使用spring配置数据源,applicationContext.xml 阅读全文
]]> - 4?2?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/22/348810.html矛_路口矛_路口Fri, 22 Apr 2011 08:09:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/22/348810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/348810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/22/348810.html#Feedback1http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/348810.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/348810.html
2. 关于由hibernate自动生成表结构的配置Q在applicationContext.xml中)(j)
hibernate.hbm2ddl.auto有以下四U配|参敎ͼ(x)
validate:加蝲hibernateӞ验证创徏数据库表l构
create:每次加蝲hibernateQ重新创建数据库表结构,q就是导致数据库表数据丢q原因
create-drop:加蝲hibernate时创建,退出是删除表结?br />
update:加蝲hibernate自动更新数据库结?br />
所以,在创的时候,完全可以考虑自动生成QcreateQ或者不使用外键Qupdate时生)(j)

]]> - 把jbpm-jpdl-3.2.3中的实例部v到tomcat?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/20/348667.html矛_路口矛_路口Wed, 20 Apr 2011 15:45:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/20/348667.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/348667.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/20/348667.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/348667.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/348667.htmlSTEP 1Q初始化数据?/span>
上一文章中有jbpm的数据库初始化,可参?a href="http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.html">http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.html
STEP 2Q准备发布包
在E:\Java\tools\jbpm-jpdl-3.2.2\deploy 文g夹下 q行ant customize.console.for.tomcat。执行命令后?x)?E:\Java\tools\jbpm-jpdl-3.2.2\deploy\customized文g夹下生成一个jbpm-console.war 文gQ用WinRaR解压开Qƈ复制到已安装Tomcat的webapps目录下,jbpmq需三个依赖cdQ分别是commons-collections.jar、ehcache-1.2.3.jar、jta.jarQ当然还有个MySQL驱动mysql-connector-java-5.0.7-bin.jarQ添加这些jar文g ?\$CATALINA_HOME\webapps\jbpm-console\WEB-INF\lib目录下?br />
STEP 3Q修改Hibernate数据库配|文?br />
修改\$CATALINA_HOME\webapps\jbpm-console\WEB-INF\classes下hibernate.cfg.xml文g。这是Hibernate的数据库配置文gQ要做一些修改,原来内容如下Q?/span>
<!-- hibernate dialect -->

<property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>

<!-- JDBC connection properties (begin) ===

<property name="hibernate.connection.driver_class">

org.hsqldb.jdbcDriver</property>

<property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm</property>

<property name="hibernate.connection.username">sa</property>

<property name="hibernate.connection.password"></property>

==== JDBC connection properties (end) -->

<property name="hibernate.cache.provider_class">

org.hibernate.cache.HashtableCacheProvider</property>

<!-- DataSource properties (begin) -->

<property name="hibernate.connection.datasource">java:/JbpmDS</property>

<!-- DataSource properties (end) -->
修改后如下:(x)
<!-- hibernate dialect -->

<property name="hibernate.dialect">

org.hibernate.dialect.MySQLInnoDBDialect</property>

<property name="hibernate.connection.driver_class">

com.mysql.jdbc.Driver</property>

<property name="hibernate.connection.url">

jdbc:mysql://localhost:3306/jbpm</property>

<property name="hibernate.connection.username">root</property>

<property name="hibernate.connection.password">root</property>

<property name="hibernate.cache.provider_class">

org.hibernate.cache.HashtableCacheProvider</property>
STEP 4Q设|Tomcat安全?br />
因ؓ(f)使用?jin)tomcat6Q所以采用以下方法:(x)直接修改 /$CATALINA_HOME/conf/tomcat-users.xml文g来设|安全域。ؓ(f)?jin)不和tomcat已有的用户冲H?q里?tomcat以前的登陆帐号username="admin" 修改为username="tadmin"Q修改后的文件如下:(x)
<?xml version='1.0' encoding='utf-8'?>

<tomcat-users>

<role rolename="user"/>

<role rolename="administrator"/>

<role rolename="manager"/>

<role rolename="sales"/>

<role rolename="hr"/>

<role rolename="admin"/>

<role rolename="participant"/>

<user username="user" password="user" roles="user,sales"/>

<user username="shipper" password="shipper" roles="user,hr"/>

<user username="manager" password="manager" roles="admin,hr,manager,user,sales"/>

<user username="tadmin" password="" roles="admin,manager"/>
<user username="admin" password="admin" roles="admin,user,hr"/>
</tomcat-users>
STEP 5Q初始化基础的用h?/strong>
在MySQL数据库中执行以下SQL语句Q进行初始化用户信息Q如下:(x)
INSERT INTO JBPM_ID_GROUP VALUES(1,'G','sales','organisation',NULL);

INSERT INTO JBPM_ID_GROUP VALUES(2,'G','admin','security-role',NULL);

INSERT INTO JBPM_ID_GROUP VALUES(3,'G','user','security-role',NULL);

INSERT INTO JBPM_ID_GROUP VALUES(4,'G','hr','organisation',NULL);

INSERT INTO JBPM_ID_GROUP VALUES(5,'G','manager','security-role',NULL);

INSERT INTO JBPM_ID_USER VALUES(1,'U','user','user@sample.domain','user');

INSERT INTO JBPM_ID_USER VALUES(2,'U','manager','manager@sample.domain','manager');

INSERT INTO JBPM_ID_USER VALUES(3,'U','admin','admin@sample.domain','admin');

INSERT INTO JBPM_ID_USER VALUES(4,'U','shipper','shipper@sample.domain','shipper');

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(1,'M',NULL,NULL,2,4);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(2,'M',NULL,NULL,3,4);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(3,'M',NULL,NULL,4,4);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(4,'M',NULL,NULL,4,3);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(5,'M',NULL,NULL,1,3);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(6,'M',NULL,NULL,2,3);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(7,'M',NULL,NULL,3,3);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(8,'M',NULL,NULL,3,2);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(9,'M',NULL,NULL,2,2);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(10,'M',NULL,NULL,2,5);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(11,'M',NULL,'boss',2,1);

INSERT INTO JBPM_ID_MEMBERSHIP VALUES(12,'M',NULL,NULL,1,1);
STEP 6Q启动Tomcat服务
启动时查看Tomcat的日志,(g)查是否正常启动,未添加所有支持库或数据库配置出错Q都?x)引起启动失败?/span>
注意Q到此ؓ(f)止启动TomcatQJBPM服务p正常q行?jin),已经可以在上面发布流E,接着W五步中部v一个jbpm自带的流E例子?/em>
STEP 7Q发布例子流E?/strong>
打开|页Q?a href="http://localhost:8181/jbpm-console">http://localhost:8181/jbpm-console 得到如下面p明已l部|成功:(x)

参考原文:(x)http://www.uml.org.cn/workclass/200809085.asp

]]>- jbpm3数据库表的创Z解释http://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.html矛_路口矛_路口Wed, 13 Apr 2011 14:25:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/348254.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/04/13/348254.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/348254.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/348254.html创徏Q在下蝲的源码中扑ֈdb文g夹,打开jbpm.jpdl.mysql.sqlQ这个sql语句是直接在mysql中会(x)被识别成语法错误的,所以要在每行后面加?”,然后执行
阅读全文
]]> - W一周周ȝhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/07/345903.html矛_路口矛_路口Mon, 07 Mar 2011 12:52:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/07/345903.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/345903.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/07/345903.html#Feedback0http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/345903.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/345903.html 开学第一周,上班W?/span>n周。因Z班都在做不相q的事情Q毕业设计的内容只能攑ֈ下班来做?jin)。只要有兴趣Q放C么时候都不会(x)有关pR不知道从哪天开始,H然Ҏ(gu)U触摸技术有?jin)兴,所以基本上在下?jin)班后就是这两部分?jin)-----工作和无线触摸。不q接下来说的q是工作的q展?/span>
每当有个新的目需求,我都有一个习(fn)惯,惌从整体上把握q个需求,包括现状Q发展趋势,具体技术。但不知道这U方式是对还是错Q因为有ơ,l理安排一个Q务,我向他询问具体的需求,他给的答复是Q?#8220;假如我要让你做一个面包,你非得问我面包做出来q什?#8221;。是有一定道理,但我觉得Q我要做面包Q面包是好做Q但我不知道Q消费者是谁?他的口味如何Q他是自己吃q是l家Z的??jng)场上是否已l有cM或者更好的东西Q所以我做出来了(jin)面包Q最后只能积压在仓库里,那么q就是一个失败的目。这个周我做?jin)同L(fng)事情Q而且一直纠l一个问题:(x)我做出的工作到底有什么用Q所以我查找?jin)外文文献,试图从现状中扑ֈ一些新的启发,不过׃p水^太低Q花?jin)些旉Q却没有搜烦(ch)到太有h(hun)值的英文资料。最后不得不从中文资料入手?/span>
所以资料还必须要找Q这是基Q刘老师教我的做法我也能理解q常同意,如果太关注于如何Z?x)有很大可能最后完成不?jin)。先让系l跑hQ在保证通过的情况下q一步理解这个技术。第二周开始了(jin)Q需求定出来Q先让项目有个雏形?/span>

]]> - flex3的在myeclipse6.5中部|及(qing)W一个实?/title>http://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/05/345774.html矛_路口矛_路口Sat, 05 Mar 2011 05:18:00 GMThttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/05/345774.htmlhttp://www.aygfsteel.com/tantanxiaoshi/comments/345774.htmlhttp://www.aygfsteel.com/tantanxiaoshi/archive/2011/03/05/345774.html#Feedback1http://www.aygfsteel.com/tantanxiaoshi/comments/commentRss/345774.htmlhttp://www.aygfsteel.com/tantanxiaoshi/services/trackbacks/345774.html初识flexQ首先要准备好必需的Y?br />
1. flex在myeclipse中的插gQ?a >http://trials.adobe.com/Applications/Flex/FlexBuilder/3/FB3_WWEJ_Plugin.exeQ大U有348MQ右键用迅雷下载即可?br />
2. 下蝲lcds.warQ?a >http://d.download.csdn.net/down/1870527/liushasha31311456Q第一个实例的时候会(x)用到?br />
3. 准备好myeclipse?br />
接下来开始部|?br />
1. 双击q行插gQ按照提C安装,其中?x)让选择eclipce目录。所以要先安装myeclipse再装f(xi)lex插g?br />
2. 安装完成后,׃需要做M配置?br />
W一个实?br />

]]>
վ֩ģ壺
¹|
Դ|
綫|
ƽɽ|
|
|
|
¡|
|
|
|
ͭɽ|
ɽ|
ʯ|
|
˶|
ͭ|
|
ɽ|
|
|
˶|
ɽ|
ϳ|
|
|
쳤|
ȫ|
Ѯ|
|
ƽ|
|
|
ͨ|
ׯ|
ҵ|
üɽ|
|
Ӧ|
º|
|