Skip navigation links
1-Wire Weather Service for Java -- Monitor API

1-Wire Weather Service for Java -- Monitor API

This document describes the operation of the Graphical Monitor component of the 1-Wire Weather Service for Java.

See: Description

Packages 
Package Description
wxmonitor
Real-time Monitor classes for the 1-Wire Weather Service for Java.
xmlns.uppiano_karl.wxservice  
This document describes the operation of the Graphical Monitor component of the 1-Wire Weather Service for Java. The Monitor allows you to view the Weather Service in real time as a stand-alone application on a single computer, on your local area network, or on the internet, from anywhere in the world.

Installation

The Monitor is automatically installed with the Weather Service.

Monitor Setup

The Java Runtime Environment (JRE) 1.8 or higher must already be installed. Extract WxService.zip into a directory of your choice. This will create a wxservice directory in the chosen target directory. Change to that directory. In Windows, check the shortcuts properties to ensure the startup directory points to the current wxservice directory. Launch one of the shortcuts in the wxservice directory to start Monitor. The shortcuts are named as follows:
  1. WxMonitorInproc: Runs Monitor and the service as a single stand-alone application. The simplest configuration for getting started.
  2. WxMonitorWS: Connects Monitor over HTTP to the Weather Service running as a Web Service.

The shortcuts are simply pre-packaged command lines. You can modify them as needed to point to whatever local or remote machine is hosting the Weather Service.

In Linux, use the command line from a terminal window. You can use the app launcher or shortcut editor to create start menu entries or desktop icons to run from the desktop.

To run WxMonitor as a 64-bit application, merely install and use Java 64-bit edition.

Configuration

You configure this software by editing the property files wxservice.properties and wxmonitor.properties. The Monitor UI includes a property editor for this purpose, but you can edit the files using any text editor. More configuration details are included with the Monitor documentation, and in the Configuration Quick Reference. On Windows systems, the properties are located in the current user account home directory, \Documents and Settings\user-dir\wxservice.
Skip navigation links
Copyright © 2005-2012 Karl Uppiano