Main Content

Java web application for teaching - now with sessions and clustering / load balancing demonstrations

Archive - Originally posted on "The Horse's Mouth" - 2015-02-20 01:21:23 - Graham Ellis

I regret naming "latmjdemo" with that name when I prut together a web application for the Java version of our web deployemnt course. The nameing isn't random:
• L - Linux, the operating system
• A - Apache - the Apache httpd web server that's commonly used to front web sites
• T - Tomcat - the Apache Tomcat (formerly Jakarta Tomcat) web server that provides the Java Servlet container
• M - MySQL - the database commonly used for data store and access
• J - Java - the programming language that's usually used to write substantial web apps.
Not only are these letters in this order a real "mouthful", but hosting may be on a Unix or Windows box, NginX may be used a the web server, Maria DB or SQLite may be the database and the Java source may have been replaced by Scala - yet the principles remain very much the same and our Deploying Apache / Tomcat course remains rather relevant until several elements are replaced.

So today I have copied (with no source code nor HTML changes needed!) latmjdemo.war to WellHouseApp.war, made a couple of minor revisions, and added further demonstrations into the application. These have been available as source code on our web site anyway - but they're now in the main distribution for the "tomcat course".
Barman - a session tracking demo
Landlord - sessions and application wide retained information
PubWatch - sessions across multiple servers for clustering and load balance training

Both old and new web applcations are available for delegates (and others) to download from our servers -
• latmjdemo [here]
• WellHouseApp [here]