Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Java - from applets to servlets. JSPs and more

When Java first came out in the mid 1990s, its main focus was on Applets - embedded chunks of applications that ran (and still run!) in a frame within a browser's window in much the same say that an image or flash movie is framed.

Java has progressed. It now has a far bigger 'market' in a whole range of other areas, such as server side programming in the form or Servlets and JSPs. And as it has progressed, so have our training courses - we do retain a handful of applet examples in our current notes, but most of our delegates - including all of those on the week just completed - are looking at the Server side of things. See [here] for details of our current "Java Bootcamp" conversion course (from other languages) and [here] if you're learning to program in Java without prior programming experience.

But that doesn't mean that applets, and graphic stand alone applications in Java have gone away completely, nor that people don't want to find examples of Jtree objects and mouseMoved methods from Swing and from the AWT. And delegates who came on courses many years ago may still wish to find the examples from the training notes, way back, to check up on an algorithm or two.

So the old examples - clearly marked "archived" in each case - may be found on our resources pages [here]. For those readers with old notes, you can look them up by name - the names are in your manuals. And for everyone - here's a starter example. Our "waxwing" graphic application (the Java examples were named after birds!) draws a bar chart of data supplied on the command line, with highlights of notable events also supplied as parameters. You can then click on a column of data to get a readout of the value, and you can redraw it as a line graph or as a scatter (spot) plot. The application will read from data supplied as applet parameters too so that it can be embedded in a web page.

The source code for the waxwing applet is [here] and the html if you want to embed it in a web page (and including the data shown) is [here].

I am not going to pretend that all the examples in this particular module are up to date - they're using old HTML standards, deprecated tags, and the Java compiler too will tell you that there are things that need updating. Yes - we know and we would not use these examples on current training courses without an update! They're archives here ;-).


The command that I ran to produce the graph and labels above:

java waxwing values=" 4453, 6528, 5678, 8244, 9831, 6712, 6498, 6167, 5768, 5157, 5169, 5306, 6249, 8504, 7141, 5879, 5329, 5273, 6506, 5130, 4915, 5465, 6413, 5262, 6226, 5234, 5272, 6301, 6495, 6487, 6441, 6497, 6341, 5780, 7519, 7029, 7398, 7519, 7470, 7346, 9352, 7199, 7935, 8335, 7804, 6618, 6147, 6553, 6173, 5847, 5680, 4291, 3939, 2874, 3708, 3445, 3426, 3406, 3352, 3709, 3698, 3459, 3490, 2610, 2904, 2808, 2479, 2590, 3149, 2344, 2761, 2435, 2134, 1812, 3000, 7308, 7970, 8574, 10020, 11330, 3730, 4125, 4150, 3770, 3521" title="Thames and Severn Canal - Annual Income" base="1797" 1800="Opening of Kennet and Avon Canal" 1819="Opening of the North Wilts Canal in April" 1840="Building of the Swindon and Cirencester railway" 1854="Conversion of the Forest of Dean railway to broad gauge" 1875="T & S Company again became carriers"

(written 2010-02-27, updated 2010-03-03)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
J803 - Java - Applet Parameters
  [1325] Java - Client side applet applications as well as server side - (2007-08-29)

J802 - Java - Abstract Windowing Toolkit
  [2245] Client side (Applet) and Server side (Servlet) Graphics in Java - (2009-06-17)
  [2649] Length, size or capacity in Java? - (2010-02-24)
  [3049] Computer Graphics is fun - even if Java Applets are Old Hat - (2010-11-13)

J610 - Java - Archived examples from previous versions of courses
  [1070] Java Deployment course - lunch break - (2007-02-07)


Back to
Java Server Pages - putting it all together
Previous and next
or
Horse's mouth home
Forward to
Python - what is going on around me?
Some other Articles
Save the Train - a significant change in approach
Want to do a big batch edit? Nothing beats Perl!
Melksham Carnival
Python - what is going on around me?
Java - from applets to servlets. JSPs and more
Java Server Pages - putting it all together
Reading and writing cookies in Java Servlets and JSPs
Calculation within objects - early, last minute, or cached?
Getting a phone line changed ...
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., 2024: 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2654_Jav ... -more.html • PAGE BUILT: Sun Oct 11 16:07:41 2020 • BUILD SYSTEM: JelliaJamb