下载了jxta-myjxta-2.3.5.zip,解压缩后直接运行myjxta.bat,立马登录入JXTA网络,上面还真有几个对端呢。第一次用到这么直截了当的P2P Java程序。
IBM上的JXTA资源:
http://www-128.ibm.com/developerworks/cn/java/wi-jxta2/index.html,《通过 JXTA 进行无线通信,第 2 部分: 实现 JXTA-for-JMS》;
http://www-128.ibm.com/developerworks/cn/java/wi-p2pmsg2/index.html,《移动 P2P 消息传递,第 2 部分: 开发通用 P2P 网络的移动扩展》
下面是myJXTA打出来的日志:
2005-09-27 18:12:04,505 STATUS net.jxta.myjxta.ui.MyJXTAView 正在连接
2005-09-27 18:12:04,535 STATUS net.jxta.myjxta.ui.MyJXTAView 安装
2005-09-27 18:12:22,871 STATUS net.jxta.myjxta.ui.MyJXTAView 正在配置
2005-09-27 18:12:29,771 STATUS net.jxta.myjxta.ui.MyJXTAView 搜索被初始化
2005-09-27 18:12:30,502 STATUS net.jxta.myjxta.ui.MyJXTAView 正在启动
2005-09-27 18:12:30,512 STATUS net.jxta.myjxta.ui.MyJXTAView 正在加入组 NetPeerG
roup
2005-09-27 18:12:30,633 STATUS net.jxta.myjxta.ui.MyJXTAView 显示 NetPeerGroup
2005-09-27 18:12:30,643 STATUS net.jxta.myjxta.ui.MyJXTAView Restore groups
2005-09-27 18:12:30,643 STATUS net.jxta.myjxta.ui.MyJXTAView Restore peers
2005-09-27 18:12:30,653 STATUS net.jxta.myjxta.ui.MyJXTAView 正在建组 MyJXTA
2005-09-27 18:12:30,673 STATUS net.jxta.myjxta.ui.MyJXTAView 不能增加资源: NetPe
erGroup
2005-09-27 18:12:31,334 STATUS net.jxta.myjxta.ui.MyJXTAView 正在加入组 MyJXTA
2005-09-27 18:12:31,384 STATUS net.jxta.myjxta.ui.MyJXTAView 显示 MyJXTA
2005-09-27 18:12:31,524 STATUS net.jxta.myjxta.ui.MyJXTAView 不能增加资源: MyJXT
A
2005-09-27 18:12:31,664 STATUS net.jxta.myjxta.ui.MyJXTAView Restore groups
2005-09-27 18:12:31,674 STATUS net.jxta.myjxta.ui.MyJXTAView Restore peers
2005-09-27 18:12:31,714 STATUS net.jxta.myjxta.ui.MyJXTAView 发现peers
2005-09-27 18:12:32,686 STATUS net.jxta.myjxta.ui.MyJXTAView 注册组对话
2005-09-27 18:12:33,667 STATUS net.jxta.myjxta.ui.MyJXTAView 停止搜索 Peer is *
2005-09-27 18:12:37,312 STATUS net.jxta.myjxta.ui.MyJXTAView 正在加入对话
2005-09-27 18:12:37,402 STATUS net.jxta.myjxta.ui.MyJXTAView 注册命令对话
2005-09-27 18:12:37,422 STATUS net.jxta.myjxta.ui.MyJXTAView 正在增加对话监听者:
Jxta:IMFreeCommand.Alice
2005-09-27 18:12:37,462 STATUS net.jxta.myjxta.ui.MyJXTAView 正在增加对话监听者:
Jxta:IMFreeDialog.Alice
2005-09-27 18:12:37,623 STATUS net.jxta.myjxta.ui.MyJXTAView 正在增加对话监听者:
Jxta:IMFreeVOJXTADialog.Alice
2005-09-27 18:12:37,753 STATUS net.jxta.myjxta.ui.MyJXTAView 正在增加对话监听者:
Jxta:IMFreeVIJXTADialog.Alice
2005-09-27 18:12:37,783 STATUS net.jxta.myjxta.ui.MyJXTAView 正在增加对话监听者:
Jxta:IMFreeTicTacToeDialog.Alice
2005-09-27 18:12:37,803 STATUS net.jxta.myjxta.ui.MyJXTAView 正在注册共享
2005-09-27 18:12:37,933 STATUS net.jxta.myjxta.ui.MyJXTAView 自动汇聚: 120000
2005-09-27 18:12:38,404 STATUS net.jxta.myjxta.ui.MyJXTAView 已连接到JXTA网络
2005-09-27 18:12:38,414 STATUS net.jxta.myjxta.ui.MyJXTAView 发现peers
2005-09-27 18:12:50,922 STATUS net.jxta.myjxta.ui.MyJXTAView 已连接到JXTA网络
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=490757