文章分类 -  java

摘要:进程间的通讯无非就是读写文件,socket通讯或者使用共享内存。你不想用读写文件的方式,那就用共享内存或者socket通讯的方式。我个人觉得用socket比较简单,也许是因为我对socket比较熟悉。下面是一篇java实现共享内存的文章,java没法管理内存,其实他也是靠创建映像文件来实现的。共享内... 阅读全文
posted @ 2015-01-22 15:57 我是谁呢 阅读(4287) 评论(0) 推荐(0)
摘要:public class PasmpProperties { private static Properties properties = null; protected static synchronized Properties getGridProperties() { if (propert... 阅读全文
posted @ 2014-05-30 16:53 我是谁呢 阅读(97) 评论(0) 推荐(0)