Do I need to do any thing special to get this working if I have my objects in a JAR file that is located in the lib directory of the EAR? It seems that my webapp (located in a war file inside the ear file) is able to publish events to a HornetQ topic, but my EJB, also located in the ear, is not able to receive the messages. It fails during the deserialization process. I see the onMessage getting called which then calls a private method that does the deserialization. It is in this method that I get the exception.