Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
Java web application for teaching - now with sessions and clustering / load balancing demonstrations

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]

(written 2015-02-20, updated 2015-02-19)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
J901 - Java - Servlets
  [3997] Servlet v JSP (Java Server Page). What is the difference? - (2013-02-06)
  [3044] Changing a Servlet - more that just editing and compiling - (2010-11-12)
  [2652] Reading and writing cookies in Java Servlets and JSPs - (2010-02-26)
  [1909] javax.servlet cannot be resolved - how to solve - (2008-11-26)

J906 - Java - Servlets in More Detail
  [4431] A Java servlet that is also a stand alone program. And a server that is also a web client. - (2015-02-19)
  [3293] Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat) - (2011-05-18)
  [2717] The Multiple Inheritance Conundrum, interfaces and mixins - (2010-04-11)
  [2183] Servlet life cycle, and Java Servlet variable scope - (2009-05-16)
  [1550] Java (JSP and Servlet examples) live on our server - (2008-02-23)
  [1495] Single login and single threaded models - Java and PHP - (2008-01-04)
  [479] New servlet from old - (2005-10-28)

A690 - Web Application Deployment - Clustering and load balancing
  [3892] Distributed, Balanced and Clustered Load Sharing - the difference - (2012-10-13)
  [3339] Simplest ever proxy configuration? - (2011-06-28)
  [2483] Clustering on Tomcat - (2009-10-30)
  [2482] Load balancing with sticky sessions (httpd / Tomcat) - (2009-10-29)
  [2059] Sharing the load between servers - httpd and Tomcat - (2009-02-28)
  [1995] Automated server heartbeat and health check - (2009-01-16)
  [1993] Load Balancing - Hardware or Software? - (2009-01-15)
  [1771] More HowTo diagrams - MySQL, Tomcat and Java - (2008-08-24)
  [1121] Sharing the load with Apache httpd and perhaps Tomcat - (2007-03-29)
  [934] Clustering, load balancing, mod_rewrite and mod_proxy - (2006-11-21)


Back to
A Java servlet that is also a stand alone program. And a server that is also a web client.
Previous and next
or
Horse's mouth home
Forward to
Different views of a Welsh Valley - but headed home
Some other Articles
Accessing a MySQL database from Python with mysql.connector
Images of our rail promotion campaign
Public training courses - upcoming dates
Different views of a Welsh Valley - but headed home
Java web application for teaching - now with sessions and clustering / load balancing demonstrations
The spirit of Java - delegating to classes
Wind Turbines - beauty or menace?
Using the lead - passing arrays and other collections in Java
Java example - for loop and conditionals from course exercise
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/4432_Jav ... tions.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat