Well House Consultants
You are on the site of
Well House Consultants
Open Source Training Courses
hotel accommodation. You are welcome to browse and use
our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Well House Manor Resources
Object Orientation and General topics
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
C and C++ Resources
Web and Intranet Resources
Java module J601
Exercises, examples and other material relating to training module J601. This topic is presented on public courses Learning to Program in Java
, Java Bootcamp
, Java Programming for the Web
, Java Extra
What is Java? What's it used for? What are the component parts?
Related technical and longer articlesOverview of JavaBook review - Beginning Java 2
|Articles and tips on this subject||updated|
|4332||First Java Application - calculating the weight of a tablecloth|
From last week's Java course - the first practical demonstration program I wrote:
• prompts for user input
• reads that input
• outputs results
That's the stage I look to get to quickly on a course to give my delegates some idea early on of how the language goes together ...
I've just put a piece of demo software up online for a contract customer, and called it "version 0.9" - only partial functionality, but one of those projects which has really exciting potential and there's a need to get some form of feedback. Thank goodness for a customer who understands that a completed ...
|317||Programming languages - a comparison|
"It would take me a week to develop application XXX in C, 2 or 3 days in Java, and a day in Perl, PHP, or Python."
So I say when I'm teaching Perl, PHP or Python.
What do I say when I'm teaching C, C++ or Java? The same thing! But there are qualifications / differences / reasons and just because it ...
|2536||All the Cs ... and Java too|
Do you get confused between C, C++, C#, Objective C ... and where to Java and J++ fit in?
C is the bedrock of modern computing. It's been around a while (by which I mean for at least 40 years) and it's still the language that you'll find underneath everything else. That doesn't mean it's been ...
|2423||What is a JVM, a JRE, a JDK - components of the core Java Environment|
Your Java class files run on a JVM - a "Java Virtual Machine" which is a program that reads the instructions in the (binary) class file and performs them. Although the class files are "architecture independent" - in other words, the same class file will work on an Intel and a PowerPC chip, and on Linux, ...
|2115||Finding your java program - the CLASSPATH variable|
When you run a Java 'program' (strictly, the main method of a class), it looks for that class in a file with the name given and with a .class extension in the places listed in the CLASSPATH environment variable. Failure to have the right CLASSPATH set results in a spectacular series of error messages!
|1908||Java CLASSPATH explained|
When you run a Java program (be it though the java virtual machine or as a servlet within a web or application container such as Tomcat), it's only the main code (class) that's initially loaded. Any other code (classes) are loaded in dynamically as needed.
Where are these classes loaded from?
|1766||Diagrams to show you how - Tomcat, Java, PHP|
I like to work with a flipchart occasionally, and I have been doing so quite a bit this week, which is a week that I'm giving a wide ranging web server deployment course under Linux, covering both LAMP / PHP technologies, and Tomcat / Java too. Why do I like using a flipchart? Because it encourages ...
|124||PHP v Java|
Question to me yesterday: "Do you have a chart that compares the strengths and weaknesses of the various languages that you teach ...." to which I had to answer "Sorry, no". That's partly because it's like trying to compare apples and oranges, and partly because there are so many different scenarios ...
|1557||Trying out our Java examples on our web site|
We've included all of the source code of our training examples on this web site for quite a long time now ... and about a year ago we put working copies of most of the PHP scripts up there too (we have left out those which show security holes).
Now we're in the process of adding some of the Java code ...
|1497||Training Season Starts again!|
I'm glad that our business isn't heavily seasonal - tourist places like Longleat have a heavy summer and a barren winter, and The Christmas Shop must, surely, be heading for a quiet few months.
But we are - slightly - seasonal; we have a quiet three weeks where no-one wants to learn Perl or PHP (or ...
|1466||Effective Java training - the bootcamp approach|
Our public Java courses:
Java Bootcamp- 4 days
Java Programming for the Web - 5 days
Deploying Java Apps under Linux / Unix - 5 days
Apache httpd and Tomcat Deployment - 2 days
Our courses are modular and we have further material - please ask about private courses if you have a group of delegates as ...
|1418||A Golf Club Decision - Perl to Java|
There are times that Java is the right language for an application and Perl is the wrong one - to the extent that investment in a rewrite is correct. But they are pretty rare.
I was very disappointed to learn this week of a major company that is switching - not for technical reasons, but because ...
|1158||Private Java Course - A customer's pictures|
It's great to see customers coming on our courses and posting pictures up in public on places like Flickr ... especially when the pictures turn out to be better than mine.
Here are a some thumbnails that will link you to the images of a private Java course we ran a month or two back at Well House Manor
|1049||Java 6, Apache Tomcat 6.|
I greet new releases of software that we teach with a joy that the software is moving forward, but with an element of trepidation - "what's changed" I wonder. Although programming languages rarely change in that they render the old code incompatible, thre are often changes in default configuration ...
Oops ... I missed my blog entry yesterday - indeed, I had been up so early in the morning after a short night that I fell asleep around 8 p.m. and slept through - didn't even hear Lisa come in from her "Villager" meeting. But, running crisply again this morning I've already spoken with plasterer, plumber, ...
|792||Is Java the right language to learn?|
It's so important to make the correct learning and career choices, and as a parent I've watched and helped and guided, somewhat, my own children to the best of my ability. But in a fast changing world, it's hard to know what advise to give to a teenager ... or his concerned parents ... The following ...
|111||Training notes available under Open Distribution license|
We've released our complete Java Programming for the Web course material under an Open Training Notes license. We've also released all of our general modules on Object Oriented Design (used on Java, Perl, Python and PHP courses), and around 10% of our other material too - typically the modules releases ...
Examples from our training material
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Java source, compiler and class files.
The Java interpreter and virtual machine.
Applets, servlets, Java Server Pages and applications.
Java enabling other devices.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.