YOUR FEEDBACK
An Introduction to Server Virtualization
Anurag wrote: Although KVM has a kernel component, it does not take the co...
6th International
AJAXWorld RIA
Conference & Expo
$300 Savings Expire July 11, 2008... – Register Today!

SYS-CON.TV

2007 West
GOLD SPONSORS:
Active Endpoints
Your SOA Needs BPEL for Orchestration
BEA
Virtualized SOA: Adaptive Infrastructure for Demanding Applications
Nexaweb
Overcoming Bandwidth Challenges with Nexaweb
TIBCO
What is Service Virtualization?
SILVER SPONSORS:
WSO2
Using Web Services Technologies and FOSS Solutions
Click For 2007 East
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
TOP THREE LINKS YOU MUST CLICK ON


A DWR Data Store for Dojo
Putting two powerful AJAX libraries to work for you

Digg This!

Page 1 of 2   next page »

The Dojo data API is a set of interfaces that data providers can implement so Dojo widgets and other application components can access external data. In DOJO-speak data providers that implement these interfaces are called data stores. A number of widgets supplied by the toolkit are capable of accessing data from these data stores. By presenting data as generic items with attributes they hide the underlying complexity of both the structure and access mechanism from consumers of the data. A good example of such a data store is the ItemFileReadStore, which is capable of reading JSON data in a specific pre-defined format from a remote location represented by a URL. Other data stores in various states of maturity are available in the extensions package (DojoX).

In a J2EE-based Web application information to be displayed on the browser is often encapsulated as a JavaBean on the server. The DWR library allows JavaScript on the browser to call a method in a remote Java class. JavaBeans returned by this remote method are made available in JSON format to the caller. In this article we will combine DWR with Dojo to create a data store that can be used by widgets to fetch JavaBeans from the server and consume them as JavaScript objects.


Page 1 of 2   next page »

About Santosh Werghis
Sonny Werghis is an IT architect with IBM Global Services. He has over 10 years of experience with development of enterprise software using Java EE technologies. At IBM he specializes in application architecture for custom application development. His current areas of interest include Web 2.0 and RIA.

nonny wrote: Why error >> " this._dwrMetho d(function(data){ try{ self._items = data; self._loadComplete = true; self._loadInProgress = false; filter(args, self._items); }catch(e){ self._loadComplete = true; self._loadInProgress = false; errorCallback(e, args); } }); "
read & respond »
SILVERLIGHT LATEST STORIES
Schematic Silverlight-Based Online Video Channel to Bring Coverage of the 2008 Olympics
Schematic announced its development of a Web video player anchoring NBC's online coverage of the 2008 Beijing Olympic Games on NBCOlympics.com on MSN. The announcement was made by Perkins Miller, Senior Vice President, Digital Media, NBC Sports and Olympics, and Trevor Kaufman, CEO of
AJAX RIA TUTORIAL - Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight
In ASP.NET 2.0, we introduced a very powerful set of application services in ASP.NET (Membership, Roles and profile). In 3.5 we created a client library for accessing them from Ajax and .NET Clients and exposed them via WCF web services. For more information on the base level ASP.NET
Web 2.0 Journal Case Study: Transcending E-mail as a Platform for Multi-Person Collaboration
E-mail is extremely easy to adopt and use, and lends itself very well to certain types of collaboration. When two people are attempting to collaborate asynchronously, e-mail is usually the best solution. It's certainly far less frustrating than phone tag. But once more people are invol
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted to be
SYS-CON's Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discussed in NYC June 23-24, 2008 by the world-class speaker faculty at the 3rd International Virtualization Conference & Expo being held by SYS-CON Events in The Roosevelt Hotel, in midtown
Microsoft's Virtualization Chief Mike Neil To Keynote SYS-CON's Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs the tec
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON FEATURED WHITEPAPERS

Schematic Silverlight-Based Online Video Channel to Bring Coverage of the 2008 Olympics
Schematic announced its development of a Web video player anchoring NBC's online coverage of the 200
AJAX RIA TUTORIAL - Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight
In ASP.NET 2.0, we introduced a very powerful set of application services in ASP.NET (Membership, Ro
Web 2.0 Journal Case Study: Transcending E-mail as a Platform for Multi-Person Collaboration
E-mail is extremely easy to adopt and use, and lends itself very well to certain types of collaborat
Adobe's Kevin Lynch and Microsoft's Scott Guthrie to Keynote AJAX World RIA Conference & Expo
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe
SYS-CON's Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discu
Microsoft's Virtualization Chief Mike Neil To Keynote SYS-CON's Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft
Virtualization, Silverlight and Verizon
Zmanda, the open source backup and recovery folks, says it's integrated NetApp's Snapshot technology
Infragistics Releases CTP UI Components for Microsoft Silverlight Beta 2
Infragistics announced the availability of two Community Technology Preview (CTP) User Interface (UI
Nintex Reporting 2008 Now Available
Nintex announced the release of Nintex Reporting 2008, the new product for the Microsoft SharePoint
Silverlight, AJAX and PDF Invoices Cement SplendidCRM as the Ideal CRM Platform
SplendidCRM announced the launch of Version 2.1 of its flagship platform SplendidCRM. The new Silver
ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
Ektron and VML Partner to Deliver a Proven Integration Between Ektron CMS400.NET and Microsoft's Silverlight
Ektron Inc., a technology and market leader in Web content management software, and VML,