blog搬家到 http://www.blogjava.net/vcycyv 了
今天试用了一下,很好,转贴自:http://blog.csdn.net/mini_snow/archive/2008/11/01/3197017.aspx VisualSVN Server----更方便使用的SVN服务器 收藏 前发现了一个好用的服务器端软件VisualSVN Server。下面就其安装及配置方法作一简略介绍: 1) 安装 这里我们下载Windows平
<jsp-config> <jsp-property-group> <url-pattern>/WEB-INF/jspPages/ustm/*</url-pattern> <el-ignored>true</el-ig
Cookie userCookie = new Cookie("user", "uid1234"); userCookie.setMaxAge(60*60*24*365); // Store cookie for 1 year response.addCookie(userCookie); HttpSession session =
年轻代: 所有新生成的对象首先都是放在年轻代的。年轻代的目标就是尽可能快速的收集掉那些生命周期短的对象。年轻代分三个区。一个Eden区,两个 Survivor区(一般而言)。大部分对象在Eden区中生成。当Eden区满时,还存活的对象将被复制到Survivor区(两个中的一个),当这个 Survivor区满时,此区的存活对象将被复制到另外一个Survivor
Typical candidate concerns include: ? Tracing and performance monitoring ? Auditing ? Notification (su
digression thanks to Ron Jeffries for this pithy summary Then your design will deteriorate. ======================================= if (myStringVariable.equals(MY_STRING_CONSTANT)) if (MY_STR
There are three common ways to do client session state: URL parameters, hidden fields, and cookies. I come across many developers who have separate interfaces for every class they write. I th
Granularity is one of the most tricky issues with Remote Facade. Some people like to make fairly small Remote Facades, such as one per use case. I prefer a coarser grained structure with much fewer Re
POEAA chapter 10 data mapper --Example: Separating the Finders (Java) 复习memento 黑箱形式 涉及角色:originator, memento, caretaker. 窄接口的关键在于marked interface. 隐藏public的一个思路是用reflection =======================
POEAA Of course, what vendors will tell you is that there's no overhead to using their middleware for remote and local calls. If it's a local call, it's done with the speed of a local call. If it's a
问:在父线程中New了一个子线程,想在停止父线程时也停止子线程,应该怎么做? 答: 从某种程度上讲,做不到。 不管是父线程还是子线程,这只不过是在运行时谁建了谁时用的,一旦所谓的字线程被启动,这两个线程是没有先后贵贱区分的。 任何线程是没有办法把另外一个线程终止的。
In the Java platform, there are four types of references to objects. Direct references are the type you normally use, as in: Object&n
很久不写servlet,居然连这个都忘了,faint. 在web.xml如下: <servlet> <servlet-name>Servlet的名字</servlet-name> <servlet-class>com.servlet.ProductsAl
今天尝试用spring HttpInvoker, 得到的返回值是remote对象而不是stub。于是看了看原来的stub是怎么得出来的,发现一个stub调用远程服务,如果那个服务返回一个remote对象的话,在客户端这里拿到的就是stub. 具体原理不太清楚。 网上看到的一段话: 如果一个类继承自UnicastRemoteObject,那么它必须提供一个构造函数并且声明抛出一个RemoteEx
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号