Java supports a very wide range of technologies through class libraries and containers. This module provides you with an example of the combination of some of those technologies - servlets, database access and graphics - in order to provide pictorial, dynamic web content without the need for any browser plugins.
This topic is presented on public courses
Deploying Java Applications on Linux / Unix,
Extra Day
Examples from our training material
| Im1.java | Generating an image file through AWT |
| Im2.java | Generating an image file (AWT) using data from a database (JDBC) |
| Im3.java | An image file (AWT) from a database (JDBC) via a web page (Servlet) |
| Im4.java | An image (AWT) with form selected data (HTTP) from a database (JDBC) via a web page (Servlet) |
| formpage.html | Web form that uses Im4.java |
| multigraph.html | Web form that uses Im4.java (multiple images in one page) |
| web.xml | Tomcat config file for the sample application |
Background information
You may
download this module as a sample of our material
Topics covered in this module
Worked example combining various Java technologies.
Uses data held in an SQL database to generate graphs on a web server for display via a browser.
Uses JDBC for Database connection.
Uses Utility classes of java.util to hold data internally.
Uses Abstract Windowing Toolkit (AWT) to draw graphics.
Uses Image I/O classes of javax to output a .jpg.
Uses a servlet container to make our class web visible.
Class is deployed via Tomcat with Catalina and Coyote.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Java,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses 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 600 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.