RESTx is a tool for easily creating RESTful web services. It allows defining resources with URIs and representing them in different formats. RESTx hides implementation details and makes resources self-documenting. To use it, developers create components by annotating methods, then compile and deploy them on the RESTx server. The goal of RESTx is to simplify REST development so services can be built by non-experts and integrated from various data sources and languages.
1 of 11
Download to read offline
More Related Content
2010 code camp rest for the rest of us
1. RESTx: Rest for the rest of us
Ken Yagen
Silicon Valley Code Camp, October, 2010
2. Agenda
• The Programmable Web
• What is RESTx?
• Demo
• Building a simple component
• Roadmap
• Questions / More information
3. The Programmable Web
• Resources
• Must have a URI
• Addressability
– Name them using URIs
– Give them structure - http://www.restxdemo.org/resource/sales/2004/Q4
• Representations
– Resources support different representations (XML, JSON, HTML, SVG, …)
• Uniform Interface
– HTTP (GET, HEAD, PUT, DELETE, POST)
• Statelessness, Connectedness
• Building Blocks (HTTP, URI, XML, JSON)
5. What is RESTx?
• The simplest way to create RESTful web services
• Encourages and enables RESTful concepts
• Hides underlying implementation details
• RESTx resources are self documenting and discoverable
• RESTx is a server, not a framework
• Use Cases
• Create rich data services by integrating different data sources
• Customized resources from cloud services and internal databases
• Data Layer for JavaScript application
• Wrap legacy scripts into reusable components