Skip to content

Instantly share code, notes, and snippets.

@mojavelinux
Created January 13, 2012 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mojavelinux/1605118 to your computer and use it in GitHub Desktop.
Save mojavelinux/1605118 to your computer and use it in GitHub Desktop.
OSCON 2012 Proposal: Delivering the rich web at low cost

Submission Date: Jan 12, 2012

Proposed Title: Delivering the rich web at low cost

Summary:

Today's web apps demand reliable, real-time communication with marginal latency. By using Google Web Toolkit (GWT) and Errai, you can develop a rich web app in your favorite IDE using Java. The source is then compiled into a highly-optimized HTML 5 and JavaScript application that runs entirely in the browser and can exchange data with the server over Errai's efficient, bidirectional message bus.

Topics:

  • Tools and Techniques
  • Programming
  • Java and JVM Languages
  • JavaScript / HTML 5
  • UX

Session type: 40-minute conference session

Abstract:

Today’s web applications demand reliable, real-time communications with marginal latency. We’re talking high-performance, bidirectional communication. Examples include financial data, social networking, online games and even smart power grids.

These rich experiences are complex to develop from scratch. Tools like GWT enable efficient development of high-performance, rich web applications by shielding developers from JavaScript, browser quirks and evolving markup languages. However, GWT only addresses the client-side environment. Developers need a similar abstraction for exchanging real time data with the server.

Errai, an open-source GWT extension framework, streams data asynchronously over a high-performance, bidirectional messaging bus. Errai’s bus runs concurrently in the browser and on the server (inside a Java Servlet). Errai’s push technology delivers data from the server to any connected browser simultaneously and in real time, while the method of communication is transparent to the developer.

Errai also brings CDI, the standard Java programming model, to the browser. What, CDI in the browser? Yep, in JavaScript. This means the developer can use a single programming model for both client and server-side development. To take it a step further, Errai hooks the CDI event notifications to its messaging bus, hiding the high-performance messaging behind CDI’s declarative event model. Client or server, it’s all just CDI programming.

Come learn how to make the web as rich as you can take it.

Speakers:

  • Dan Allen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment