上一页 1 ··· 173 174 175 176 177 178 179 180 181 ··· 229 下一页
摘要: questionI am uploading images to jboss server by getting the absolute path using the following codegetServletContext().getRealPath("");The uploaded im... 阅读全文
posted @ 2014-07-16 16:48 一天不进步,就是退步 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: 前言在 Java 程序的运行过程中,对 JVM 和系统的监测一直是 Java 开发人员在开发过程所需要的。一直以来,Java 开发人员必须通过一些底层的 JVM API,比如 JVMPI 和 JVMTI 等,才能监测 Java 程序运行过程中的 JVM 和系统的一系列情况,这种方式一直以来被人所诟病... 阅读全文
posted @ 2014-07-16 15:18 一天不进步,就是退步 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 1.定义(http://en.wikipedia.org/wiki/Command_pattern#Java)Inobject-oriented programming, thecommand patternis abehavioraldesign patternin which an object... 阅读全文
posted @ 2014-07-16 09:51 一天不进步,就是退步 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1. 定义http://en.wikipedia.org/wiki/Adapter_patternAn adapter helps two incompatible interfaces to work together. This is the real world definition for ... 阅读全文
posted @ 2014-07-15 15:38 一天不进步,就是退步 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: 1. 定义,来自wiki(http://en.wikipedia.org/wiki/Decorator_pattern)The decorator pattern can be used to extend (decorate) the functionality of a certain obje... 阅读全文
posted @ 2014-07-15 14:50 一天不进步,就是退步 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 官方文档:http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/redis.htmlThe Spring Data Redis (or SDR) framework makes it easy to writ... 阅读全文
posted @ 2014-07-14 19:46 一天不进步,就是退步 阅读(509) 评论(0) 推荐(0) 编辑
摘要: 官方文档:http://spring.io/blog/2014/07/08/spring-session-1-0-0-m1-released1. 优点:This project provides a number ofbenefitsincluding:Accessing a session fro... 阅读全文
posted @ 2014-07-14 19:14 一天不进步,就是退步 阅读(7223) 评论(3) 推荐(0) 编辑
摘要: 3Permissions and Security Policy3.1The Permission ClassesThe permission classes represent access to system resources. The java.security.Permission cla... 阅读全文
posted @ 2014-07-14 16:50 一天不进步,就是退步 阅读(2370) 评论(0) 推荐(0) 编辑
摘要: linux 管道管道是Linux中很重要的一种通信方式,是把一个程序的输出直接连接到另一个程序的输入,常说的管道多是指无名管道,无名管道只能用于具有亲缘关系的进程之间,这是它与有名管道的最大区别。有名管道叫named pipe或者FIFO(先进先出),可以用函数mkfifo()创建。Linux管道的... 阅读全文
posted @ 2014-07-12 13:22 一天不进步,就是退步 阅读(14493) 评论(0) 推荐(0) 编辑
摘要: Java NIO -- the New Input/Output API package-- was introduced with J2SE 1.4 in 2002. Java NIO's purpose was to improve the programming of I/O-intensiv... 阅读全文
posted @ 2014-07-11 16:23 一天不进步,就是退步 阅读(418) 评论(0) 推荐(0) 编辑
上一页 1 ··· 173 174 175 176 177 178 179 180 181 ··· 229 下一页