A whole messaging webapp, with example portlets. This also includes the sources for the messaging library, in WEB-INF/src.
Cross-context messaging:
messaging2 and messaging3 webapps, with differently-named portlets, to test cross-context messaging: the properties file configures both webapps to use an EJB message store, and the PortletRequestSessionIDRetriever (just avoid putting messaging portlets on the first Portal page).
portalMessageBeanEJB.jar - goes on the EJB Server, JBoss (to work, this will also need portlet-messaging.jar in the classpath, e.g. default/server/lib/)