DWR/TIBCO GI Integration: gi.js
Date : 2008 01 16 Category : Tech & DevelopmentJoe Walker has released the DWR/TIBCO GI integration library:
gi.js is a library to help integrate DWR with TIBCO GI. It is due for official release with DWR 3.0, however it is reasonably stable now, and will probably only undergo performance tweaking before the official 3.0 release.
Since it doesn't have any dependencies on DWR, it can be used without waiting for an official release. The best place to download it is either via a milestone release of DWR (see the java.net download page), or through the FishEye view of the DWR CVS repository. See this direct link to gi.js.
The article walks through a simple example integrating with a fake social network backend:
PLAIN TEXT JAVASCRIPT:SocialNetwork.getFriends(function(friendList) { var cdf = dwr.gi.toCdfDocument(friendList, "jsxid"); giApp.getCache().setDocument("friendDataId", cdf); giApp.getJSXByName('friendMatrix').repaint(); });