Module CSC7321—CSN: Middleware and software architecture for Internet distributed applications

Portail informatique

Getting started with the examples and the microproject

Code download for the examples

You will learn how to download the examples for this class

Create the initial directory for the teaching unit CSC7321

First of all you have to create the CSC7321 root directory. For this purpose open a terminal and type those lines

mkdir ~/CSC7321 cd ~/CSC7321

Download the REST examples

  • Create a directory for the REST examples
    cd ~/CSC7321/ mkdir REST-examples cd REST-examples
  • Get the examples archive and uncompress the archive
    wget tar xzvf examples-rest.tgz rm examples-rest.tgz
  • Or get the examples from git
    git clone

Compile one REST example

In the terminal

  • Compile the example REST-JSON-in-jakarta with maven
    cd ~/CSC7321/csc-mw-examples/ExemplesREST/REST-JSON-in-jakarta/ (or cd ~/CSC7321/ExemplesREST/REST-JSON-in-jakarta/) mvn clean install
    It should finish with
    [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.583 s [INFO] Finished at: 2019-09-06T20:31:27+02:00 [INFO] ------------------------------------------------------------------------

Download the microproject skeleton

  • Create a directory for your microproject
    cd ~/CSC7321/ mkdir Microproject cd Microproject
  • Get the examples archive and uncompress the archive:
    git clone

Compile the vlibtour project

In the terminal

  • Compile the project
    cd ~/CSC7321/csc-mw-project mvn clean install




$Date: 2018-10-02 15:54:21 +0200 (mar. 02 oct. 2018) $