Exercises, examples and other material relating to training module J808. This topic is presented on public course Java Extra
Related technical and longer articles"Java Cookbook" - review
|Articles and tips on this subject||updated|
|4420||Flexibility in input - read from file, web resource or keyboard|
When you're writing a program, don't think that you're reading from a file - think that you're reading from a stream. That gives you the flexibiity to read from a file, or from a web resource, or from a device such as a keyoard.
A stream is an input flow of data that comes to you, record by record (typically ...
|2863||Writing a server in Java |
My standard recommendation these days is that you don't write your own low level network code - but rather you use standard protocols and classes - i.e. that you use tried and tested ways of exchanging data. And on that basis, you'll find that our public training courses cover things like talking to ...
|1976||Where is this IP address, IPv4 and IPv6|
Do you want to know where in the world an IP address comes from? I often do and I've used a number of tools - but they tend to draw me fancy maps and lead me away from my page. So this morning I put together a cheap and cheerful "which country is this IP from?" script, using Maxmind Open Source Technology ...
Examples from our training material
|Leanne.java|| Multithreaded tcp/ip server in Java|
|Station.java|| Class of objects from file or URL, factory, Vector and HashMap, select, sort, output|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from http://www.training-notes.co.uk
Topics covered in this module
Reading data from a URL.
Writing a TCP/IP client.
Writing a server.
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. Also
available is the Opentalk
Forum for discussion of technical questions.