常用J2EE语句

EL表达式上下文:${pageContext.request.contextPath}

 

设置tomact内存

-Xms128m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=128m

 

<![CDATA[ request ]]>

 

D:\apache-cxf-2.3.3\bin>wsdl2java -d D:/testCXF -client http://192.168.80.182:8080/Demo/cxf/cxftest?wsdl ,-d 后是我要存放生成代码的路径,不写-d参数那么就默认存放在bin下了;其它参数就不说明了。

 

cxf生成客户端super报错,不纠结太多,解决办法:

 

 

D:\>wsdl2java -frontend jaxws21 -d D:/testCXF -client http://172.16.50.204:8080

/spring/services/userService?wsdl

 

其中一种方式:如上加上 -frontend jaxws21降低版本

另一种方式加jar包 我测试了不行

 

 

oracle版本11.1.0.6.0比较稳定

 

oracle环境变量配置:

 

1.oracle简体中文编码配置

NLS_LANG=SIMPLIFIED CHINESE_CHINA.ZHS16GBK

 

 

Eclipse?MyBatis generator is available as an Eclipse plugin and includes the extra capability of merging generated Java files as databases evolve. Documentation for MyBatis generator is integrated into the Eclipse help system. To install the Eclipse plugin, configure a new Eclipse install repository and point to this location:
http://mybatis.googlecode.com/svn/sub-projects/generator/trunk/eclipse/UpdateSite/
The plugin is currently developed and compiled with Eclipse Indigo SR2. It is also tested on Eclipse Juno and known to work there.


D:\Workspaces\MyEclipse2\Spring_MyBatis\Spring_MyBatis\lib>java -jar mybatis-gen
erator-core-1.3.1.jar -configfile ../config/generatorConfig.xml -overwrite

MyBatis Generator finshed successfully.

 

你可能感兴趣的:(J2EE)