Sample Code Listings


 

Note:  Most of the code that I have written during my career is proprietary or belongs to a third party, so I don't have a wide array of samples.

Java    
  code
listing
'ini' File Reader
Allows the user to get information from the common 'ini' file format (frequently used to store configuration and user preference settings on Windows systems).
   
  code
listing
Calculator applet (requires JRE 1.3)
A simple calculator applet. It is designed to run as an applet or as an application.
   
   
Hit Counter
A servlet that keeps track of the times a web page has been viewed and displays the results as an image.

Java Counter

   
   
Web Poll
You've seen 'em all over the web.  Here's my simple JavaBean/JSP web poll.
   
       
   
The Video Store
This application uses a combination of JSPs, Servlets, and XML to produce a simple web store that sells DVDs.  The emphasis is on the backend server processes and not so much on the cosmetic appearance of the actual web pages.
   
   
JavaDoc Example
   
 
MUMPS    
  code
listing
VistA TaskMan queueing
A utility routine that allows the user to queue a task.   Conforms to the Department of Veterans Affairs' Standards and Conventions.
   
  code
listing
Generic Pagination utility
A utility routine that handles the basic pagination needs for reports, etc..   Conforms to the Department of Veterans Affairs' Standards and Conventions.
   

To Info