Skip to content

A Java-based framework for distributing community services in a peer-to-peer infrastructure.

License

Notifications You must be signed in to change notification settings

MostafaGomaa/LAS2peer

 
 

Repository files navigation

LAS2peer

LAS2peer is a Java-based server framework for developing and deploying services in a distributed Peer-to-Peer (P2P) environment. LAS2peer was developed by the Advanced Community Information Systems (ACIS) group at the Chair of Computer Science 5 (Information Systems & Databases), RWTH Aachen University, Germany. Its main focus lies on providing developers with a tool to easily develop and test their services and deploy them in a P2P network without having to rely on a centralized infrastructure.

Developers can develop and test their services locally and then deploy them on any machine that has joined the network. For communication between nodes, the FreePastry (http://www.freepastry.org/) library is used.

Currently, connection to the outside is realized via the HTTP-Connector or the Web-Connector.

Service Development

This project contains LAS2peer itself. To develop a service for LAS2peer, please use the LAS2Peer Template Project and follow the instructions of the project's ReadMe.

If you want to learn more about LAS2peer, please visit the LAS2peer Template Project's Wiki Page.

Preparations

LAS2peer depends on strong encryption enabled in its Java Runtime Environment (JRE). If you use an Oracle Java version, you have to enable strong encryption by replacing a set of policy files in subdirectory ./lib/security/ of your JRE installation.

Policy files for strong encryption can be downloaded via Oracle:

JCE for Java 7

(If the unit-test "i5.las2peer.communication.MessageTest" runs successfully, you have enabled strong encryption correctly)

For building simply run:
ant compile_all

Unit Tests

All JUnit tests are started with:
ant junit_tests

Reports can be found in ../tmp/reports afterwards.

JavaDoc

Simply build the standard java docs with:
ant java_doc

About

A Java-based framework for distributing community services in a peer-to-peer infrastructure.

Resources

License

Stars

Watchers

Forks

Packages

No packages published