转自:http://blog.csdn.net/daigua245/article/details/79182431.将openfire源码项目解压到(如果是从SVN CO下来的则不用)eclipse工作目录,例如E:\workspace\openfire,目录结构如图所示:2.打开eclipse,... Read More
posted @ 2014-04-16 09:40 foutouren Views(255) Comments(0) Diggs(0)
转自:http://blog.csdn.net/nomousewch/article/details/8088277最近好像有不少朋友关注Android客户端消息推送的实现,我在之前的项目中用到过Java PC客户端消息推送,从原理讲上应该是一致的,在这里分享一下个人的心得。消息推送实现原理 这里的... Read More
posted @ 2014-04-15 17:48 foutouren Views(984) Comments(0) Diggs(0)
转载自:http://blog.csdn.net/zphappy/article/details/6658504由于公司要做一个android的消息推送功能,让我进行了一个调研,发现网上没有一个集中说明的地方,自己在网上搜罗了一些资料并且自己总结了一下。对于消息的提醒方式可以分为四种:固定窗口、弹出... Read More
posted @ 2014-04-15 17:38 foutouren Views(346) Comments(0) Diggs(0)
一、定义远程服务器上接口public interface RMIService {public String getInfo(); }二、实现远程服务器上接口public class RMIServiceImpl implements RMIService{public String getInfo... Read More
posted @ 2014-04-14 12:05 foutouren Views(170) Comments(0) Diggs(0)
一、oprenfire 1、openfire是采用Java开发,开源的实时协作(RTC)服务器基于XMPP(Jabber)协议。可以使用它轻易的构建高效率的即时通信服务器。 2、Openfire安装和使用都非常简单,并利用Web进行管理。单台服务器可支持上万并发用户。 3、由于是采用开放的XM... Read More
posted @ 2014-04-14 10:49 foutouren Views(220) Comments(0) Diggs(0)
1、在官网上下载最新的openfire源码eg:openfire_src_3.9.1.zip 大概是一百多M2、解压源码文件 一下步骤参考此同学的博客:http://redhacker.iteye.com/blog/1914619 在eclipse中Debug方式启动最简单的方式3、开发一个自己的openfire代码示例: http://blog.csdn.net/ibm_hoojo/article/details/8645369 Read More
posted @ 2014-04-11 14:11 foutouren Views(157) Comments(0) Diggs(0)
由于原先的新浪博客密码给忘了,所以这里给一个博客的地址跳转: http://blog.sina.com.cn/xinweijava 谢谢! Read More
posted @ 2014-04-11 10:44 foutouren Views(139) Comments(0) Diggs(0)
1、今天在进行linux下服务部署时由于重新部署的繁杂,所以我决定用scp命令在linux线上服务器(A)拷贝一份服务程序到现有的服务器(B)上: 具体的操作命令是:scp -r A_username@A_url:/A_path B_path 这是在B上执行此命令,将A的服务器文件拷贝到B上。 注意: -r 拷贝命令中常用:意义为循环遍历当前文件夹下所有子文件 A_path和B_path都要是绝对路径,不可以用相对路径(尝试了用相对路径没有成功)下面是实际截图:这里有一个会让你确认的提示:输入yes就可以然后会让你输入password:(这里的password是linux固有... Read More
posted @ 2014-04-11 10:31 foutouren Views(450) Comments(0) Diggs(0)