PHP, Software Development

Configure Netbeans to Debug PHP Web Applications

Figuring out how to configure NetBeans, xdebug, PHP, and Apache to enable debugging did not come by easily despite the myriad references available online. However, most (if not all) of them are outdated, and inaccurate. As a result, they tend to obscure a rather simple configuration or how-to.

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