Software Development

Tomcat 8 and Java EE CDI

This post demonstrates how Dependency Injection works with Java EE CDI and Tomcat 8.We’ll display some text from a bean injected into our Servlet via CDI.

Read More...

Java, Software Development, Spring

Convert Spring Boot to Deployable WAR for Tomcat

This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.

Read More...

Software Development

CGI with Tomcat 8

Background [wp_ad_camp_1] This article demonstrates how to configure Apache Tomcate 8 for CGI. Hardware Environment n/a Software Environment Windows 7 Professional SP1 Any web browser Apache Tomcat 8.0.14 ActivePerl 5.16.3.1604 (Windows

Read More...

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.

Read More...

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

Read More...

Java, Software Development, Tomcat

Tomcat 7 and Up: JDBC Realm

It is amazing how Tomcat can be modified to help hasten the development. In this post, I will demonstrate how to use Tomcat JDBC Realm which uses an RDBMS for

Read More...

Java, Software Development

Query String in HTML Form’s Action

I have worked with IBM Netcool/Portal and had the need to pass some channel parameters across pages without storing the values as request or session attributes. Altering URLs (href’s) is fine but the parameters vanish as soon as the user submits the page via HTTP Post. Fortunately, the following is possible.

Read More...

Java, Software Development, Tomcat

Tomcat 7 by Dissection: How CGI File Upload Works

I wonder which ancient Tomcat version our application based its CGIServlet class on. CGI HTTP POST was not working and recently another problem has cropped up – CGI File Upload does not work at all. What gives? I can only speculate.

Read More...

Java, Software Development, Spring

IBM Bluemix, Cloud Foundry, DevOps, and Spring Boot

In this post, we’ll show how to build, and deploy Spring Boot applications in IBM Bluemix using DevOps,

Read More...

Java, Software Development, Tomcat

Java Web Application BASIC Authentication in Tomcat

This post demonstrates how to use BASIC Authentication is a web application in Java using Tomcat.

Read More...