2、SpareThreads="25"maxSpareThreads="75"enableLookups="false"redirectPort="8443"acceptCount="100"connectionTimeout="20000"disableUploadTimeout="true"/>用友NC客户化开发手册二、配置eclipse开发工具1、配置MDEDevelopment(Window->Preferences->MDEDevelopment)选择nchome所在位置、检查数据库连接是否通过、设置数据源
3、为默认数据源、点击ok设置完成。设置端口(与nchomebin文件夹下ncSysConfig.bat配置端口一致)2、配置InstalledJERs注意:nchomeufjdkjrelibplugin.jar和nchomeufjdklibtools.jar为必选插件,不然启动客户端的时候会报错。用友NC客户化开发手册点击确定,完成配置(最好留下当前在用的JERs,其他全部Remove掉)3、建立ModuleProject(选择ModuleProject->填写ProjectName->Module
4、Name->点击Finish)用友NC客户化开发手册工程建立完成后如下图:4、配置eclipse内存用友NC客户化开发手册-Dnc.exclude.modules=${FIELD_EX_MODULES}-Dnc.runMode=develop-Dnc.server.location=${FIELD_NC_HOME}-DEJBConfigDir=${FIELD_NC_HOME}/ejbXMLDExtServiceConfigDir=${FIELD_NC_HOME}/ejbXMLs-Xms768m-Xmx768m表设
5、计(PowerDesigner建模)用友NC客户化开发手册建表tschar(19)nulldefaultconvert(char(19),getdate(),20),特别注意建表时必须加ts和drdrsmallintnulldefault0主表建表脚本:createtabledj_loan(pk_loanchar(20)notnull,pk_corpchar(4)null,pk_busitypechar(20)null,pk_billtypevarchar(4)null,vbillstatussmallintnu
6、ll,vbillnovarchar(30)null,dbilldatechar(10)null,voperatoridchar(20)null,dmakedatechar(10)null,vapproveidchar(20)null,dapprovedatechar(10)null,vapprovenotevarchar(512)null,vdealeridchar(20)null,vdeptidchar(20)null,vmemovarchar(2048)null,vdef1varchar(100)null,v
7、def2varchar(100)null,vdef3varchar(100)null,vdef4varchar(100)null,vdef5varchar(100)null,vdef6varchar(100)null,vdef7varchar(100)null,vdef8varchar(100)null,vdef9varchar(100)null,vdef10varchar(100)null,vreserve1varchar(100)null,vreserve2varchar(100)null,vreserve3
8、varchar(100)null,vreserve4varchar(100)null,vreserve5varchar(100)null,vreserve6varchar(100)null,vreserve7varchar(100)null,vreserve8varchar(100)null,vreserve9varchar(100)null,vreserve10varc