YOUR FEEDBACK
Virtualization - AMD Kills Montreal for Istanbul
AMD News Desk wrote: it's scrubbing Montreal, the eight-core chip that was ...
SOA World Conference
Virtualization Conference
$200 Savings Expire May 9, 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
3rd International 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 To Keynote 4th International 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
AJAX World - Curl Launches Adobe AIR Competitor
Curl announced the beta release of Curl Nitro, the code name for an extension of the Curl Rich Internet Application (RIA) platform which offers enhanced desktop capabilities required by today's enterprises. The Nitro extension simplifies the process of installing and managing Curl appl
Is the Silverlight Adoption Rate Artificially Inflated?
Silverlight 2.0 is a freaking phenomenal RIA development environment and I would actually, at this point, put the development experience in Silverlight 2.0 above and beyond Flex. I can do more faster and have it look better and run more efficiently in Silverlight 2.0 than I can in Flex
Xceed to Embrace Microsoft's Silverlight in Upcoming Product
Xceed is poised to launch Xceed Upload for Silverlight, its offering in support of Microsoft's promising new Silverlight technology. Slated for release in May or June 2008, Xceed Upload for Silverlight provides programmers with HTTP upload capabilities for C# and VB.NET development usi
Cynergy Selected by Microsoft for Global Agency Initiative
Cynergy Systems announced it has been selected by Microsoft to participate in the Microsoft Global Agency Initiative. This invitation-only initiative has resulted in a group of the top 20 interactive agencies that Microsoft recommends to its customers. Cynergy has developed a number of
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

AJAX World - Sun Talks Up its Late-to-the-Party AIR-Silverlight Rival
At Java One this week Sun has been selling its year -old-but-still-upcoming - and definitely late-to-
3rd International Virtualization Conference & Expo: Themes & Topics
From Application Virtualization to Xen, a round-up of the virtualization themes & topics being discu
Microsoft To Keynote 4th International Virtualization Conference & Expo
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft
AJAX World - Curl Launches Adobe AIR Competitor
Curl announced the beta release of Curl Nitro, the code name for an extension of the Curl Rich Inter
Is the Silverlight Adoption Rate Artificially Inflated?
Silverlight 2.0 is a freaking phenomenal RIA development environment and I would actually, at this p
Xceed to Embrace Microsoft's Silverlight in Upcoming Product
Xceed is poised to launch Xceed Upload for Silverlight, its offering in support of Microsoft's promi
Cynergy Selected by Microsoft for Global Agency Initiative
Cynergy Systems announced it has been selected by Microsoft to participate in the Microsoft Global A
Gomez Announces Web Performance Testing Support for Microsoft Internet Explorer 8
Gomez announced support for Microsoft's Internet Explorer (IE) 8 beta 1. Using the Gomez ExperienceF
Silverlight 2 - Adobe Flex Killer Is on Its Way!
Silverlight 2.0 kicks ass and I can't wait to start dropping more hardcore blog posts regarding it.
Engelbart's Usability Dilemma: Efficiency vs Ease-of-Use
The mouse was the original idea of Doug Engelbart who was the head of the Augmentation Research Cent
ADS BY GOOGLE
BREAKING NEWS FROM THE WIRES
Visual WebGui Joins Microsoft Visual Studio Industry Partner Program