Sunday, October 21st, 2012
The HTML5 working draft describes different techniques to push information from a server to the client and the one described in this tutorial are Server-Send Events (SSE).
Using Server-Send-Events eliminates the need to poll a server periodically for information using AJAX and is really easy to implement because of the simple specification and the fact that nearly all modern browsers already implement this specification.
(more…)
Tags: asynchronous, html, html5, javascript, jetty, js, nodejs, server send events, servlet, sse
Posted in Java, Javascript, Web | No Comments »
Sunday, June 5th, 2011
Message Driven Beans are no new concept due to the fact that they exist since EJB 2.0 but in Java EE 6 and the EJB 3.0 specification it is even more fun to use them.
In this tutorial we’re going to take a look at the specification and create an example application that transfers some objects via the Java Message Service to a Message-Driven Bean deployed on a GlassFish application server.
If you’re not interested in theory please skip to chapter 6 and directly start creating an application – otherwise we’ll begin with a short introduction into the JMS terminology and the concept of a Message-Driven-Bean..
(more…)
Tags: asynchronous, consumer, ejb, Enterprise, glassfish, java ee, jee, jms, mdb, message driven, messaging, publisher, tutorial
Posted in Enterprise, Java | 3 Comments »