Web service processing

The server-side graph layout code is supplied as a JAR file, graphlayout-1.1.jar, that you find in dojo-diagrammer-server.war. You can embed this code in your web applications. The server-side code consists of an HTTP-based web service. When a client posts graph data to the service, the service processes and returns the data with new layout information.
Note
The server-side graph layout JAR file must be deployed to the same server as the web page containing the Dojo diagram. It is required because of the same origin policy of most web browsers.
The server-side graph layout service is registered in the graphlayout path of the web application. For example, if you install the web application with ilog as its context, you must include /ilog/graphlayout in the URL when accessing the service from the client side.