Software Development, Tomcat

CGI with Tomcat 8

This shows how to configure Apache Tomcat 8 for CGI. Software Environment These are the items we used for this post. Windows 7 Professional SP1 Any web browser Apache Tomcat 8.0.14 ActivePerl 5.16.3.1604 (Windows x86) Java 1.7 (1.7.0_67 – Windows x86)

Java, Software Development, Tomcat

Connecting Tomcat 7 Web Application to Database Using JNDI

Several weeks ago, I looked at the some decompiled Java codes from a fairly small web application that basically records cheque numbers and generates reports. To my surprise, it was written in dreadful codes full of clutter and signs of haste! I almost cried. Just imagine the following code littered all around the application and entangled by a lot of package-level instance variables. Not to mention the SQL-statements-in-Servlets type of design pattern.

Java, PERL, Software Development, Tomcat

CGI with Tomcat 7

We can run CGI scripts in Tomcat. This post is about using Tomcat to run a CGI script written in PERL. Software Requirements (used for this post) Apache Tomcat 7.0.11 JDK 1.6 update 21 Perl 5.12 (ActivePerl-5.12.2.1202) Windows XP SP3