Archive for the ‘Java’ Category

Load class / action on tomcat startup / deploy

I wrote this post, because few day ago I need to automaticaly load action when my application is deployed on tomcat (see my previous post). In many case you should load some features on startup of your application on tomcat, like load configuration, connect some stuff, … Tomcat can do this with a servlet loaded […]

How to embed ActiveMQ in Tomcat

This post will explain how you can embed ActiveMQ in Tomcat and how start/stop itself as a WebApp Step 1 You need to download ActiveMQ on their website, after that, unzip the files. Here you can launch it as a standalone application to make some tests. To be able to launch ActiveMQ directly in Tomcat […]