It is incredible how we can modify Tomcat to help hasten the development. This post will demonstrate how to use Tomcat JDBC Realm, which uses an RDBMS for Basic HTTP Authentication. This could cut down development time and effort for
Java Web Application BASIC Authentication in Tomcat
The fastest way to configure authentication in Tomcat is Basic Authentication. However, it is one of the weakest forms of authentication, and we should not use it in real-life applications. Although we should not use Basic Authentication, it is still
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)
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.
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