Main Content

Trying out our Java examples on our web site

Archive - Originally posted on "The Horse's Mouth" - 2008-02-27 18:26:50 - Graham Ellis

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 too - not only the things that are intended for the web (you'll see separate posts pointing you to servlets and JSPs) but also those which are stand alone demonstration - for which we have a new wrapper.

Here are some examples ...

a program to show classes in packages and that code running

a demonstration of a for loop and that code running

Pascal's Triangle generated in Java and that code running

and

Reading text and rejustifying it and that code running

More to follow in coming days and weeks!