Hi, As Sarwar mentioned, Sling does not tie you into a specific format.
But yes, I would suggest you use JSON for retrieving information because it is rather light-weight, properly and directly supported and browser clients can easily interpret it. As for updating I suggest you just use the Sling POST Servlet which probably provides you just about anything your really need. Regards Felix Am 12.05.2012 um 20:59 schrieb Günther Schmidt: > Hi everyone, > > I'm planning quite an ambitious project, a swing desktop app (based on > Netbeans Platform) which is supposed to offer Groupware functionality & DMS. > In particular the app will eventually include > > * an email client > * a task module > * a calendar module > * manage binary files > * and whatever else I can think of and add it later > > I have chosen Apache Sling as the backend because of its REST API, I > just didn't care for RMI access as I might need WAN access to the > backend so HTTP / REST should make this easier. Another thing why I > chose Sling is because of the OSGi based architecture, one of its tasks > will be to periodically pull in new email from IMAP / POP3 servers. > > Now, to get started, with the client, I'll try to implement a JCR browser. > > I know that I can query the Sling repository and get JSON back, is this > the most feasible format or should I rather try to get XML results? > > Günther >
