October 05, 2012

Java Micro Blogging System

jMBS is open source application, Currently allows to create a mini platform for a local social network.
#### How it works? Users can register using the Client GUI, each user can writes messages, and follows other users, participate to one or more projects.

jMBS

Get Code Source:

You can get a copy of the repository using the public git

$ git clone git://github.com/cyounes/jmbs.git

Build jMBS

First, you need to create a new PostgreSQL database, use the latest version of SQL script included in the Server/SQL/ directory.

Next you need to configure jMBS to connect to Database. to do this you could edit the db.connect file.

###Build Server:

  1. You need to compile the RMI project innorder to compile the server project.
$ cd /PATH/TO/JMBS/DIRECTORY/RMI/
$ mvn clean compile install
  1. Compile the server maven project
$ cd /PATH/TO/JMBS/DIRECTORY/Server/
$ mvn clean assembly:assembly

###Build Client:

$ cd /PATH/TO/JMBS/DIRECTORY/Client/
$ mvn clean assembly:assembly -Dmaven.test.skip=true

Start jMBS

Server:

jMBS Start Server

$ java -jar \
-Djava.rmi.server.codebase=file:../RMI/target/RMI-0.0.1-SNAPSHOT.jar \
target/Server-jar-with-dependencies.jar

Client:

jMBS Start Client

$ java -jar -Djava.rmi.server.codebase=file:../RMI/target/RMI-0.0.1-SNAPSHOT.jar \
-Djava.security.policy=target/classes/security.policy target/Client-jar-with-dependencies.jar

Contributors:

TODO:

  • add some lines to this file to explain how to use jMBS
  • add JavaDoc link

This project is no more updated