Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple webservice calculator

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.markdown

Calculator service

This service implements a calculator service packaged in a webapp.

This project has been packaged using maven, as such it is needed to produce the build artifacts.

Obtaining the WAR file

A simple mvn package will generate the .war file in the target/ folder.

Running a stand-alone dev instance using tomcat

If maven is run with mvn tomcat:run goal, a server is started on localhost at port 13000 and the service is accessible (using a browser or cURL) at the following address:

http://localhost:13000/jaxrs-service/simplecalc/calculate/?formula=

TBD

  • An HTML client
  • Support for decimal numbers (only integers work ATM)
  • Better return codes
Something went wrong with that request. Please try again.