Why having an API matters: testing:
Wednesday, November 21, 2012
When REST isn't good enough
When REST isn't good enough:
At Braintree, we receive nearly 1.5 million API calls per day from thousands of our customers. Instead of a public REST API, we provide client libraries in seven languages to ease integration with our gateway. This covers almost every modern web application language. Using our Java library, we can also reach other JVM languages like Clojure and Scala. As you can imagine, these libraries are built on top of a REST API. Occasionally we are asked why we don't document and expose the REST API, and this inevitably sparks a discussion on our team about the tradeoffs. During these discussions there are three topics that often come up: Security, Platform Support, and Backwards Compatibility. These three topics have kept us in favor of providing client libraries instead of direct access to the low level API.
Saturday, November 17, 2012
Cross domain REST calls using CORS
Cross domain REST calls using CORS:
To fight XSS attacks, the web browser imposes the same origin policy for HTTP requests made by JavaScript code. However, this behaviour is often desirable. Traditionally, server-side proxy or JSONP has been used but now there is a W3C Working Draft called CORS: Cross-Origin Resource Sharing. This post describes how it works.
Thursday, November 8, 2012
Spock and testing RESTful API services
How To Perform REST Calls From Java
Friday, October 26, 2012
Saturday, October 13, 2012
Monday, October 8, 2012
Building a Web API Platform with Open Source oAuth 2.0, REST, and NoSQL (JavaOne 2012)
Building a Web API Platform with Open Source oAuth 2.0, REST, and NoSQL (JavaOne 2012):
More and more companies provide Web APIs for their core services as an effective way to foster an ecosystem, but you need to have an API platform to host and manage the Web APIs. Building one from scratch can be challenging. This session teaches you how to create your API platform based on oAuth 2.0, REST, and NoSQL technologies by using open source stacks, including Apache projects such as Tomcat, Tuscany, Wink, Amber, and HTTP clients together with NoSQL solutions such as MongoDB and Redis. From real-world experience, you’ll learn the key components and techniques for creating a robust and scalable Web API server.
Friday, October 5, 2012
REST vs SOAP Adoption - A Perspective
Friday, September 28, 2012
Version your RESTful API responses
Saturday, September 22, 2012
RESTful Standard Resolved!
Wednesday, September 19, 2012
RESTful Web Services API using Java and MySQL
RESTful Web Services API using Java and MySQL:
Are you working with multiple devices like iPhone, Android and Web, then take a look at this post that explains you how to develop a RESTful API in Java. Representational state transfer (REST) is a software system for distributing the data to different kind of applications. The web service system produce status code response in JSON or XML format.
Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services.
Developed by Yammer to power their JVM-based backend services, Dropwizard pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package that lets you focus on getting things done.
Dropwizard has out-of-the-box support for sophisticated configuration, application metrics, logging, operational tools, and much more, allowing you and your team to ship a production-quality HTTP+JSON web service in the shortest time possible.
Monday, September 17, 2012
RESTful API Design: Teach a Dog to REST
Friday, September 14, 2012
REST Web Services for Beginners
REST Web Services for Beginners:
When you are just getting started learning about Web services, it can seem like a daunting task. Just looking through the list of architectures to choose from can be confusing and intimidating. In this article, I will introduce you to REST and the concept of RESTful web services so that you can begin using them like a pro. Since REST has gained acceptance as a better, easier alternative to SOAP and the Web Services Description Language, you will find that it isn’t as hard to understandas you may have thought.
Subscribe to:
Posts (Atom)