Giter VIP home page Giter VIP logo

introsde-2015-assignment-2's Introduction

IntroSDE Assignment #2: RESTful Services

Introduction to Service Design and Engineering - University of Trento


A RESTful web service in Java to manage people and their health status.

Using JPA (Java Persistence API) to map models to a sqlite database and Jersey to manage REST requests.

The project contains a client package to test the server part.

Project based the following requirements.

####IMPLEMENTATION

#####Server

Standalone HTTP server:

  • rest.lifestyle: contains the main class to be run to start the standalone server and it's configuration

Main packages:

  • rest.lifestyle.dao: contains the enum class that manages the connection to the database
  • rest.lifestyle.model: contains the model classes that map to the database tables
  • rest.lifestyle.resources: contains classes that represent a resource in REST

#####Client

  • rest.lifestyle.client: contains the main class to be run to test the server with all the requests in both XML and JSON and to write the log files
  • rest.lifestyle.client.util: contains some helper classes to parse and format XML and JSON strings

####HOW TO RUN IT # Clone the code from this repo git clone https://github.com/federico-fiorini/introsde-2015-assignment-2.git cd introsde-2015-assignment-2

# To run the server
ant run

# To run the client
ant execute.client

######Deployed on heroku server: https://damp-cliffs-5416.herokuapp.com/rest

######Worked in pair with Daniel Bruzual: Git: https://github.com/djbb7/introsde-2015-assignment-2 Heroku: https://powerful-thicket-8477.herokuapp.com

introsde-2015-assignment-2's People

Contributors

federico-fiorini avatar

Watchers

James Cloos avatar  avatar

Forkers

sushengyang

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.