Tag Archives: Apache Tomcat

Migrating from EJB to Spring and from JBoss to Apache Tomcat: A Real-Life Case Study of Hyperic v4.5 Release


This case study on migrating the open source web application monitoring and management software, Hyperic, to the Spring Framework and Apache Tomcat was originally delivered by Jennifer Hickey at the 2010 SpringOne 2GX conference. This migration work was done for Hyperic v4.5 release. Here are some of the advantages cited about this migration: 1. Improved […]

How to run Java services (or background daemon processes) in an application server or web container?


I’ve presented here a simple example to illustrate how to convert stand-alone java programs (mostly, JARs) to WARs which can then be deployed in full-blown application servers (JBoss, WebSphere, etc.) or light weight web containers (Tomcat, Jetty, etc.). This’s generally done to avoid the hassle of managing background daemon processes separately. Also, deploying all of […]

How to deploy/test a web application using tomcat-maven-plugin?


To quickly test your maven web application using an embedded tomcat instance, you just need to include this xml snippet in your Maven POM file, and post compilation, execute the command: mvn tomcat:run. You can play around with the <port>, <path>, and <warFile> options as you need.