How to develop a p2p server based on JXTA2.X integrated with Tomcat(or other serlvet containers) using java？
1. Build a file server (back is cloud-storage server) 2. Build satellite servers for private company 3. file server and satellite server shared file metadata and authorization.
I recognize p2p fit our requirements(not sure).
Any suggestions are prompted.
We have done something like that in b2een which is basically Jetty+JXTA+Other Stuff. Jetty handles the UI, REST, etc.. while JXTA handles the communication and data exchange between the b2een peers.
So, it is doable bue let me give you a couple of warnings:
- A P2P network like JXTA is excellent at two things: handling non centralized networks ('direct' peer to peer communications) and jumping firewalls (via relays). If you have a star like network with central server(s) and remote clients, do not use P2P: you will have all the complexity of these networks without the benefits.
- JXTA is not maintained anymore. Thanks to Oracle unwilling to release the name to the Open Source community, we were unable to move JXTA to the Apache foundation and the maintainers left.
Now, this being said, I have been programming for many (many) years, and working on p2p networks is definitely one of the most thrilling thing I have ever done.