遗忘海岸

江湖程序员 -Feiph(LM战士)

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

07 2013 档案

PB int 是2字节地,被bug了
摘要:PB int 是2字节地,被bug了 阅读全文

posted @ 2013-07-29 07:33 遗忘海岸 阅读(328) 评论(0) 推荐(0) 编辑

cxf的一些使用说明
摘要:/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * &qu 阅读全文

posted @ 2013-07-18 08:49 遗忘海岸 阅读(1754) 评论(0) 推荐(0) 编辑

RabbitMQ的一些说明
摘要:下载安装包后,运行会提示你下再ErLang环境,根据提示下载安装就可以了RabbitMQ 自己的插件包中带一 个WebUI的管理工具,在RabbitMQ安装目录(bin)下运行rabbitmq-plugins enable rabbitmq_management 完了重启MQ,就可以使用http://localhost:55672默认guest/guest 进去管理了在Admin下可以设置guest密码,如果这个密码改了,那客户端(.net/java)连接MQ时 factory需要设置用户名与密码而如果默认用户名跟密码都是guest,那么客户端则不需要设置 阅读全文

posted @ 2013-07-13 16:41 遗忘海岸 阅读(210) 评论(0) 推荐(0) 编辑

名字也挺重要---Webservice
摘要:整了几个WebService方法的返回类型叫GetResponse ,GetDataResponse结果老报错,要加啥元素,加了也报错,后来把Get改成Retrive,运行就正常了,看来Get抢手了cxf中也不能用Get另外cxf发布到weblogic上时,需要在实现类与接口上都标记webService 阅读全文

posted @ 2013-07-12 07:27 遗忘海岸 阅读(158) 评论(0) 推荐(0) 编辑

VS2010+SVN
摘要:小乌龟版本用1.6,用1.8时老报错SVN是2.06, SVN Server是2.1.9 阅读全文

posted @ 2013-07-11 16:40 遗忘海岸 阅读(199) 评论(0) 推荐(0) 编辑

DataGridView相关代码
摘要:加行号: private void dgv_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { //添加行号 var dgv = sender as DataGridView; SolidBrush v_SolidBrush = new SolidBrush(dgv.RowHeadersDefaultCellStyle.ForeColor); int v_Line... 阅读全文

posted @ 2013-07-09 13:37 遗忘海岸 阅读(223) 评论(0) 推荐(0) 编辑

java类加载器的一些测试
摘要:package classloader;import java.lang.reflect.Method;import org.junit.Test;import com.example.Sample;public class ClassIdentity { public static void main(String[] args) { // new ClassIdentity().testClassIdentity();// System.out.println("执行了吗"); new ClassIdentity... 阅读全文

posted @ 2013-07-03 15:18 遗忘海岸 阅读(597) 评论(0) 推荐(0) 编辑

Java中的一些代理技术
摘要:使用cglib,asm 对接口进行拦截,这里需要调用Invoke方法 final IUserService userService=new UserService(); Enhancer enhancer=new Enhancer(); enhancer.setSuperclass(IUserService.class); enhancer.setCallback(new MethodInterceptor() { @Override public Obj... 阅读全文

posted @ 2013-07-03 08:46 遗忘海岸 阅读(317) 评论(0) 推荐(0) 编辑

AOP之拦截函数调用链实现
摘要:定义函数A,B,C,调用A->B->C,这样就形成了函数静态调用链,而AOP要做的是能动态的添加多个B,形成A->B1->B2->B3...->C这样的效果,在EntLib(MS的企业库)Unity中有这样的实现,不过要看明白里面的代码的确需要花不少脑子,3年前看过里面的代码并做了记录,但是这两天翻出来看时照样化了很大精力,并杀死杀伤大量脑细胞,于是痛下决心将整个过程整理并画出时序图。测试代码:public partial class Form1 : Form { public Form1() { InitializeComponent(... 阅读全文

posted @ 2013-07-02 13:50 遗忘海岸 阅读(3801) 评论(0) 推荐(2) 编辑

点击右上角即可分享
微信分享提示