JavaCompletedSunny Yellow theme

Weather Database

A Java client–server weather-record application backed by PostgreSQL. Administrators manage places and weather observations; clients query stored precipitation and temperature information. It is not a live weather feed.

JavaPostgreSQLJDBC
WDWeather Database
JavaMain technology
9Tracked files*
4.java files
1.sql files

*File metrics count tracked files after excluding common generated build folders. The project status is an editable draft classification.

01 · What it does

What the application does

Capabilities evidenced by project documentation and source structure; some behaviours require platform configuration.

01

Administration of towns and dated readings.

Administration of towns and dated readings.

02

Queries of stored weather data.

Queries of stored weather data.

03

Java client and server with PostgreSQL persistence.

Java client and server with PostgreSQL persistence.

02 · Technical structure

How the system works

Technical architecture drawn from the repository and supplied documentation.

01

The project uses Java, PostgreSQL, JDBC as its documented technical foundation.

02

The source tree and supplied README describe the primary modules; individual files and runtime behaviour may vary by platform.

04 · Source and design

Implementation examples and code walkthrough

Weather data model persisted by a Java server

Proiect MIP-JAVA-Vlaicu_Andrei_Danielo_10LF234/Proiect-MIP_Vlaicu_Andrei_Danielo_10LF234--Server/src/main/java/proiect_mip_server/WeatherData.javaVerified GitHub source excerpt (abridged)
public class WeatherData {
    private String location;
    private String date;
    private double temperature;
    private String condition;
    private double precipitation;
    private double windSpeed;
    public WeatherData(String date, double temperature,
                       String condition, double precipitation,
                       double windSpeed) {
        this.date = date;
        this.temperature = temperature;
        this.condition = condition;
        this.precipitation = precipitation;
        this.windSpeed = windSpeed;
    }
}

Handling client sockets

Java

The server accepts TCP clients on a listening socket and dispatches each connection to its own handler.

Proiect MIP-JAVA-Vlaicu_Andrei_Danielo_10LF234/Proiect-MIP_Vlaicu_Andrei_Danielo_10LF234--Server/src/main/java/proiect_mip_server/WeatherServer.javaSelected source excerpt
try (ServerSocket serverSocket = new ServerSocket(PORT)) {
    while (true) {
        Socket clientSocket = serverSocket.accept();
        new Thread(new ClientHandler(clientSocket)).start();
    }
} catch (IOException e) {
    System.err.println("Eroare la pornirea serverului: " + e.getMessage());
}
06 · Technology

Programming languages & stack

Java
PostgreSQL
JDBC

Technology overview: Java, PostgreSQL, JDBC. The list reflects documented tools, dependencies and proposed components; for planned projects it does not prove implementation.

File types identified: 4 .java, 1 .sql

07 · Reality check

Status, evidence & limitations

The project status is based on repository sources and supplied documentation. It may be updated as the project evolves. A published case study is not a certification of production readiness.
  • The stored records are project data, not current authoritative meteorological forecasts.
08 · Resources

Project resources

Explore the public repository, source code and project documentation on GitHub.