Since 120 years Hurtigruten is offering a regular service along the coast of Norway. Many Enthusiasts follow the ships by watching the webcams of the 34 called ports.
The webcam list shows at which port a ship is moored according to the schedule.
Besides the webcam links there are links to MarineTraffic with map details of the ports and ship positions. In addition a weather forecast is displayed for every port. A forecast for the next days can be selected with four different periods in each case.
The web application is based on Java Server Faces, which as a MVC software pattern supports a clean separation between presentation, interaction and model. The model is stored in a MySQL database, the weather forecasts are fetched every two hours by a WebService from the Norwegian Meteorological Institute and are cached on the server.The JavaBeans and servlets are running in a Tomcat container, ICEfaces is used as JSF library.
The Norwegian Meteorological Institute offers an open WebService with access to their climate database. This example application allows the grafical presentation of weather data from a small selection of norwegian stations. "Info" shows a map delivered from the norwegian Kartverket with the station's location.
A period of "day", "week", "month" or "year" is selectable, with the possibility of daily mean values as of week. For both left and right y-axis you can add up to 4 stations with auto or manual scaling.
When selecting "Wind direction" you get an additional wind rose diagram.
You can select different sector counts, wind speed intervals, auto or manual scaling as well as grid for the polar axes.
This application also is based on JSF using the ICEfaces library. The constant station information is fetched just one time by the WebService and stored at application scope. The diagrams are drawn by Java Swing as Graphics2D object and created as png-image. Already present weather data are cached at session scope.
For a robust representation and correct handling of physical quantities the framework Eclipse UOMo, Units of Measurement, Version 0.7 is used.
Measurable quantities are expressed as a combination of a numerical value and a unit. In domains like science, engineering, medicine or manufacturing the practice of modeling a measure as a simple number should be avoided.
As primary system of units the Metric System, or SI is used. In the view these units can be converted to Imperial or USCustomary units.
Tarif mobil is a desktop application suited for insurance agents for compiling and calculating proposals and sending the completed forms.
Proposals can be compiled and edited offline and are stored locally. Subsequent editing is possible until the data are uploaded to the server by an internet connection. Printing can be done at any time. Intuitive design of the dialogs helps to reduce time and costs for learning, missing or wrong data are indicated.
When connecting to the server, the client's versions of all software libraries and PDF documents are checked and a conditionally update might be enforced. This ensures the client is always using the actual tariffs and versions and avoids costly and time consuming single installations.
Tarif mobil consists of three related packages:
- the client application, installed on the particular office PC or notebook
- the central server application
- the admin application to manage the master data, passwords, forms and documents an the server
The client is ralized in Java Swing. Data are stored as encrypted XML files. For printing the entered data are filled into the PDF proposal forms with help of the iText library. The server application is based on Java Servlets.