Giter Site home page Giter Site logo

weather-monitor-system's Introduction

Weather Monitor System

This is a Java RMI based weather monitor system. This system uses weather sensor data fullfill the goal. As the demo, here we have used some dummy sensors (java application) but can be replaced with real sensors.

Technologies used

  • Java programming language
  • Java RMI (Remote Method Invocation)

System requirements

  • Java JDK 8
  • Netbeans IDE (Tested on version 8.2)

Steps to run the system

Clone or download this project in to your local machine. Then open command prompt (or Terminal) and navigate into src folder(directory) in project folder. Issue following command

$ start rmiregistry
Open project in netbean

Run WeatherServer.java

This is the main server of this system. There is only one server instances should be within the system. Input data requested by program in console (You can type any thing)

Run WeatherSensor.java

This class will be used to emulate a real weather sensor. For demonstration, it will generate some random values as sensor readings. To start a sensor, it needs the location (Usually the the city which going to place the sensor) of the sensor. So, in server, sensor will identified using the name of location. Input any location name in console to start a sensor. You can create any number of sensors. Just simply run multiple instances of WeatherSensor.java file. Make sure to give unique location name for each sensor.
- Location: Kurunegala

Run MainLogin.java

Enter Credentials
- Username: admin
- Password: 123

Click "Log into Monitor" button.

System will show WeatherMonitor GUI application.
Enter Name and Location of monitor.
- Name:     Monitor1
- Location: Malabe

Click "Commit" button.

Then you will be able to see realtime weather readings of sensors in different locations.

weather-monitor-system's People

Contributors

n256coding avatar

Watchers

 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.