Powering the Living Web

Kaazing Blog

Subscribe to Kaazing Blog: eMailAlertsEmail Alerts
Get Kaazing Blog: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Kaazing Blog

In our last article - "JSF and AJAX" (JDJ, Vol. 11, issue 1) - we discussed how JavaServer Faces component writers can take advantage of the new Weblets Open Source project (http://weblets.dev.java.net) to serve resources such as JavaScript libraries, icons, and CSS files directly from a Java Archive (JAR) without impacting the application developer. In this article we'll address the need to fetch data using AJAX with JavaServer Faces (JSF) components. The most common use cases for fetching data with AJAX are to populate dropdown lists and add type-ahead functionality in text fields. In contrast to using AJAX postbacks for events, fetching data shouldn't affect the surrounding components on the page. And if fetching data isn't affecting other parts of the DOM tree, then you don't have to go through the full JSF lifecycle just to get the data, right? This article int... (more)

Polling and Long Polling for Dummies: A Five-Minute Bedtime Story

The bedtime story on the next page [video] may help you explain your kids (nieces, nephews, mother, grandmother, aunt, and other distant relatives) some of the issues with our world… ... (more)

Building a Simple Peer-to-Peer WebSocket App – Part 2

In Part 1, we looked at the completed application, which we’ll start building here. Before we get started with actual development, let’s take a look at the starting application. Open a new browser tab or window with the starting application in JSFiddle. The starting app is as simple as it gets. First, take a look at the HTML code, then read the explanations below the code snippet. Kaazing WebSocket Tutorial - JMS