Example : native iPhone/iPad application
An interesting example application illustrating the usefulness of the REST API is a prototype of a native iPhone/iPad application that was designed by Jahia. The native application connects to Jahia on startup, retrieves a configuration file that contains different screen properties, notably queries that will be executed with the REST find servlet. The results are generated using JSON output. The native application can then display the content any way it chooses. Having the content in JSON format makes it easy to adapt to multiple screen sizes, as the native prototype is a dual iPhone and iPad application. The application is also capable of creating new content by using POST HTTP requests to create new content objects. All this is quite optimal and integrated with the authentication as it also uses the login and logout servlets.
![jahia6_6-technicaloverview_en-5.jpg [image]](/files/live/sites/jahiacom/files/documentation/6.6/en/images/TechnicalOverview/jahia6.6_technicaloverview_en005.jpg)
As you can see in the above example, the native application displays the ACME demo content, with native device rendering. This makes for a strong mobile user experience while having exactly the same content base. It is also possible to cache the data in the native client for offline browsing.

