This document describes how to build a Java-based weather station using a Raspberry Pi 2 that collects sensor data and sends it to a web client over MQTT and WebSockets. The weather station hardware includes various sensors to measure temperature, humidity, pressure, UV, air quality. A Java program on the Pi reads the sensors and sends the data to a broker over MQTT. A web client subscribes to the MQTT topic over WebSockets and displays charts and readings using JavaScript and HighCharts. The architecture uses MQTT for publish/subscribe between the Pi and client and WebSockets for low-latency updates to the web UI.