Git Product home page Git Product logo

jee-weather's Introduction

jee-weather

Java Spring, JSF web application (Rest, Soap showcase). This application is downloading current weather data from wunderground api and storing it for presenting to users over nice web frontend.

Technologies

  • Spring
  • JSF
  • Jersey
  • PrimeFaces

Prerequisites

  • I do not share api key to wunderground api (as limits do apply), so you should get one yourself
  • Java 6 or 7
  • Maven 3
  • Tomcat 7 or other compatible servlet container

Install

mvn install
or 
mvn install -Dmaven.test.skip=true

About the App

Requirements:

  • Service provides response times of less than 100ms.
  • Service returns recent observation weather data for supported locations. Data should be updated every 0,5 hour, unless 3rd party weather service is down.
  • Service provide SOAP and REST endpoints.
  • Clients must authenticate using HTTP Basic authentication. Allowed clients with credentials weather/w34th3r

SOAP API:

  • Service accepts list of city names as parameter and returns list of weather condition for given cities.
  • If no city name provided service returns list of weather conditions for all supported locations.
  • Application provides WSDL for SOAP service (/soap/WeatherSOAP?wsdl).

REST API:

  • GET /weather/{city} - returns weather data for a given city.
  • GET /weather - return list of weather conditions for supported locations.
  • REST service response format is JSON.
  • API wadl /rest/application.wadl

jee-weather's People

Contributors

justas-eu avatar

Watchers

James Cloos avatar

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.