Skip to content

A Java socket-based client-server application that integrates with the Visual Crossing Weather API. The server fetches weather forecasts based on client input and returns formatted forecast tables. The client allows users to request forecasts for different locations. Built using Maven and Apache HTTP Client.

Notifications You must be signed in to change notification settings

rodrigoavilaCS/TCP-Weather-Forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Java Client-Server Weather Forecast Application

Overview

This project is a Java client-server application that demonstrates socket programming with integration of the
Visual Crossing Weather API.

  • Server: Accepts client connections, queries the weather API, and returns forecast data.
  • Client: Sends location requests to the server and displays formatted weather tables.
  • Communication: Handled over TCP sockets.
  • Build Tool: Maven (for Apache HTTP Client & JSON libraries).

Features

  • TCP client-server communication
  • Integration with Visual Crossing Weather API
  • Formatted weather forecast table (Date, MaxTemp, MinTemp, Precip, Source)
  • Multiple client requests in one session
  • Graceful disconnect with bye

About

A Java socket-based client-server application that integrates with the Visual Crossing Weather API. The server fetches weather forecasts based on client input and returns formatted forecast tables. The client allows users to request forecasts for different locations. Built using Maven and Apache HTTP Client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages