com_dubbo_config src/main/resources ${project.build.directory}/classes pro/* ... ...
分类:
其他好文 时间:
2018-10-17 14:45:56
阅读次数:
222
12.3 Things to remember when using new in constructors ) If you use new in constructors, use delete in destructor. Their use should be compatible, pai ...
分类:
其他好文 时间:
2018-10-17 00:31:39
阅读次数:
183
在日常的使用中,一个javaee程序部署以后,以后续的使用中会有模块等的更新,但我经常见到有人直接更新服务器上的类包,文件等,(可能是tomcat,jboss这种热部署使用惯了)这样子的方式有几个问题。 问题: 更新方式 其实was对应用程序的更新提供多种灵活的方式。有如下4种: 更新步骤 替换整个 ...
分类:
Web程序 时间:
2018-10-16 22:03:08
阅读次数:
318
12.1 Dynamic memory and classes 12.1.1 A review example and static class members Now try implement a String class(a flawed one): // sayings1.cpp using ...
分类:
其他好文 时间:
2018-10-16 20:53:04
阅读次数:
157
unit Unit2; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V ...
11.5.3 An implementation comment ) The separation of interface from implementation is one of the goals of OOP. ) Example of the implementation of the ...
分类:
其他好文 时间:
2018-10-16 11:57:57
阅读次数:
119
首先打开注册表编辑器,按键盘win+r,调出运行窗口,输入regedit打开注册表编辑器 打开HKEY_CURRENT_USER\Software 打开\Classes 最后选中.html,在默认选项那右键点击修改 将里面的数值数据修改成“Htmlfile”,点击确定后退出,重启下电脑,如果不重启电 ...
分类:
其他好文 时间:
2018-10-15 20:46:33
阅读次数:
308
通常我们的xml映射文件会放在源码中,普通的java项目在编译时可以将src下的xml放到classes文件中。 但maven项目编译时是不会将xml放到classes文件中,从而导致我们的mybatis-config.xml找不到对应的xml映射文件。 解决方案: maven项目中建立resour ...
分类:
其他好文 时间:
2018-10-13 17:22:41
阅读次数:
208
1. 什么是线程?2. 什么是线程安全和线程不安全?3. 什么是自旋锁?4. 什么是Java内存模型?5. 什么是CAS?6. 什么是乐观锁和悲观锁?7. 什么是AQS?8. 什么是原子操作?在Java Concurrency API中有哪些原子类(atomic classes)?9. 什么是Exe ...
分类:
编程语言 时间:
2018-10-13 10:24:18
阅读次数:
152
首先一个项目要编译好之后才能部署到Tomcat中运行。 Tomcat运行时如何找编译好的.class文件呢,其实Tomcat下的web项目有两个预置的classpath(就是能找到.class文件的入口), 这两个预置的classpath是WEB-INF/classes与WEF-INF/lib, 其 ...
分类:
编程语言 时间:
2018-10-13 02:41:47
阅读次数:
148