Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 767 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 767 Bytes

Frequency Server

This project contains a simple Web Service written in Java, inspired by the example with the same name from the book Erlang Programming by Francesco Cesarini and Simon Thompson.

Usage

It does not require any special configuration or database, all state is kept in memory. The actions implemented are:

  • StartServer - it starts the server with all the frequencies free.

  • StopServer - it stops the server and clears information about frequencies.

  • AllocateFrequency - returns a frequency if available.

  • DeallocateFrequency - expects a frequency and adds it to the list of available.

All URLs expect POST requests, and all of them return in response XML formatted as specified by response.xsd.