John Plocher wrote:

> Is this AJAX API usable by other nodes in the opensolaris community?
> 
> i.e., the ARC community needs these lists when creating a new ARC Case...

It isn't really an API as such, it is more of a technique.  There is a 
thin wrapper around XMLHttpRequest 
(http://src.opensolaris.org/source/xref/website/auth/trunk/AuthWebapp/web/javascript/Ajax.js)
 
which is used to make the Ajax requests in the browser, and the 
framework I'm using (Stripes) vectors the AJAX requests onto the 
appropriate methods in the server code, e.g. 
http://src.opensolaris.org/source/xref/website/auth/trunk/AuthWebapp/src/java/org/opensolaris/auth/webapp/admin/UserCollectivesAction.java#98
The server methods then query the database to obtain a collection of 
Java objects representing the records of interest, and these are 
converted by the Stripes framework into the corresponding JavaScript 
which is returned to the browser and evaluated.

External applications won't be allowed to access the database directly, 
but there will be an XMLRPC interface which will allow you to obtain the 
  information you require.  How you ship that data across to the browser 
really depends on your choice of application framework.

-- 
Alan Burlison
--
_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to