摘要: bridge桥模式将抽象和行为划分开来,各自独立但能动态结合抽象的接口/*** 咖啡抽象类** @time 下午09:14:27* @author retacn yue* @Email zhenhuayue@sina.com*/public abstract class Coffee { //CoffeeImp coffeeImp; //有木有点DI的感觉,有木有public void setCoffeeImp() {this.coffeeImp = CoffeeImpSingleton.getTheCoffeeImp();} public CoffeeImp getCoff... 阅读全文
posted @ 2012-10-18 22:04 retacn_yue 阅读(140) 评论(0) 推荐(0) 编辑
摘要: PC端安装下载workbench调试桥地址为: http://4thline.org/m2/org/teleal/cling/cling-workbench/1.0.5/cling-workbench-1.0.5-standalone.jar可以从命令行直接启动java -jar workbench-1.0.5-standalone.jar方式一:点击 configure wan bridgewan host 输入本机ipport输入端口号然后start bridge================================================================ 阅读全文
posted @ 2012-10-18 18:39 retacn_yue 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 下载地址http://www.jboss.org/jbossas/downloads/解压到C:\Java\jboss-as-7.1.1.Final添加环境变量JBOSS_HOME:C:\Java\jboss-as-7.1.1.Final进入bin目录standalone.bat启动服务器浏览器运行http://localhost:8080/#把待布署的war放到C:\Java\jboss-as-7.1.1.Final\standalone目录下学得不如人家改的快,应该是放到C:\Java\jboss-as-7.1.1.Final\standalone\deployments如果需要外网访问, 阅读全文
posted @ 2012-10-18 00:24 retacn_yue 阅读(104) 评论(0) 推荐(0) 编辑