摘要: 欢迎转载 http://www.cnblogs.com/shizhongtao/p/3433653.html使用wsdl2java工具命令 一、 调出命令提示符cd到cxf的解压路径“D:\学习文档\jar\cxf\apache-cxf-2.6.8\bin”,在路径下执行wsdl2java -p com.bing.client -frontend jaxws21 http://localhost:8080/webservice/ws/helloworld?wsdl我这里是存放到命令路径下的com/bing/client文件下,参数说明-p是文件路径,当然你可以在加上-d来指定盘符,如果不指定就 阅读全文
posted @ 2013-11-20 15:13 bingyulei 阅读(847) 评论(0) 推荐(0) 编辑
摘要: 关于cglib的jar包官方的文档上有这么一段话NoteFor this dynamic subclassing to work, the class that the Spring container will subclass cannot be final, and the method to be overridden cannot be final either. Also, testing a class that has an abstract method requires you to subclass the class yourself and to supply a s 阅读全文
posted @ 2013-11-20 09:36 bingyulei 阅读(1398) 评论(0) 推荐(0) 编辑
摘要: 这里就使用myeclipse简单创建一个实例程序。一、创建项目在myeclipse中创建项目选Maven Project,然后直接下一步用默认的项目空间。在archetype中选择quickstart这个选项,意思是快速创建maven的模板程序。接着在填写如下参数,"Group Id"一般对应的自己公司或者项目的名字,Artifact Id对应具体功能或者模块名字,Version对应版本号,这三个可以确定你项目的唯一id。如spring框架中:org.springframework spring-context3.2.4.RELEASE点击确定之后,会生成项目文件。目录结构 阅读全文
posted @ 2013-11-14 16:54 bingyulei 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 欢迎转载:http://www.cnblogs.com/shizhongtao/p/3374130.html对于我来说,maven主要用于jar包的管理,避免项目中频繁更换jar的版本,以及网上搜索下载。一:环境布置1. 安装jdk,新建环境变量"JAVA_HOME",value值是安装jdk的目录... 阅读全文
posted @ 2013-10-17 14:31 bingyulei 阅读(1047) 评论(0) 推荐(2) 编辑
摘要: 1.spring得到servletContext,这个和session没有什么关系,上下文可以说是一个session容器,一个上下文可以有多个会话session在web.xml中有以下配置后。加入spring对上下文的监听, org.springframework.web.context.Con... 阅读全文
posted @ 2013-10-14 11:30 bingyulei 阅读(3431) 评论(0) 推荐(0) 编辑
摘要: 《欢迎转载http://www.cnblogs.com/shizhongtao/p/3345826.html》上传代码就写个简单的小例子。首先要加入jar包。commons-net-1.4.1.jar,如果是用的maven管理jar包的话,加入如下配置:1 2 commons-net3 commons-net4 1.4.15 废话不多说,这里面给出代码: 1 package com.bing.ftpupload; 2 3 import java.io.File; 4 5 import java.io.FileIn... 阅读全文
posted @ 2013-09-29 15:41 bingyulei 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 在官网下载server版本的FileZilla,我下载的是(The latest stable version of FileZilla Server is 0.9.41)然后直接安装就可了,我由于是测试使用:在安装到这一步时候我选择了第二项Installasservice,startedwithWindows(default)意思是:将FileZillaServer作为服务安装,并随Windows系统启动Install as service,started Manually意思是:将FileZillaServer作为服务安装,但手动启动Donotinstallasservice,starts 阅读全文
posted @ 2013-09-29 15:38 bingyulei 阅读(757) 评论(0) 推荐(0) 编辑
摘要: 备忘,以后有时间再写点东西吧。其实自己就没有开始写过。blog地址:http://www.cnblogs.com/shizhongtao/p/3342174.html//spring 配置的路径,多个用“逗号”分开@ContextConfiguration(locations={"classpath:applicationContext.xml"})//固定写法,用junit4@RunWith(SpringJUnit4ClassRunner.class)//加入事物时候的配值,“txmanage”事物管理器的名字,默认回滚,@TransactionConfiguration 阅读全文
posted @ 2013-09-27 09:34 bingyulei 阅读(307) 评论(0) 推荐(0) 编辑