Tag Archives: Apache ActiveMQ

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 […]

PooledConnectionFactory vs CachingConnectionFactory: Which one is a perfect match for Spring JmsTemplate?


JmsTemplate, part of Core Spring JMS framework, simplifies the use of JMS since it handles the creation and release of resources when sending or synchronously receiving messages. As discussed in this post – https://singztechmusings.wordpress.com/2011/04/24/problem-with-creating-jms-messageproducer-using-spring-jmstemplate-how-to-solve/ – we need to have pooling in place to make it efficient. We’ve got two JMS provider choices: ActiveMQ‘s PooledConnectionFactory or […]

How to check the uptime of a process (or an application) running in Linux machine using shell script?


Here’s how you can check the uptime of a process using shell script: # Application’s PID app_pid=`ps ax | grep [app-pattern]| grep -v grep | awk ‘{print $1}’` echo $app_pid # Application’s Uptime app_uptime=`ps -p $app_pid -o “%t” | tail -1` echo $app_uptime Eg. If you like to know the uptime of an Apache ActiveMQ […]