EJB2.0 with OpenEJB: Stateless Session Bean in Action

I am taking SCBCD5.0 certification soon. Right now, I am going over some EJB2.0 materials before taking on EJB3.0. I generally know EJB3.0 but never had grasped the fundamentals of EJB2.0. Mastering EJB2.0 would demystify EJB3.0.

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

Reuse Unit Tests by Converting them to Parameterized Tests

This post demonstrates how to reuse our unit tests with JUnit Parameterized. Let’s say, we have a JUnit test class that tests for, for example, a single web browser’s “browse-to-URL” functionality in various scenarios and we want to reuse those tests for other browsers with the least code change.