This tutorial shows how to build a simple client/server Hello World application where the client and server communicate using GraniteDS remoting.
GraniteDS integrates various client and server technologies, thus its actual use somehow depends on which of these technologies you will be using. This tutorial includes most of the combinations supported by GraniteDS, so first you will have to build and generate the documentation for your technologies of choice.
You will need a few tools to use this tutorial:
-
A Git client
-
JDK 7: (download here)
-
Maven 3: (download here)
The first step is to clone this git repository from the command line:
git clone http://github.com/graniteds-tutorials/graniteds-tutorial-helloworld.git
Next cd in the tutorial folder and build the project and tutorial document:
cd graniteds-tutorial-helloworld mvn clean install asciidoctor:process-asciidoc -Dserver=spring -Dclient=java
The available options for the server are:
-
spring
-
ejb
-
cdi
The available options for the client are:
-
java
-
javafx
-
flex
-
air
Then you can follow the instructions in the tutorial document generated in target/docs/graniteds-tutorial-helloworld.html.