JXTA

How to download the same file distributed in different computers in Java

末鹿安然 提交于 2019-12-25 01:59:38
问题 I want to make a college project for sharing of files among different computers. Usually we have same file, for example, a movie on different computers among a local network in our college. So I want to download a file in different parts from these computers simultaneously so that download will be fast. I am making this application in Java. What should I read? I am using JXTA for peer-to-peer (P2P) sharing. Is this possible using JXTA? 回答1: It is possible to do this in JXTA. You need to split

Why has JXTA been abandoned? Any alternatives out there?

99封情书 提交于 2019-12-20 18:03:26
问题 P2p/Grid Computing seem like a promising concepts. JXTA looks like the only all in one framework for it. Is there a reason this field is so sparsely pursued? 回答1: I have lead the release of JXTA 2.6 and 2.7 - JXTA is not completely abandoned. Some people have posted patches on the 2.6 branch and it could easily be merged with the 2.7 branch. There are many reasons why people did not carry on participating to JXTA: Oracle did not follow-up on their duties regarding project governance, which

JXTA JXSE 2.7 with broken JBoss Netty library dependency

两盒软妹~` 提交于 2019-12-13 19:16:32
问题 Recently I was investigating p2p framework to use and I came across JXTA. Too bad, Oracle decided to dropped JXTA. Real shame for a nice software. Anyway the problem that I have is trying to start a node in rendezvous mode. NetworkManager manager = new NetworkManager(NetworkManager.ConfigMode.RENDEZVOUS,...); I'm getting a NoClassDefFoundError when I call manager.startNetwork(); The class it is having problem with is: org/jboss/netty/channel/socket/httptunnel/HttpTunnelClientChannelFactory

Getting exception in simple JXTA 2.7 Application

和自甴很熟 提交于 2019-12-12 04:57:34
问题 I am developing a simple program in JXTA 2.7 and it is showing me the following error. public static void main(String[] args) throws IOException, PeerGroupException { System.setProperty(Logging.JXTA_LOGGING_PROPERTY, Level.OFF.toString()); NetworkManager manager = new NetworkManager(NetworkManager.ConfigMode.EDGE, "Test"); System.out.println(" S t a r t ing JXTA"); manager.startNetwork(); System.out.println(" JXTA St a r t ed "); } Error: Exception in thread "main" java.lang

JXTA Practical jxta II examples …exception when NetManager.startNetwork(); is executed

為{幸葍}努か 提交于 2019-12-11 04:14:45
问题 I have been trying to run examples of practical jxta ii but iam getting this exception Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/netty/channel/ChannelFactory this exception is encountered when this line is executed PeerGroup TheNetPeerGroup = NetManager.startNetwork(); I have used jxse-2.6 to run the examples...i hve followed all the steps mentioned in the book... Where can i find jxse-2.7.jar file ...couldnot find it...?? I am running the examples in netbeans and i

JXTA P2P application over internet

℡╲_俬逩灬. 提交于 2019-12-10 00:19:55
问题 I am learning JXTA and want to master it. I downloaded the tutorial programs from jxta website I have run all those programs from only one PC and worked perfectly fine. But I want it to work over internet. My friend also has an internet connection. We tried to run socket client on his machine while socket server program was running on my machine. I also tried to make myjxta (a jxta p2p application) to work over internet but had no success. We both have ADSL connection and has D-Link ADSL

P2P message transfer behind firewalls and NAT

血红的双手。 提交于 2019-12-08 02:13:48
问题 I have two java applications running on two different machines in two different part of the world. The machines can be behind NAT (or not!). The applications are supposed transfer some data (<500kb). We do have a server, which can do everything (like providing ip address of the peers) but the data from the applications must always be transferred peer-to-peer. The data can not be routed through the server. Do I have to deal with firewall mess? Do I have to set port forwarding? Are JXTA or

How do I discover peers and send messages in JXTA-JXSE 2.6?

余生长醉 提交于 2019-12-05 01:50:38
问题 Using JXTA 2.6 from http://jxse.kenai.com/ I want to create application that can run multiple peers on one or more hosts. The peers should be able to find each other in a group and send direct messages as well as propagate messages. What would a simple hello world type of application look like that meet these requirements? I created this question with the intention of supplying a tutorial like answer, an answer I tried very hard to find two months ago when starting to look at JXTA for a uni

JXTA P2P application over internet

不想你离开。 提交于 2019-12-04 21:31:34
I am learning JXTA and want to master it. I downloaded the tutorial programs from jxta website I have run all those programs from only one PC and worked perfectly fine. But I want it to work over internet. My friend also has an internet connection. We tried to run socket client on his machine while socket server program was running on my machine. I also tried to make myjxta (a jxta p2p application) to work over internet but had no success. We both have ADSL connection and has D-Link ADSL router GLB-802C. While setting up the router I did entered username and password. There not any proxy

Why has JXTA been abandoned? Any alternatives out there?

给你一囗甜甜゛ 提交于 2019-12-03 06:15:46
P2p/Grid Computing seem like a promising concepts. JXTA looks like the only all in one framework for it. Is there a reason this field is so sparsely pursued? I have lead the release of JXTA 2.6 and 2.7 - JXTA is not completely abandoned. Some people have posted patches on the 2.6 branch and it could easily be merged with the 2.7 branch. There are many reasons why people did not carry on participating to JXTA: Oracle did not follow-up on their duties regarding project governance, which left the project in a limbo state. Oracle did not follow-up on a request to move the project to Apache. The