随笔 - 684  文章 - 0  评论 - 156  阅读 - 399万
06 2016 档案
Java开发中所涉及的常用远程调用
摘要:根据《Spring in Action》一书中指出,Java开发中常见的远程过程调用(RPC),常见的有一下四种方式: 1、远程方法调用(RMI) 2、Caucho的Hessian和Burlap 3、Spring基于Http的远程服务 4、使用JAX-RPC和JAX-WS的Web服务 阅读全文
posted @ 2016-06-27 11:12 @ 小浩 阅读(1048) 评论(0) 推荐(0) 编辑
Linut ssh sftp服务重启
摘要:在网上,收了半天,终于找到这个,记录一下~哈~ RedHat Linux 重启SSH /etc/init.d/sshd restart 重启SFTP /etc/init.d/vsftpd restart 在网上,收了半天,终于找到这个,记录一下~哈~ RedHat Linux 重启SSH /etc/ 阅读全文
posted @ 2016-06-20 16:02 @ 小浩 阅读(1333) 评论(2) 推荐(0) 编辑
使用apache common-io 监控文件变化
摘要:package common.io; import org.apache.commons.io.filefilter.FileFilterUtils; import org.apache.commons.io.monitor.FileAlterationListener; import org.apache.commons.io.monitor.FileAlterationMonitor; ... 阅读全文
posted @ 2016-06-05 18:21 @ 小浩 阅读(3234) 评论(0) 推荐(0) 编辑
Java实现动态加载读取properties文件
摘要:问题: 当我们使用如下语句加载.properties时: 会发现修改了.properties后,即使重新执行,读入的仍为修改前的参数。此问题的原因在于ClassLoader.getResourceAsStream读入后,会将.properties保存在缓存中,重新执行时会从缓存中读取,而不是再次读取 阅读全文
posted @ 2016-06-05 16:49 @ 小浩 阅读(6736) 评论(0) 推荐(0) 编辑
使用Java读取配置文件
摘要:实现起来,相对比较简单,留个备案吧,废话也不多说,请看代码: 阅读全文
posted @ 2016-06-05 16:02 @ 小浩 阅读(798) 评论(0) 推荐(0) 编辑

< 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

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