Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Final Project You will create a weather app. It will have two screens: 1) Main screen - display the location (City, State), and high

Java Final Project

You will create a weather app. It will have two screens:

1) Main screen - display the location (City, State), and high and low temperature for the current day

2) Edit screen - update the city and state and save it to the database

Your app must use JavaFX for the UI and you can set up the UI using fxml files or pure Java code. The weather app will store the City and State (or zip code) in a Sqlite database (via a model class that uses JDBC). Once the user saves the updated City and State, it will take them back to the main screen.

Required:

Screen 1: Display location and high and low temps clearly

Screen 2: Provide a form to update the location (city, state) and a save button

Database: Store location in database, and allow it to be updated via JDBC

Parsing: Parse the web API results (either XML or JSON) successfully

Cache the web API results in the database and only update them once per hour

Allow multiple cities (up to 5pts)

Display an icon for sunny/cloudy/storm/snow/rain weather (up to 5pts)

Style and presentation: Set up the project according to MVC (model view controller), good style, clarity

Weather web API:

Though there are many web APIs available, use yahoo! as it provides both JSON and XML results (you may use either). If you prefer a different web API please just let me know (for example NOAA's weather service).

https://developer.yahoo.com/weather/

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Pollution

Answered: 1 week ago