In the previous chapter we saw how to integrate HornetQ in JBoss, so we saw how a big application server can interface with HornetQ. We also saw how to launch HornetQ in a standalone or clustered way to parse messages.
This last chapter is devoted to seeing how to use HornetQ in different scenarios and we will describe how to correctly integrate HornetQ. We will cover the following topics:
Using HornetQ server functionalities in a Java application, as a standalone server or in a clustered way
Using the STOMP protocol we will see how to allow different STOMP clients talking to HornetQ
Integrating HornetQ within the latest framework for J2EE programming like Spring