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) Java source, compiler and class files.
The Java interpreter and virtual machine.
Applets, servlets, Java Server Pages and applications.
Java enabling other devices.
|Hello Java World (module J702) Basic program structure. First Output.
Sequence of statements. Comments.
|Variables (module J703) What is a variable?
Calculating with variables.
More variable types and flexible declarations and calculations.
Casting and functions.
Reading into a variable.
|Loops and Conditional Statements (module J704) Booleans.
While and for loops.
Labels and breaks.
|Arrays (module J705) Definition and declaration.
Array manipulation and replacement.
|Object Orientation: Individual Objects (module Q906) History - unstructured and structured code.
Introduction to object oriented programming.
Classes and methods.
Static and nonstatic.
Instances, constructors and destructors.
Accessing members of a class.
Loading and using classes.
Direct access to variables.
Encouraging class use.
|Objects and Classes (module J706) Overview.
Defining and using a method.
Defining a class.
Static methods and variables.
Direct variable access.
Overloading and multiple constructors.
|Strings (module J707) Character variables.
Creating string objects.
Operations on strings.
Accessing characters within strings.
|Packages (module J708) Overview.
Package directory structure.
Importing classes from a package.
Introduction to standard packages.
Packages, jars, wars, CLASSPATHS etc.
|Class Access (module J709) Private, public, package and protected.
|Object Orientation: Composite Objects (module Q909) Review of object orientation basics.
Base classes and subclasses.
Overriding and abstract classes.
Multiple inheritance and alternatives.
Hierarchy and visibility.
A note on design.
|Extending Classes and More (module J710) Deriving a new class from an existing one.
Inheriting methods and members.
The universal superclass.
The final modifier.
|Object Orientation: Design Techniques (module Q907) Overview - why design?
OOD, OOA, OOP.
Waterfall, spiral and Incremental models.
Micro, macro and specification.
Booch, Yourdon and the OO design wars.
Unified Modeling Language (UML).
Views, diagrams, model elements and general mechanisms.
Extending UML - stereotypes, tagged values and constraints.
Functions of tools such as Rational Rose.
Drawing support, model repository, navigation, code generation.
Configuration, version control and associated tools.
|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) Fundamental packages.
Data type wrappers - why, methods available.
External low-level calls - System, Process, etc.
Garbage collection and finalization.
Vectors, stacks, hashtables and enumerations.
The String Tokenizer.
Collections and iterators.
ArrayLists, HashMaps and HashSets.
Sorting in Java.
Comparator classes and the comparable interface.
|Servlets (module J901) Java Servlet Development Kit.
Applet v Servlet (v ASP v CGI!); SSI.
JSP (Java Server Pages).
"Hello World" servlet.
Tracking sessions (state).
Graphics from a servlet.
|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 <%!
Using scripting elements in a JSP file.
Mingling scripting elements with tags.
When are the scripting elements executed?
How to run the examples.
|Servlets in More Detail (module J906) Reading from a form.
The life of a servlet.
Other facilities of 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.
Serializable and transient.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
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
£1900.00 (No VAT from 1.2019)
£1550.00 (No VAT from 1.2019)
| With hotel rooms
£3750.00 (No VAT from 1.2019)
£3050.00 (No VAT from 1.2019)
| With hotel rooms
£5600.00 (No VAT from 1.2019)
£4550.00 (No VAT from 1.2019)
• 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.