Using an open and simple API is a great way to build a developer ecosystem and grow a user base dramatically for Web 2.x (social/cloud/mobile) applications. But building flexible APIs can be a challenge. This session covers how to build a nice Web API from scratch, using open source stacks.
It starts with data modeling with a DSL tool and generates POJOs that can be transformed in JSON/XML and persisted with JPA/NoSQL. After defining the service interface, it expands the API experience with REST, JSON-RPC, and other cloud-friendly protocols without application coding. The presentation gets the API running immediately and tests it with a browser. In addition, it addresses how to realize common patterns such as pagination and hypermedia.