Writing Java programs for newcomers to programming.
This course is no longer available
This course introduces you to programming in the Java programming
The course starts with an introduction to programming techniques, using the
Java language. You'll learn how to write and run programs, how to store
information in variables within your programs, and how to make decisions and
repeat pieces of code (loops).
One of the big strengths of Java is the way it lets you write code that's
shareable through a whole suite of programs. Such code is structured into
"methods", "objects", "classes" and "packages". The course studies the
theories of this scheme (known as object oriented programming), and shows
you how to design and write your own classes, and how to make effective use
of the huge library of standard classes supplied with Java.
Handling text through string objects, and using standard collection
objects such as arrays, vectors, stacks and hashtables is covered once you
have a good grounding in how Java's objects work. We also cover
input, output and exception handing in some depth on this section
of the course. Threads, serialisation, synchronisation and
internationalisation will also be overviewed.
There's a whole terminology associated with Java, and we'll ensure that
you know your "JVM"s from your "JRE"s, and you know when you would use
Applets or Servlets, beans and JSPs. The course includes a section on
managing all your files, arranging them into packages and jars, setting
up your environment so that they're accessible later. We'll show you
examples of different environments in which Java can be used - on a
web server, within a browser, etc.
The course concludes with a section on resources that are available,
and a forward-looking lecture that overviews many more of the
facilities available in Java, and what they can do for you.
This is a "learning to program" course and no previous
programming knowledge is required. If you have programmed before, please
consider our alternative Java Bootcamp
Getting the most from your Well House Consultants course
The Java language is now firmly established in a wide variety
of applications, with an incredible range of facilities and options
available to go with it. One of the most common uses of Java
programs is on a web server, where "Servelets" or "JSP"s provide
the logic behind web based applications from banking to weather
forecasting, and from government sites through scientific research.
|Learning to Progam (module Q100) What is programing?
Why are there so many langauges?
Which language for what purpose?
How to plan your progamming project.
Making best use of existing resources.
|Programming Principles (module Q101) Stored programs - running from file.
Very fast, but an IQ of zero.
Variable and variable types.
Conditions and conditional code.
Loops and named blocks of code.
Pointers and references.
Compilers and Interpretters.
Program and system design.
|Analysing a Programming Task (module Q904) A small job.
Learning about the job.
Working it out.
As a job gets larger.
|Java Introduction (module J601) The fundamental elements of Java.
The Java Runtime Environment.
The Java World.
Java development environments and tools.
Java Runtime Environments.
Java standard packages.
|Hello Java World (module J702) A first program explained.
Methods and classes.
Blocks and statement structure.
Declaring classes and methods.
Within a statement.
Commenting your source.
The code in operation.
A further program.
|Variables (module J703) First use of variables in Java.
Declaring and initialising variables.
Type casting and conversion.
Reading input from the user.
|Loops and Conditional Statements (module J704) Booleans.
Labels and breaks.
|Arrays (module J705) Definition and declaration.
Array manipulation and replacement.
Arrays of Objects.
|Object Orientation: Individual Objects (module Q906) A History.
Subroutines, functions, procedures.
Object Oriented Programming.
A note on political, or religious issues.
Introduction to OO Programming.
Static and Nonstatic.
Accessing members of a class.
Direct access to variables.
Encouraging class use.
|Objects and Classes (module J706) Using an instance of a class.
Some detail of using an object.
Writing your own class.
Enhancements to the basic class structure.
Class or static methods.
Direct variable access.
|Strings (module J707) Character variables.
Creating String objects.
Operations on strings.
Accessing characters within strings.
Character arrays v String objects.
|Packages (module J708) Overview.
Package directory structure.
Importing classes from a package.
Introduction to standard packages.
|Class Access (module J709) Private, public, protected.
|Object Orientation: Composite Objects (module Q909) Revision.
Base classes and subclasses.
|Extending Classes and More (module J710) Extended classes.
Getting your design right.
The universal superclass.
The final modifier.
|Object Orientation: Design Techniques (module Q907) OO Design - some basics.
Start with a good understanding of OO.
And also a good understanding of the buzz words and design cycle..
Micro or Macro?.
Specifying classes and methods.
Specifying extended classes.
Clusters of classes.
Generalise it out.
Programming and method standards.
Unified Modelling Language (UML).
Project management and design issues.
|Exceptions (module J712) "trying" and "catching".
Defining your own exceptions.
|More Input and Output (module J713) Overview.
The Wellreader class.
Input/output from basics.
Writing to a file.
Reading from a file.
|Fundamental classes (module J714) The fundamental packages.
Other fundamental packages.
Why use data wrappers?.
Other methods on Float objects.
Other methods on other data wrapper objects.
External low-level calls.
The System class - miscellaneous features.
The System class - garbage collection.
The Runtime and Process classes.
A word of caution on system classes.
Utility objects to hold multiple simple objects.
Iterators and general Collection interfaces.
Basic sorting in Java.
The Comparable interface.
|Servlets (module J901) What is a Servlet?.
Running the server.
A first servlet.
The HTML form.
Reusing a servlet.
Form and results in same window.
|JSP - JavaServer Pages (module J907) Introduction.
The structure of a JSP Page.
What basics can I put in my HTML?.
Entering data into a form.
What happens to the form data?.
What happens next?.
How To Create a Form.
A Simple Hello Application.
Constructing the HTML Form.
Using the GET and POST Methods.
Writing the Bean.
Getting Data From the Form to the Bean.
Checking the Request Object.
Getting data from the Bean to the JSP Page.
How to run the example.
Using scripting elements.
How to add scripting.
The difference between <%, <%=, and <%!.
The Number Guess Game.
Using Scripting Elements in a JSP File.
Mingling scripting elements with tags.
When are the scripting elements executed?.
How to run the example.
A JSP that maintains state.
|Servlets in More Detail (module J906) Introduction.
What is a Servlet?.
How do Servlets fit into the scheme of things?.
What alternatives are there to servlets?.
Java Class Structure.
A first servlet.
Reading from a form.
At a higher level.
Get v Post.
The life of a servlet.
Keeping code and pages separate.
Other facilities of servlets.
Sessions in Servlets.
|Java Roadmap - Beyond the Fundamentals (module J606) Java releases.
Java Runtime Environments.
"Stand Alone" Java programs.
Java Server Pages.
Application Programmer Interfaces (APIs).
Useful "basic" classes.
The Java foundation classes.
The Threads API.
and also ....
Serializable and transient.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($3720.00 inc VAT) or
(£2280.00 inc VAT)
($3060.00 inc VAT) or
(£1860.00 inc VAT)
| With hotel rooms
($7380.00 inc VAT) or
(£4500.00 inc VAT)
($6060.00 inc VAT) or
(£3660.00 inc VAT)
| With hotel rooms
($11040.00 inc VAT) or
(£6720.00 inc VAT)
($9060.00 inc VAT) or
(£5460.00 inc VAT)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
If you want to interface to SQL databases, you might also like
to consider our MySQL
course. Further Java can be covered via our Java Extra
scheme that lets you cover specialist topics not on the regular public courses.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.