This example demonstrates a simple 'chat' application that uses Websockets and JMS.
javax.annotation.PostConstruct
javax.annotation.PreDestroy
javax.annotation.Resource
javax.ejb.ActivationConfigProperty
javax.ejb.Lock
javax.ejb.LockType
javax.ejb.MessageDriven
javax.ejb.Singleton
javax.ejb.Startup
javax.enterprise.context.ApplicationScoped
javax.enterprise.event.Event
javax.enterprise.event.Observes
javax.inject.Inject
javax.jms.JMSContext
javax.jms.JMSException
javax.jms.Message
javax.jms.MessageListener
javax.jms.TextMessage
javax.jms.Topic
javax.websocket.OnClose
javax.websocket.OnError
javax.websocket.OnMessage
javax.websocket.OnOpen
javax.websocket.Session
javax.websocket.server.ServerEndpoint