Exercises, examples and other material relating to training module A503. This topic is presented on public course Deploying Java Applications on Linux / Unix
Java is a Sun Microsystems technology. Since the specification is public, a number of different implementations are available, but it's more than likely that not that you'll want to download an install appropriate software from Sun's web site. This module covers the download, installation and initial testing of the Java 2 Software Development Kit.
|Articles and tips on this subject||updated|
|2079||Java - Memory Allocation and garbage collection|
When you're running a dynamic application (and most of the languages we teach these days are dynamic), memory is allocated and released as necessary at run time, with allocation happening 'as required' and being released from time to time by a garbage collector - there is no point is collecting a few ...
|2184||Choosing the right version of Java and Tomcat|
Java is described as being a portable language. But that only means that the 'runnable' class files are fairly portable - you must download and install the correct Java Virtual Machine / Java Runtime Environment / Java Development Kit for your computer / operating system / needs.
This diagram shows ...
|2153||Class Loading and Variable Conversion in Java|
"Where did you get THAT from?" Ever heard that question? I've asked it of Java sometimes, in wondering where a Java virtual machine has found a class from ... and it's not always obvious.
When loading a class, Java looks at each location given in the CLASSPATH in turn ... and if there are import ...
|2080||Using ApacheBench and jconsole to test and monitor Tomcat|
jconsole lets you monitor Tomcat or another Java application so that you can see how much memory is in use, how many threads you have running, how many classes, etc.
Here's an example of a Tomcat server that was sitting virtually unused ... which we then exercised through ApacheBench - the ab utility ...
|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?
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
Selecting which Java download you need.
Installing Java on your development computer.
Testing your development installation.
Installing the Java runtime on a server.
Testing a runtime environment.
What do you need to run a Java Applet?
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
Linux and LAMP
. 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.