The Well House Newsletter - Saturday, 1st November 2014
About us and this newsletter [link] ...
Previous editions: September 2014July 2014May 2014March 2014January 2014November 2013September 2013July 2013May 2013 • or current edition

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics
Keynote article ...

Clustering on Tomcat

Subject: Clustering, using Apache http server (version 2.2.14 in my example) with mod_proxy_balancer as the front load splitter and Apache Tomcat 6.0.20 as the replicated application engine. [[Tip should also work for other recent 2.2.x and 6.0.x versions]]

Background

This is a follow on article from Load balancing with sticky sessions (httpd / Tomcat), where I looked at sharing out the application work between a number instances of Tomcat from an Apache http server (httpd) that did the bookkeeping. In a nutshell, the Apache http server sent new arrivals to a 'random' Tomcat, and then used sticky sessions so that - when a visitor came back for their subsequent visit in the same series of accesses - they would always talk to the same Tomcat and could continue their conversation with the server having full knowledge of the position to date.

The balancer alone is a good solution as far as it goes but:
• What happens if the Tomcat that has been stuck to goes out of service?
• What happens if you have such a lot of traffic that you need to replicate your httpd front end?
• What happens if your httpd fails?
• What is you don't actually want to use sessions, but still need what appears to be a single Tomcat?

One possible option to addressing some of these is to use the clustering capability of Tomcat, which I'll describe below. But you should first consider if you really need the extra step:
(a) can I accept that a session will be lost on the rare occasions that a Tomcat goes offline?
(b) is writing to a backend database going to preserve sufficient information anyway?
and if the answer to either is "yes", you probably do NOT need to cluster.

How does clustering work?

You run your web application on a series of identical (or rather "near identical" - the IP address will differ!) servers. With clustering turned on, each of the servers in the cluster is broadcasting (via multicast) any changes made in sessions, cookies, etc to any other listening cluster members on that same multicast address. So that when a visitor comes back for his / her next access, all the machines know what's been going on and can knowledgeably handle the request, even if the original machine isn't available.

You can turn clustering on in Apache Tomcat 6.0.20 simply by uncommenting the line in the default server.xml file that relates to it:
  <Cluster className = "org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
and restating your Tomcat. Older versions of Tomcat (such as 5.5) had a long configuration section listing the ports, replication time, IP addresses to use, trigger files all of which are important but none of which actually needs to be changed from default in the current release that's the target of this article.

Once you have turned clustering on (yes, it's now that simple), your machines will be communicating ... it's rather like starting a rumor in an office - before you know it, EVERYONE who's around has heard the rumor.

Clustering with the balancer

If you have already implemented balancing with sticky sessions (as covered in the preceeding article), turning on clustering will cause the data to be shared around. Most of the time the data passed around will not be used - it will ONLY form a backup of the session, to be used if the balancer is unable to reach the sticky machine because it has done down or been taken out of service.

With sticky sessions activated, even a second front-end Apache http server won't cause a switch from one Tomcat to another unless a fail-over occurs, as the jvmroute is a part of the cookie so either (any) of the httpd front ends will correctly forward to the original Tomcat. And if you have an intelligent hardware load balancer, that too will be able to forward consistently and the the clustering will remain merely as a backup.

If you disable sticky sessions on your balancer, the metrics will change. Forwarding will now be at shared to each of the Tomcats in the balanced group / cluster group (take care that all members of the balance group are included in the cluster!) and so the visitor will get to a differnt back end box each time. But that's now perfectly fine, as they're sharing the data between them so will all know about the originator.

Testing if your cluster is working

Ironically, clustering and balancing is designed to be transparent, so how do you test whether it's working?

My first simple 'trick' is to change the background colour of the pages returned from each cluster member so that "if it's orange it must be Holt" and "if it's blue it must be Chippenham" (our servers are names after local towns and villages!). Going a little further, you can edit your servlet / JSP to return the name of the current host. In Java, the following line:
  String myname = InetAddress.getLocalHost().getHostName();
will return you the local name of your computer, so that you can then echo the name.

On last Tuesday's course, I took our sample "Barman" script that remembers how many drinks you've had in a session (visit counter!) and extended it into a "Pub Watch" script, where each of the barman communicates with his colleagues in neighboring pubs to keep track of who's out on the town, and how much they have had to drink in each establishment.

If you click on the links in the previous paragraph, you can download the source code for "Barman" and "PubWatch" and try the code out for yourself. Using the balancer manage that I introduced at the end of yesterday's article, you can open and close individual pubs and see how their customers go elsewhere for their next drink, and you can turn sticky sessions off in the balancer and see how faithful customers will then hit the road and go to a different pub each time for their next drink.

Some notes on clustering

1. The machines in the cluster communicate through multicast, so must be on the same subnet.

2. It's a good idea for the subnet you use to have plenty of capacity if your environment is busy, and for it to be firmly behind a strong firewall from your own company's general user traffic, let alone the Internet

3. If you have multiple Tomcat clusters on the same subnet, you'll need to configure one of the clusters away from the default settings - otherwise they'll end up as being one big cluster (you'll find the word 'tribe' creaping in here!)

At present, we mention clustering on our public deploying apache httpd and Tomcat course. Only a small proportion of our delegate want to go 'that far', and for newcomers who hadn't done any web server work when they first came along a couple of days earlier, it would be just too much for the one session.

An extra day on the end of a Tomcat course, coverage in a private course, or a special session set up for the purpose ... all are possible to help you learn how clustering and balancing work. We'll have a network of computers set aside at our training centre for the purpose of setting up a test case, experimenting with configurations, seeing what happens when machines are switched on and off. Something you wouldn't dare so with your own production environment, and might be reluctant to do even on your development of test networks (that's even assuming that you do HAVE multiple machines at the development or test level).
(this article written on 2009-10-30)

Other articles ...

Linux and Shell Programming
[4259] Upgrading our training systems to all the current stable versions
[4063] Backups by crossover between network centres - setting up automatic scp transfers
[4056] An overpractical test of our backup strategy!
[4045] Linux Web Server - User Roles, User Accounts, and shared administration
[3891] The components of an Apache httpd / Tomcat / MySQL stack and what each does
Top or Show all for Linux and Shell Programming

Apache HTTP and Tomcat Servers
[4277] Sending a message to the server and changing text on a page when a button is pressed
[4178] Where are you? How to write a geosensitive application
[4064] Apache httpd - a robust, open source web server
[3996] Tips on Tomcat - moving applications around
[3915] How does PHP work?
Top or Show all for Apache HTTP and Tomcat Servers

C and C++ Programming
[4128] Allocating memory dynamically in a static language like C
[3982] Using a vector within an object - C++
[3811] Associated Classes - using objects of one class within another
[3809] Dwarf Exception Unwind Info
[3807] Reading (and writing) files in C++
Top or Show all for C and C++ Programming

Melksham
[4311] Melksham Campus - how is it going - October 2014 - (new - 2014-10-06)
[4309] Even in the dark of night, the train comes bearing passengers - (new - 2014-09-28)
[4291] Train Online article - ACoRP / TransWilts introduction
[4288] Some questions on how our Community Rail Partnership works
[4287] TransWilts CRP - walking in Melksham Carnival
[4284] Talk and walk to promote train service - Melksham Carnival
[4278] Future Swindon - Westbury train services. At current level into the future?
[4262] Updated staff systems helps us look after our customers better
[4254] Where is Melksham Market? In the Market Place, every Tuesday
[4243] Taking Greyhounds and Lurchers to London for the day
[4229] Thin end of the wedge - plan to be thicker in 2014
[4225] Melksham Resident? Commuter? Save yourself 2000 pounds and 100 hours in 2014, and have a better journey!
[4218] A THANK YOU to those who have brought the new train service to fruition
[4198] New trains for 2014 - Swindon to Westbury. Meetings Melksham, Swindon, Trowbridge, Chippenham and Westbury
[4188] Extended Weekend - but not a quiet one!
[4186] Melksham to Bath and Zigzag buses - at a turning point?
[4185] TransWilts Trains - running a successful campaign talk
[4183] Reaching a hotel standard where 99% of guests would return - and maintaining that standard
[4173] Train and Rail Travel - who runs it and where do I ask questions?
[4170] Herman Miller coming to Melksham - the Chamber of Commerce is briefed
[4169] Around and about - Melksham
[4164] Melksham Market - every Tuesday
[4151] Tell me a bit about Melksham
[4145] After the storm
[4119] Melksham - Flower Town
[4116] International Melksham - industry, and beautiful countryside
[4103] Questions from children about Melksham Campus
[4101] POETS day at Well House Manor
[4097] Melksham Chamber of Commerce - Report for AGM, 21st May 2013
[4084] New Pictures - Melksham Pack Horse Bridge
[4048] Art, Catering, Transport - Melksham Campus Elements - reaching local experts
[4046] Over a hundred welcoming businesses - Melksham Town Centre
[4041] Report on the last year - Melksham Chamber of Commerce and Industry for Melksham Without Parish Council
[4040] Report on the last year - Melksham Railway Developement Group for Melksham Without Parish Council
[4039] Seed Swap at Well House Manor
[4020] Melksham Community - Annual Report / MCAP
[4018] Afternoon Teas and Breakfasts at Well House Manor
[4014] Costa Coffee in Melksham - is it a good idea?
[4002] Images of Melksham you havent seen before
[3987] Melksham Chamber of Commerce - join us in our future
[3967] Hotel bedroom - even larger TV!
[3960] Picture - between Lacock and Melksham
[3949] Melksham Spa from Woolmore Farm
[3948] Quiet little town? Advanced Technology Centre?
[3944] Melksham Christmas Lights, 2012
[3904] Want to help us improve transport in Wiltshire? Here is how!
[3901] How much parking should there be at Melksham Campus?
[3897] Autumn scenes from Melksham
[3889] Melksham Chamber of Commerce - whence in 2013 and beyond?
[3888] What a difference a year made - Melksham Campus
[3882] Community Transport - Pewsey, Taunton, and the whole picture too
[3880] Chamber of Commerce - looking forward in Melksham and in Wessex
[3869] How have Melksham shops changed in 60 years?
[3867] The difficult interface between the business, council and voluntary sectors
[3861] Melksham Food Festival - the food fayre - pictures
[3858] The apple crop of 2012
[3834] Geekmas 2012 - celebrating open source languages such as Perl, PHP and Python
[3828] Pimms and Croquet in Edwardian Melksham - 8th September 2012 - Food Festival Event
[3827] Melksham Community Apple Pressing Day
[3822] Town Clean - Melksham
[3821] Well House Manor at Dawn ... and later in the day
[3818] Making things happen - litter and ASB and lost dogs in Melksham
[3812] The Melksham News - July 2012 - Part 1, Campus and Chamber of Commerce
[3787] Melksham Pride - the Chamber of Commerce, and the future
[3774] Melksham - a new dawn
[3768] Melksham Chamber of Commerce - looking to our future shape. Pivotal meeting next Tuesday
[3767] How well do you know Melksham?
[3752] Melksham Visitors Map - Bus routes and train lines to and from the town
[3751] Public transport for international arrivals into Melksham
[3748] Not everyone has a computer - 9 more ways to learn about the Melksham Campus
[3744] Short Web Addresses for Melksham
[3741] Low carbon and other environmental lessons for the Melksham Campus?
[3739] Go green - business seminar in Melksham
[3735] A walk around Melksham this morning. Can you place all of these?
[3732] Ten more visitors to your premises every day?
[3719] Strawberry Cream Teas, Well House Manor, Melksham, starting this weekend
[3714] Just 12 winners? Or 371 or more? Town Centres.
[3712] Some unpublished and historic pictures - Museum of Melksham
[3710] Encouraging business in Melksham and its neighbourhood - keep business local??
[3706] An exciting Chamber of Commerce AGM - sound like an Oxymoron?
[3704] The Bowerhill Villager - a newsletter for Bowerhill, Melksham
[3703] A Museum for Melksham History. Open from 12th May 2012.
[3700] Why do people use chains rather than independent traders?
[3697] Events in Melksham - read all about them, and tell us about yours
[3696] Melksham government and business organisations
[3693] Wiltshire Business Support Service
[3692] Deeper than Art - An exhibition of the tattoo Canvas - Melksham
[3682] Melksham Business Newsreel
[3677] Some advise for guest speakers at meetings
[3672] Melksham Train Service - please support the TransWilts case for regular trains
[3663] Changing shops and organisations - Melksham, the last and next five years
[3659] Welcome to Melksham - our new communities
[3657] Basham Festival, Melksham, early August 2012 - a welcome
[3656] TrainWest 2012 - 14th and 15th April, Melksham, Wiltshire
[3647] Along the brook - East Melksham to Melksham
[3644] The way of the Prioress - Melksham history pictured today
[3643] Hotel food, Melksham - enjoy the variety of the American way
[3627] Meeting Report - Tuesday 21st Feb - to Melksham Chamber of Commerce from Shadow Community Operations Board
[3605] Snow comes to Melksham, Wiltshire - pictures
[3604] Melksham Campus - a blog you can read, and a place you can comment
[3598] Melksham Civic Awards - report and pictures
[3597] Niche businesses in Melksham. From glass painting to Tcl and Lua courses.
[3586] Emergency First Aid Provision at Well House Manor - part of the service
[3569] Images of the new year in Melksham
[3560] Melksham, Month by month through 2011
[3543] Some different pictures from Melksham
[3531] Blowing our trumpet about Melksham
[3527] Melksham - changing times, an opportunity for the future
[3526] Melksham has a Heart - Montage picture for sale
[3522] Networking - North and West Wilts FSB Style
[3520] Quintessentially English - scenes from our Wiltshire town
[3518] Melksham House / Melksham Campus - Seniors Input Sought
[3507] Melksham Forward - meeting summary and pictures
[3505] Well House Manor - Winter Warmers - Open 7 days a week, 11 to 5 ++
[3503] Melksham House - a community facility
[3502] Sunday Evening ... newest and oldest Melksham pictures
[3500] Campus Shadow - a great responsibility
[3499] Images of Melksham
[3496] Melksham - Business to Business Speed Networking - build ahead for 2012
[3495] Looking forward - Chamber of Commerce has 2012 and beyond on the agenda
[3492] Upcoming events in and about Melksham - more dates for your diary
[3481] Some thoughts in answer to some Melksham Campus questions
[3475] Havant - Shop Frontages.
[3470] Currently pictured in Melksham
[3438] Melksham to become a part of Trowbridge?
[3427] What is on the Melksham Agenda?
[3423] 1 + 1 + 1 + 1 = 12?
[3420] Making best use of the new enthusiasm for Melksham
[3405] Where do businessmen stay in Melksham?
[3389] Plenty to do in Melksham
[3383] Are people who walk into Melksham being asked to subsidise parking?
[3380] Melksham Jelly - An Occasional Office for Home Workers
[3344] Repost - some useful pages on our site
[3343] Summer Sunday Train Service Starts - Swindon Chippenham and Melksham to Weymouth
[3340] Summer Sunday Timetable - TransWilts Trains
[3337] Home Grown Pigs, near Melksham Station
[3334] A lesson from the sporran market?
[3327] Why are chefs miserable?
[3325] The Olympic Torch, and Melksham House
[3317] Self Portrait (in words)
[3307] Melksham Community Radio launches
[3305] Getting away from the madding crowd - an intercontinental journey
[3304] Scones with or without fruit?
[3299] Presidents Report to Melksham Chamber of Commerce, 24.5.2011
[3295] Strawberry Cream Teas, Coffee straight from the Bean and freshly squeezed orange juice - Melksham, every afternoon
[3279] Letter to The Editor
[3277] Between a rock and a hard place.
[3275] Melksham Chamber of Commerce - grows to appoint new Press Officer. Welcome. Sam
[3272] Melksham Car Parking - current charges and limits
[3258] Morning in Melksham
[3249] Events - Spring and Early Summer 2011 in Melksham
[3248] What have these pictures in common?
[3246] Melksham - the way forward. 26th April, Well House Manor
[3239] TrainWest, 2011 in pictures - Christie Miller, Bowerhill, Melksham
[3232] Around and about Melksham in more pictures
[3230] Whaddon - near us and yet so remote from us
[3229] Coincidence, or naturally repeating event?
[3227] Her favourite store
[3225] Campus - answer to business questions
[3221] How long is a speech?
[3217] Vandalism and riot from the minority - the effect
[3214] Melksham Campus - any last minute inputs from Melksham businesses?
[3209] Seeing Electricity Pylons near Melksham
[3199] Lunch for Melksham Businesses
[3194] Buses - what they cost and their future direction in the SW and in Wiltshire
[3193] Melksham Campus - what, why, questions, concerns and how you can input
[3188] What proportion of the British Workforce still works a Monday to Friday, 9 to 5, week?
[3182] What we look for in a lunchtime cafe restaurant in Melksham
[3173] What is the Melksham Chamber of Commerce?
[3172] On consultations, car parking, and Melksham town centre
[3162] Keep your business customer-friendly!
[3127] Burger me!
[3117] Opportunities for Melksham - new businesses in the town
[3088] Melksham - two many councils?
[3050] Views of Melksham - November 2010
[3032] Coincidence, or Conspiracy - a wrong email address
[2995] A river in Melksham is not just for boaters.
[2984] Customer Review - Hotel Room, Melksham
[2959] A Melksham news roundup
[2957] Welcome to Countrywides new Melksham store
[2954] Railway meetings, trips and meetups this autumn
[2932] Getting into and out of Wiltshire towns .. a.k.a. Car Parking?
[2902] Community consultation - a true open input
[2891] Wiltshire Council ask how they can help businesses
[2883] Melksham Oak - photos of the new community school
[2872] Moved - Melksham Lorry Park
[2869] Contact Information for Melksham Oak Community School
[2867] Cycling in Melksham, and looking forward
[2854] Melksham Food and Drink Fair and Town Crier Competition
[2853] Transport in Wessex - today and into the future
[2837] Lorry Parking in Melksham
[2829] Dauncey Gardens, Melksham
[2827] Melksham - a gem in Wiltshire
[2782] Tell the Melksham Chamber or you only have yourself to blame
[2779] The history and future of Melksham Chamber of Commerce
[2770] Melksham Chamber of Commerce - Presidents report to AGM
[2748] Monitoring the success and traffic of your web site
[2739] Melksham Scouts
[2725] How do our tactics help us meet the strategy, for the greater good?
[2716] Melksham in Pictures
[2708] The bull on the footpath
[2691] New brochures for the Melksham area
[2683] Car Parking in Melksham
[2666] Random thoughts on Melksham Town Planning and development
[2665] Early Spring walk in Melksham
[2664] Oliver Cromwell at Bristol Temple Meads
[2640] How is your tax pound spent?
[2597] Does my course include breakfast, lunch, dinner and a hotel room?
[2594] Melksham Area - your community view is sought
[2591] Melksham Hotel, B and B or business accommodation?
[2585] Consultation in Melksham, on Melkshams future
[2584] Melksham Food and Drink Festival, 2010
[2574] Summary of Wiltshire Core Strategy responses
[2546] How well do you know Melksham - a quiz for Christmas
[2544] Vision for Wiltshire
[2540] Rock and hard place .. and the relaxing right one won
[2531] Melksham - new Tuesday Market
[2524] An update on legal changes from the FSB?
[2521] Melksham Market - Tuesdays, 09:00 to 14:00
[2517] Blogging accuracy - open invitation for any corrections
[2514] The road show has been - where now?
[2512] Kim of the Castle
[2508] Community Area Partnership - inaugural AGM
[2497] Brown horses in Melksham
[2495] Planning the future of Wiltshire
[2487] Melksham Forum
[2480] Pantomimes around Melksham - 2009/2010 season
[2465] Melksham Town - asleep or awake?
[2459] New Web Site for Melksham Chamber of Commerce
[2438] Listening to The Minister
[2437] Wiltshire Unitary News - Chamber of Commerce Intelligence
[2349] Businesses effected by road works in Melksham
[2329] Great to be in Melksham
[2289] pre-Inaugural briefing - Melksham Community Area Partnership
[2288] Wiltshire Community Area Partnerships
[2271] Dogs Trust, Dog Show, Newbury
[2262] History is not always pretty
[2260] Important - the future of Melksham / Chamber of Commerce
[2239] Cornerstone Cafe, Melksham
[2236] Alumni - revisiting and supporting the old University
[2220] Melksham Traders - where do we go?
[2194] Melksham Business Map - Chamber of Commerce, Tourist Information and Town Council
[2181] You cannot please all of the people all of the time
[2175] Melksham in pictures
[2128] Wiltshire - where everybody matters
[2119] Make your business a DESTINATION business
[2111] Business Networking for Melksham - 23rd April
[2095] Blue Ridge and Melksham Chambers of Commerce
[2066] Melksham Industrial
[2043] Confidence, Customer Service and Tourism in Melksham
[2015] Service Excellence Awards
[2012] The Wiltshire Police
[1997] Travelling to a course - station pickups
[1987] One Cheer for Local Democracy - Asda in Melksham
[1979] Looking forward, in Melksham, in 2009
[1966] Background to the TransWilts Train Fiasco
[1937] Getting hold of the wrong end of the stick
[1934] Lidl opens in Melksham
[1928] Melksham Oak Community School, Melksham, Wiltshire
[1904] Ruby, Perl, Linux, MySQL - some training notes
[1894] Shopping in Melksham
[1892] Melksham Chamber of Commerce and Industry
[1883] Spa Road Garage and Convenience Store, Melksham
[1881] Wiltshire Council says - part 1
[1880] Melksham Chamber of Commerce, or the FSB
[1855] Volunteer v Employee - a skewed balance? (FSB)
[1843] How many cups of coffee?
[1823] FSB - an update.
[1792] All the pieces fall into place - hotel and courses
[1748] Hotel room prices - Melksham, Wiltshire
[1725] A future vision for Melksham
[1655] A date for your diary - 16th July 2008
[1654] The old sayings are the best (FSB)
[1642] Summer!
[1633] Changing a screen saver from a web page (PHP, Perl, OSX)
[1594] Please support improvements in our train service
[1560] HST Power Car TravelWatch SouthWest
[1559] Calling on Melksham / Trowbridge / Devizes / Chippenham businesses
[1544] FSB, EGM, AGM.
[1515] Keeping staff up to date on hotel room status
[1512] Summer Ball at Bowood - Saturday 12th July 2008
[1507] Comments on proposed Asda Superstore for Melksham
[1504] Flooding by Asda-s proposed new supermarket
[1479] FSB leaves its members feeling like mushrooms
[1476] Shopping for Christmas and looking forward
[1451] More PHP sample and demonstration programs
[1447] Refa Tandoori Indian Restaurant, Melksham
[1436] A little touring help during a business trip to England
[1432] Wiltshire County Council - Budget Consultation
[1429] Remembrance day - inside a church and inside the day
[1394] Business to Business Networking - North and West Wilts / Melksham
[1368] Getting the local voice heard
[1360] Asda in Melksham - Welcome or not?
[1359] Little Gems but not Lettuce
[1350] FSB (Federation of Small Businesses) Western Region
[1343] Melksham Laundrette
[1341] Moving to Melksham? Househunting map.
[1332] Melksham Hotel - Five Star Kitchen!
[1330] While waiting for Melksham Post Office
[1329] Subway Restaurant in Melksham, Wiltshire
[1286] A wasted evening?
[1284] An update on the West Wilts show ...
[1280] West Wilts - no longer Wet Wilts - show
[1278] West Wilts Show
[1271] Till the cows come home
[1266] Party in the Park
[1258] A day looking ahead for Well House Consultants
[1257] Data cabling (Cat 5e), Melksham, Wiltshire
[1253] Key new contacts
[1250] Business speed networking - a place tonight!
[1249] Is this how to run a business for businesses?
[1246] An oddball day. Strange experiences!
[1226] Melksham Art Cafe
[1223] Asda opening large new store in Melksham
[1208] Meet other local businesses in Melksham
[1206] Where and When - can you place the picture?
[1177] Sorting out for a site map
[1157] Speed Networking - a great evening and how we arranged it
[1137] Wiltshire Circles
[1133] B-2-B Networking, 20th April. Useful for YOUR business?
[1117] Newport Male Voice Choir
[1078] Wiltshire - multicultural community
[989] Melksham Quiz
[981] Finalist reception - Wiltshire Business of the Year
[977] Melksham and Norwich
[957] Improving the historic town of Melksham
[879] Tuesday night is party night
[866] A lazy programmer is a good programmer
[856] The train returns for a few weeks
[851] Emergency First Aid Training
[830] Butterflies in a Wiltshire garden
[811] Melksham in Bloom
[805] Melksham Carnival Parade
[796] Busy day in Melksham
[717] A customer service company
[715] First way to get rid of customers
[676] Melksham, Wiltshire
[606] Train service from December
[538] A company we can work with
[529] Halal in Melksham
[500] Bowerhill, Melksham, 2006 Calendar
[475] Where to stay in and near Melksham
[472] Are you free on 29th October - Charity ball
[437] Outside of the box
[413] Save the train
[354] Ballooning from Bath
[344] Walk in Bath
[329] the Stately Homes of England
[315] Supporting local business
[312] Maud Heath
[307] Farming yesterday
[305] Within about an hour
[291] Why are we no. 404
[269] Free parking for short errands in Melksham
[266] A beautiful place to live and learn
[176] Extra chips
[58] Call Centres, selling, and a pause for thought
[51] Gym and swimming - Melksham Blue Pool
[47] Effective fundraising
[40] Take the train to training
[5] Driving in the UK for new arrivals from the USA
Top or Show all for Melksham

Training from Well House Consultants
[4305] Learning to program in Java - yes, we can help. - (new - 2014-09-26)
[4300] Public courses - Autumn 2014 and 2015 - (new - 2014-09-19)
[4280] Making use of huge data, object orientation, unit testing and frameworks
[4279] Upcoming public courses from Well House Consultants
[4261] Updated delegate computers - nine of the best
Top or Show all for Training from Well House Consultants

Running a training and hotel company
[4302] Sunday is never quiet at Well House Manor - (new - 2014-09-21)
[4293] Certification - (new - 2014-09-15)
[4266] Facebook marketing - who are we reaching?
[4255] Making a personal gain from a more expensive business hotel stay
[4245] It always happens to me when I'm in Borehamwood!
Top or Show all for Running a training and hotel company

Well House Manor - Hotel and Training Centre
[4299] The Best Bed and Breakfast in Melksham? - (new - 2014-09-19)
[4264] Weekend breaks by train to Melksham, Wiltshire
[4175] An alternative format for a new train service timetable
[4174] What would the extra trains from Melksham mean to your journey?
[4166] Pimms and Croquet - Melksham Festival of Food and Drink
Top or Show all for Well House Manor - Hotel and Training Centre

For the Webmaster, Postmaster and moderator
[4303] Libre Office - unable to get past REOPEN WINDOWS? question - (new - 2014-09-22)
[4292] The Horse is back! - (new - 2014-09-15)
[4283] Can a legitimate forum post become illegal a year later?
[4239] Facebook marketing - early experiences
[4234] Change to Libel and Defamation laws from 1st January 2014
Top or Show all for For the Webmaster, Postmaster and moderator

General Programming Topics
[4206] Writing the perfect program in Tcl?
[4153] Rooms available tonight - how to code an algorithm from first principles
[4114] Teaching CodeIgniter - MVC and PHP
[4098] Using object orientation for non-physical objects
[4096] Perl design patterns example
Top or Show all for General Programming Topics

PHP - the language and its application
[4310] Problem ... I want to print a series of numbered forms - (new - 2014-10-05)
[4244] Disambiguation - PHP List
[4136] How do I post automatically from a PHP script to my Twitter account?
[4106] Web server efficiency - saving repetition through caches
[4075] Further recent PHP examples
Top or Show all for PHP - the language and its application

Java and the Java Environment
[3997] Servlet v JSP (Java Server Page). What is the difference?
[3573] New in Java 7 - and why we are not running public Java 7 courses
[3497] Not the same language - but based on the same constructs
[3365] Turning bright delegates into bright and knowledgable ones
[3293] Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat)
Top or Show all for Java and the Java Environment

Around, about and nearby to Wiltshire
[4265] A lovely meal in Swindon - just a short walk from the station
[4233] Open for the new year - Imber
[3989] Plenty to see and do - even in Winter - on a Well House Manor weekend
[3884] Pictures - across the park, French Weir and River Tone, Taunton
[3800] Fancy a weekend away? Try Well House Manor in Melksham, Wiltshire
Top or Show all for Around, about and nearby to Wiltshire

The Perl Programming Language and its use
[4301] Perl - still a very effective language indeed for extracting and reporting - (new - 2014-09-20)
[4296] Polishing the Perl courses - updated training - (new - 2014-09-17)
[4100] Perl Dancer - from installation to your first real application
[4099] Perl Dancer - a Perl Framework - Installation and first test
[4031] Showing what programming errors look like - web site pitfall
Top or Show all for The Perl Programming Language and its use

Client Side Languages (HTML, CSS, Javascript)
[4037] Cascading Style Sheets and formatting your web page
[4036] HTML tags uses in these blog articles
[4035] Special characters in HTML
[4034] The VERY basics of a web page ... and web site
[3532] Sharing the user experience - designing a form with the customer in mind
Top or Show all for Client Side Languages (HTML, CSS, Javascript)

Ruby and Ruby on Rails
[4294] A bright new gem - updated Ruby training - (new - 2014-09-16)
[4010] Really Simple Rails
[4009] Clear, concise examples - Ruby classes and objects.
[4008] Reading and checking user inputs - first lessons - Ruby
[4003] Web and console - same principle, same code - Ruby example
Top or Show all for Ruby and Ruby on Rails

SQL and MySQL
[4007] Which database should I use? MySQL v SQLite
[4006] Ruby / SQLite3 example program, showing JOIN v LEFT JOIN
[3928] Storing your intermediate data - what format should you you choose?
[3494] Databases - when to treat the rules as guidelines
[3455] MySQL, MySQLi, PDO or something else - how best to talk to databases from PHP
Top or Show all for SQL and MySQL

Tcl, Tcl/Tk and Expect
[4258] Keeping you Tkinter display up to date while monitoring
[4209] Lists in Tcl - fundamentals in a commented source code example
[4208] Tcl + Tk (Wish) - an introduction and revision example
[4207] Exception handling in Tcl
[4205] Regular Expression Substitution - Tcl
Top or Show all for Tcl, Tcl/Tk and Expect

Programming in Lua
[4297] Lua courses - an update - (new - 2014-09-18)
[4274] String formatting in Lua - string.format as a wrapper for sprintf
[4273] Dot or Colon separator between table name and member in Lua - what is the difference?
[4272] Lazy operators in Lua - what they mean, and examples
[4271] Line, block and nested comments - Lua compared to other languages
Top or Show all for Programming in Lua

Python Programming
[4307] Identifying and clearing denial of service attacks on your Apache server - (new - 2014-09-27)
[4298] Python - an interesting application - (new - 2014-09-18)
[4295] A longer Python ... training course - (new - 2014-09-16)
[4236] Using Python to analyse last years forum logs. Good coding practise discussion.
[4213] Formatting options in Python
Top or Show all for Python Programming

And also ...
[4308] What can you and I learn from online quizzes? - (new - 2014-09-27)
[4286] Reaction in Radstock to new First bus prices
[4285] Pictures of Melksham Heritage Discovery Fair
[4281] A different vision for the future
[4275] Eurpoean Elections, and other elections ahead. Some thoughts on campaigns and policies
Top or Show all for And also ...

Public Transport
[4306] Four time target - good news. Four time prediction - poor forecasting. - (new - 2014-09-26)
[4290] National Express replaced by train and by Megabus from Chippenham to London
[4289] It may be cheaper to buy in bulk
[4276] Swindon to Weymouth - by train, the traditional way - 2014
[4269] Survey - Journeys
Top or Show all for Public Transport

Fun and Flames
[4304] Please do not ask me to be the chair! - (new - 2014-09-25)
[4282] On tipping - and the expectation of a tip
[4167] The important customers are the majority, not the celebrity
[4140] Riots in Melksham
[4067] The woman, the television, the bullock and Darlington
Top or Show all for Fun and Flames

Keynote Articles
[2483] Clustering on Tomcat
[2384] Looking ahead to the Autumn season of training and accommodation
[2144] Looking for a career change - Physician to Web Site Designer
[1955] How to avoid duplicating web page maintainance
[1857] November and December Public Course Schedule
Top or Show all for Keynote Articles

Unclassfied Articles
[4242] A busy January
[4237] Why the long gap?
[4127] Exploring the area ... Ynys, near Harlech
[4054] On Salford Docks - mind over matter?
[4047] Looking for Creative Design, Catering and Transport inputs to help with Melksham Campus
Top or Show all for unclassified

Public Transport Training from Well House Consultants And also ... Tcl, Tcl/Tk and Expect Programming in Lua Python Programming Well House Manor - Hotel and Training Centre Apache HTTP and Tomcat Servers The Perl Programming Language and its use Ruby and Ruby on Rails PHP - the language and its application C and C++ Programming Linux and Shell Programming Melksham SQL and MySQL For the Webmaster, Postmaster and moderator Java and the Java Environment Fun and Flames Running a training and hotel company Around, about and nearby to Wiltshire Client Side Languages (HTML, CSS, Javascript) Keynote Articles General Programming Topics

A little more about this newsletter ...

At Well House Consultants, we run niche IT training courses ... and we run a hotel for delegates on those courses and other visitors to Melksham too. And we make a lot of friends - have a lot of ambassadors with whom we want to keep in touch. So every day Graham (that's me, writing this piece) puts together an article or two which might include the latest sample programs that I've written during the current course, new information about Well House Manor - our business hotel, tips on search engine optimisation, announcements of upcoming public courses, pictures of local places, and even (on occasions) rants and whimsical pieces to keep those friends up to date and in touch. The feeds are available directlt via the Blog - "The Horse's Mouth", they're on our Twitter Feed and you can find me at my LinkedIn profile. But most people just want to look us up occasionally - every month or two, and then to catch up on the latest news just for their particular subjects of interest ... and that's what this newsletter is about

You'll find above the titles of ALL the new articles written in the last two months, listed by major subject area, and showing as (new) with their date of publication. You'll find additional articles in each category too - topping each category up to a minimum of five articles. And you'll find a link at the end of each section which lets you expand that section to show the titles of every article that's been published in that section. After all, "the old ones are often the best ones", aren't they?

go to Top or other editions September 2014July 2014May 2014March 2014January 2014November 2013September 2013July 2013May 2013 • or current edition


Training sample © 2024, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/newsletter.php
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net