Chapter 8. Integrating ActiveMQ with application servers

 

This chapter covers

  • Integrating ActiveMQ with Apache Tomcat
  • Integrating ActiveMQ with Jetty
  • Integrating ActiveMQ with Apache Geronimo
  • Integrating ActiveMQ with JBoss
  • Understanding ActiveMQ and JNDI

Up to this point, most of the examples in the book have utilized a standalone instance of ActiveMQ: ActiveMQ was started up in its own JVM. Then chapter 7 demonstrated multiple ways to embed ActiveMQ inside a Java application, including the use of the ActiveMQ Java APIs as well as using a Spring Framework XML configuration. This style of integration is common, but the aim of this chapter is different. The goal of this chapter is to demonstrate the use of an application server’s features for integrating third-party middleware.

8.1. The sample web application

8.2. Integrating with Apache Tomcat

8.3. Integrating with Jetty

8.4. Integrating with Apache Geronimo

8.5. Integrating with JBoss

8.6. ActiveMQ and JNDI

8.7. Summary