摘要: JDK动态代理是java反射的一个重要特性。它在某种方面为java提供了动态性的特性,给应用带来了无限的空间。大名鼎鼎的Hessian、Spring AOP基于动态代理实现。本文将简单的介绍JDK动态代理使用。关于代理模式代理模式是非常常用的一种设计模式,在我们的应用中经常被使用。一般场景是,我们有... 阅读全文
posted @ 2014-08-28 17:31 一天不进步,就是退步 阅读(438) 评论(0) 推荐(0) 编辑
摘要: Today, I started to create a couple of JSP pages for the server-side part of my MSc thesis project in order to be able to output some meaningful stati... 阅读全文
posted @ 2014-08-28 15:45 一天不进步,就是退步 阅读(1483) 评论(0) 推荐(0) 编辑
摘要: I can think of numerous times when I have seen others write unnecessary Java code and I have written unnecessary Java code because of lack of awarenes... 阅读全文
posted @ 2014-08-28 11:02 一天不进步,就是退步 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 首先,我们来看一个例子:byte[] b=new byte[]{2,9,43};String ss=new String(b,"utf-8");byte[] b1=ss.getbytes();这种情况下,b和b1字节数组是相同的。那下面这种情况呢?byte[] b=new byte[]{-2,-9,... 阅读全文
posted @ 2014-08-28 10:47 一天不进步,就是退步 阅读(4643) 评论(0) 推荐(0) 编辑