RESTful Web APIs

Services for a Changing World

Author: Leonard Richardson,Mike Amundsen,Sam Ruby

Publisher: "O'Reilly Media, Inc."

ISBN: 1449359736

Category: Computers

Page: 406

View: 3455

The popularity of REST in recent years has led to tremendous growth in almost-RESTful APIs that don’t include many of the architecture’s benefits. With this practical guide, you’ll learn what it takes to design usable REST APIs that evolve over time. By focusing on solutions that cross a variety of domains, this book shows you how to create powerful and secure applications, using the tools designed for the world’s most successful distributed computing system: the World Wide Web. You’ll explore the concepts behind REST, learn different strategies for creating hypermedia-based APIs, and then put everything together with a step-by-step guide to designing a RESTful Web API. Examine API design strategies, including the collection pattern and pure hypermedia Understand how hypermedia ties representations together into a coherent API Discover how XMDP and ALPS profile formats can help you meet the Web API "semantic challenge" Learn close to two-dozen standardized hypermedia data formats Apply best practices for using HTTP in API implementations Create Web APIs with the JSON-LD standard and other the Linked Data approaches Understand the CoAP protocol for using REST in embedded systems

Microservices

Konzeption und Design

Author: Sam Newman

Publisher: MITP-Verlags GmbH & Co. KG

ISBN: 3958450830

Category: Computers

Page: 312

View: 5850

Feingranulare Systeme mit Microservices aufbauen Design, Entwicklung, Deployment, Testen und Monitoring Sicherheitsaspekte, Authentifizierung und Autorisierung Verteilte Systeme haben sich in den letzten Jahren stark verändert: Große monolithische Architekturen werden zunehmend in viele kleine, eigenständige Microservices aufgespalten. Aber die Entwicklung solcher Systeme bringt Herausforderungen ganz eigener Art mit sich. Dieses Buch richtet sich an Softwareentwickler, die sich über die zielführenden Aspekte von Microservice-Systemen wie Design, Entwicklung, Testen, Deployment und Monitoring informieren möchten. Sam Newman veranschaulicht und konkretisiert seine ganzheitliche Betrachtung der grundlegenden Konzepte von Microservice-Architekturen anhand zahlreicher praktischer Beispiele und Ratschläge. Er geht auf die Themen ein, mit denen sich Systemarchitekten und Administratoren bei der Einrichtung, Verwaltung und Entwicklung dieser Architekturen in jedem Fall auseinandersetzen müssen. Aus dem Inhalt: Vorteile von Microservices Gestaltung von Services Ausrichtung der Systemarchitektur an der Organisationsstruktur Möglichkeiten zur Integration von Services Schrittweise Aufspaltung einer monolithischen Codebasis Deployment einzelner Microservices mittels Continuous Integration Testen und Monitoring verteilter Systeme Sicherheitsaspekte Authentifizierung und Autorisierung zwischen Benutzer und Service bzw. zwischen Services untereinander Skalierung von Microservice-Architekturen »Microservice-Architekturen besitzen viele interessante Eigenschaften, allerdings sind bei der Umstellung so einige Fallstricke zu beachten. Dieses Buch wird Ihnen helfen herauszufinden, ob Microservices für Ihre Zwecke geeignet sind und zeigt Ihnen, wie Sie die Fallstricke umgehen können.« Martin Fowler, Chief Scientist, ThoughtWorks

Code Generation, Analysis Tools, and Testing for Quality

Author: Alexandre Peixoto de Queirós, Ricardo,Simões, Alberto,Pinto, Mário Teixeira

Publisher: IGI Global

ISBN: 1522574565

Category: Computers

Page: 288

View: 9867

Despite the advances that have been made in programming, there is still a lack of sufficient methods for quality control. While code standards try to force programmers to follow a specific set of rules, few tools exist that really deal with automatic refactoring of this code, and evaluation of the coverage of these tests is still a challenge. Code Generation, Analysis Tools, and Testing for Quality is an essential reference source that discusses the generation and writing of computer programming and methods of quality control such as analysis and testing. Featuring research on topics such as programming languages, quality assessment, and automated development, this book is ideally designed for academicians, practitioners, computer science teachers, enterprise developers, and researchers seeking coverage on code auditing strategies and methods.

What if? Was wäre wenn?

Wirklich wissenschaftliche Antworten auf absurde hypothetische Fragen

Author: Randall Munroe

Publisher: Albrecht Knaus Verlag

ISBN: 364114311X

Category: Nature

Page: 368

View: 5682

Endlich erfindet wieder jemand das Pop-Science-Erklärbuch neu! Wenn xkcd.com einen neuen Science Cartoon postet, vibriert das Internet. Sein Blog What if, auf dem der Physiker Randall Munroe jede Woche scheinbar unsinnige Fragen mit exakter Wissenschaft und genialen Strichmännchen beantwortet, ist Kult. Wie lange würde es dauern, bis wir merken würden, dass sich der Erdumfang verändert? Was wäre, wenn der gesamte Niederschlag in einem – quasi omnidirektionalen - Überschall-Regentropfen fiele? Endlich auch als Buch und endlich auf Deutsch!

RESTful Java Web Services

A pragmatic guide to designing and building RESTful APIs using Java

Author: Bogunuva Mohanram Balachandar

Publisher: Packt Publishing Ltd

ISBN: 1788294963

Category: Computers

Page: 420

View: 915

Master core REST concepts and create RESTful web services in Java About This Book Build efficient and secure RESTful web APIs in Java.. Design solutions to produce, consume and visualize RESTful web services using WADL, RAML, and Swagger Familiarize the role of RESTful APIs usage in emerging technology trends like Cloud, IoT, Social Media. Who This Book Is For If you are a web developer with a basic understanding of the REST concepts and envisage to get acquainted with the idea of designing and developing RESTful web services, this is the book for you. As all the code samples for the book are written in Java, proficiency in Java is a must. What You Will Learn Introduce yourself to the RESTful software architectural style and the REST API design principles Make use of the JSR 353 API, JSR 374 API, JSR 367 API and Jackson API for JSON processing Build portable RESTful web APIs, making use of the JAX-RS 2.1 API Simplify API development using the Jersey and RESTEasy extension APIs Secure your RESTful web services with various authentication and authorization mechanisms Get to grips with the various metadata solutions to describe, produce, and consume RESTful web services Understand the design and coding guidelines to build well-performing RESTful APIs See how the role of RESTful web services changes with emerging technologies and trends In Detail Representational State Transfer (REST) is a simple yet powerful software architecture style to create lightweight and scalable web services. The RESTful web services use HTTP as the transport protocol and can use any message formats, including XML, JSON(widely used), CSV, and many more, which makes it easily inter-operable across different languages and platforms. This successful book is currently in its 3rd edition and has been used by thousands of developers. It serves as an excellent guide for developing RESTful web services in Java. This book attempts to familiarize the reader with the concepts of REST. It is a pragmatic guide for designing and developing web services using Java APIs for real-life use cases following best practices and for learning to secure REST APIs using OAuth and JWT. Finally, you will learn the role of RESTful web services for future technological advances, be it cloud, IoT or social media. By the end of this book, you will be able to efficiently build robust, scalable, and secure RESTful web services using Java APIs. Style and approach Step-by-step guide to designing and developing robust RESTful web services. Each topic is explained in a simple and easy-to-understand manner with lots of real-life use-cases and their solutions.

Service Design Patterns

Fundamental Design Solutions for SOAP/WSDL and RESTful Web Services

Author: Robert Daigneau

Publisher: Addison-Wesley

ISBN: 0321669606

Category: Computers

Page: 352

View: 8602

Web services have been used for many years. In this time, developers and architects have encountered a number of recurring design challenges related to their usage, and have learned that certain service design approaches work better than others to solve certain problems. In Service Design Patterns, Rob Daigneau codifies proven design solutions for web services that follow the REST architectural style or leverage the SOAP/WSDL specifications. This catalogue identifies the fundamental topics in web service design and lists the common design patterns for each topic. All patterns identify the context in which they may be used, explain the constituent design elements, and explore the relative strengths and trade-offs. Code examples are provided to help you better understand how the patterns work but are kept general so that you can see how the solutions may be applied to disparate technologies that will inevitably change in the years to come. This book will help readers answer the following questions: How do you create a web service API, what are the common API styles, and when should a particular style be used? How can clients and web services communicate, and what are the foundations for creating complex conversations in which multiple parties exchange data over extended periods of time? What are the options for implementing web service logic, and when should a particular approach be used? How can clients become less coupled to the underlying systems used by a service? How can information about a web service be discovered? How can generic functions like authentication, validation, caching, and logging be supported on the client or service? What changes to a service cause clients to break? What are the common ways to version a service? How can web services be designed to support the continuing evolution of business logic without forcing clients to constantly upgrade? This book is an invaluable resource for enterprise architects, solution architects, and developers who use web services to create enterprise IT applications, commercial or open source products, and Software as a Service (SaaS) products that leverage emerging Cloud platforms.

RESTful Java Web Services

Author: Jobinesh Purushothaman

Publisher: Packt Publishing Ltd

ISBN: 1784396370

Category: Computers

Page: 354

View: 1989

Design scalable and robust RESTful web services with JAX-RS and Jersey extension APIs About This Book Get to grips with the portable Java APIs used for JSON processing Design solutions to produce, consume, and visualize RESTful web services using WADL, RAML, and Swagger A step-by-step guide packed with many real-life use-cases to help you build efficient and secure RESTful web APIs in Java Who This Book Is For If you are a web developer with a basic understanding of the REST concepts but are new to the idea of designing and developing RESTful web services, this is the book for you. As all the code samples for the book are written in Java, proficiency in Java is a must. What You Will Learn Introduce yourself to the RESTful software architectural style and the REST API design principles Make use of the JSR 353 APIs and Jackson API for JSON processing Build portable RESTful web APIs, making use of the JAX-RS 2.0 API Simplify API development using the Jersey extension APIs Secure your RESTful web services with various authentication and authorization mechanisms Get to grips with the various metadata solutions to describe, produce, and consume RESTful web services Understand the design and coding guidelines to build well-performing RESTful APIs See how the role of RESTful web services changes with emerging technologies and trends In Detail REST (REpresentational State Transfer) is a simple yet powerful software architecture style to create scalable web services and allow them to be simple, lightweight, and fast. The REST API uses HTTP and JSON, so that it can be used with many programming languages such as Ruby, Java, Python, and Scala. Its use in Java seems to be the most popular though, because of the API's reusability. This book is a guide to developing RESTful web services in Java using the popular RESTful framework APIs available today. You will begin with gaining an in-depth knowledge of the RESTful software architectural style and its relevance in modern applications. Further, you will understand the APIs to parse, generate, transform, and query JSON effectively. Then, you will see how to build a simple RESTful service using the popular JAX-RS 2.0 API along with some real-world examples. This book will introduce you to the Jersey framework API, which is used to simplify your web services. You will also see how to secure your services with various authentication mechanisms. You will get to grips with various solutions to describe, produce, consume, and visualize RESTful web services. Finally, you will see how to design your web services to equip them for the future technological advances, be it Cloud or mobile computing. By the end of this book, you will be able to efficiently build robust, scalable, and secure RESTful web services, making use of the JAX-RS and Jersey framework extensions. Style and approach This book is written as a step-by-step guide to designing and developing robust RESTful web services. Each topic is explained in a simple and easy-to-understand manner with lots of real-life use-cases and their solutions.

RESTful Web Services Cookbook

Author: Subbu Allamaraju,Subrahmanyam Allamaraju

Publisher: "O'Reilly Media, Inc."

ISBN: 0596801688

Category: Computers

Page: 293

View: 8010

Provides information on designing RESTful Web services for client and server applications, covering such topics as Web linking, content negotiation, Web caching, queries, security, and compatibility.

Restful Web Clients

Enabling Reuse Through Hypermedia

Author: Amundsen, Mike

Publisher: "O'Reilly Media, Inc."

ISBN: 1491921870

Category:

Page: N.A

View: 9273

Powerful web-based REST and hypermedia-style APIs are becoming more common every day, but instead of applying the same techniques and patterns to hypermedia clients, many developers rely on custom client code. With this practical guide, you'll learn how to move from one-off implementations to general-purpose client apps that are stable, flexible, and reusable. Author Mike Amundsen provides extensive background, easy-to-follow examples, illustrative dialogues, and clear recommendations for building effective hypermedia-based client applications. Along the way, you'll learn how to harness many of the basic principles that underpin the Web. Convert HTML-only web apps into a JSON API service Overcome the challenges of maintaining plain JSON-style client apps Decouple the output format from the internal object model with the representor pattern Explore client apps built with HAL--Hypertext Application Language Tackle reusable clients with the Request, Parse, Wait Loop (RPW) pattern Learn the pros and cons of building client apps with the Siren content type Deal with API versioning by adopting a change-over-time aesthetic Compare how JSON, HAL, Siren, and Collection+JSON clients handle the Objects/Addresses/Actions Challenge Craft a single client application that can consume multiple services

Building a RESTful Web Service with Spring

Author: Ludovic Dewailly

Publisher: Packt Publishing Ltd

ISBN: 1785283197

Category: Computers

Page: 128

View: 7560

A hands-on guide to building an enterprise-grade, scalable RESTful web service using the Spring Framework About This Book Follow best practices and explore techniques such as clustering and caching to achieve a scalable web service Leverage the Spring Framework to quickly implement RESTful endpoints Learn to implement a client library for a RESTful web service using the Spring Framework Who This Book Is For This book is intended for those who want to learn to build RESTful web services with the Spring Framework. To make best use of the code samples included in the book, you should have a basic knowledge of the Java language. Previous experience with the Spring Framework would also help you get up and running quickly. What You Will Learn Deep dive into the principles behind REST Expose CRUD operations through RESTful endpoints with the Spring Framework Devise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumers Follow the best approaches for dealing with a service's evolution while maintaining backward compatibility Understand techniques to secure web services Comply with the best ways to test RESTful web services, including tips for load testing Optimise and scale web services using techniques such as caching and clustering In Detail REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs. The depth, breadth, and ease of use of Spring makes it one of the most attractive frameworks in the Java ecosystem. Marrying the two technologies is therefore a very natural choice. This book takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. Starting from the basics of the philosophy behind REST, you'll go through the steps of designing and implementing an enterprise-grade RESTful web service. Taking a practical approach, each chapter provides code samples that you can apply to your own circumstances. This book goes beyond the use of Spring and explores approaches to tackle resilience, security, and scalability concerns. You'll learn techniques to deal with security in Spring and discover how to implement unit and integration test strategies. Finally, the book ends by walking you through building a Java client for your RESTful web service, along with some scaling techniques for it. Style and approach This book is a step-by-step, hands-on guide to designing and building RESTful web services. The book follows the natural cycle of developing these services and includes multiple code samples to help you.

React Native

Native Apps parallel für Android und iOS entwickeln

Author: Erik Behrends

Publisher: O'Reilly

ISBN: 396010202X

Category: Computers

Page: 260

View: 6485

Mit dem Open-Source-Framework React Native entwickeln Sie plattformübergreifend vollwertige native Apps mit JavaScript. Der Einstieg in die App-Entwicklung ist durch dieses Framework so einfach wie nie zuvor. Dieses Buch zeigt Ihnen, wie Apps parallel für Android und iOS mit einer weitgehend einheitlichen Codebasis umgesetzt werden. Sie benötigen dazu lediglich grundlegende Programmiererfahrung, idealerweise in JavaScript. Schneller Einstieg: Testen Sie schon nach wenigen Minuten Ihre erste App auf dem Smartphone. Mit dem App-Entwicklungstool Expo können Sie iOS-Apps sogar ohne einen eigenen Mac entwickeln.Praxisnahe Beispiel-App: Entwickeln Sie schrittweise parallel für Android und iOS eine Tagebuch-App mit typischen Features wie dem Einbinden von Fotos und dem Abfragen und Darstellen aktueller Wetterdaten für den Standort des Users.Relevantes Basiswissen: Verstehen Sie die Grundlagen: Das Buch beschreibt alle relevanten Features neuerer JavaScript-Versionen und grundlegende Konzepte des Frameworks.Aufbau und Darstellung von Apps: Lernen Sie wichtige APIs und UI-Komponenten wie Listen kennen und erfahren Sie, wie Sie mit dem Flexbox-Layout ein Styling realisieren, das sich verschiedenen Displaygrößen anpasst.Besonderheiten mobiler Apps: Fassen Sie mehrere Screens durch react-navigation in einer geeigneten Navigationsstruktur zusammen und erhalten Sie Einblick in den Umgang mit Touch-Gesten und Animationen.Für jedes Kapitel stehen die relevanten Codebeispiele als Download auf der Webseite zum Buch bereit.

REST und HTTP

Einsatz der Architektur des Web für Integrationsszenarien

Author: Stefan Tilkov

Publisher: N.A

ISBN: 9783898647328

Category:

Page: 248

View: 1157


ASP.NET Web API 2: Building a REST Service from Start to Finish

Author: Jamie Kurtz,Brian Wortman

Publisher: Apress

ISBN: 1484201094

Category: Computers

Page: 280

View: 8015

The ASP.NET MVC Framework has always been a good platform on which to implement REST-based services, but the introduction of the ASP.NET Web API Framework raised the bar to a whole new level. Now in release version 2.1, the Web API Framework has evolved into a powerful and refreshingly usable platform. This concise book provides technical background and guidance that will enable you to best use the ASP.NET Web API 2 Framework to build world-class REST services. New content in this edition includes: New capabilities in Web API 2 (currently version 2.1). Support for partial updates, or PATCH. API versioning. Support for legacy SOAP-based operations. How to handle non-resource APIs using REST How to best expose relationships between resources JSON Web Tokens, CORS, CSRF Get ready for authors Jamie Kurtz and Brian Wortman to take you from zero to REST service hero in no time at all. No prior experience with ASP.NET Web API is required; all Web API-related concepts are introduced from basic principles and developed to the point where you can use them in a production system. A good working knowledge of C# and the .NET Framework are the only prerequisites to best benefit from this book.

Pro ASP.NET Web API Security

Securing ASP.NET Web API

Author: Badrinarayanan Lakshmiraghavan

Publisher: Apress

ISBN: 1430257822

Category: Computers

Page: 416

View: 6388

ASP.NET Web API is a key part of ASP.NET MVC 4 and the platform of choice for building RESTful services that can be accessed by a wide range of devices. Everything from JavaScript libraries to RIA plugins, RFID readers to smart phones can consume your services using platform-agnostic HTTP. With such wide accessibility, securing your code effectively needs to be a top priority. You will quickly find that the WCF security protocols you’re familiar with from .NET are less suitable than they once were in this new environment, proving themselves cumbersome and limited in terms of the standards they can work with. Fortunately, ASP.NET Web API provides a simple, robust security solution of its own that fits neatly within the ASP.NET MVC programming model and secures your code without the need for SOAP, meaning that there is no limit to the range of devices that it can work with – if it can understand HTTP, then it can be secured by Web API. These SOAP-less security techniques are the focus of this book. What you’ll learn Identity management and cryptography HTTP basic and digest authentication and Windows authentication HTTP advanced concepts such as web caching, ETag, and CORS Ownership factors of API keys, client X.509 certificates, and SAML tokens Simple Web Token (SWT) and signed and encrypted JSON Web Token (JWT) OAuth 2.0 from the ground up using JWT as the bearer token OAuth 2.0 authorization codes and implicit grants using DotNetOpenAuth Two-factor authentication using Google Authenticator OWASP Top Ten risks for 2013Who this book is for No prior experience of .NET security is needed to read this book. All security related concepts will be introduced from first-principles and developed to the point where you can use them confidently in a professional environment. A good working knowledge of and experience with C# and the .NET framework are the only prerequisites to benefit from this book. Table of Contents Welcome to ASP.NET Web API Building RESTful Services Extensibility Points HTTP Anatomy and Security Identity Management Encryption and Signing Custom STS through WIF Knowledge Factors Ownership Factors Web Tokens OAuth 2.0 Using Live Connect API OAuth 2.0 From the Ground Up OAuth 2.0 Using DotNetOpenAuth Two-Factor Authentication Security Vulnerabilities Appendix: ASP.NET Web API Security Distilled

Entwurfsmuster

Elemente wiederverwendbarer objektorientierter Software

Author: Erich Gamma,Ralph Johnson,Richard Helm,John Vlissides

Publisher: Pearson Deutschland GmbH

ISBN: 9783827330437

Category: Agile software development

Page: 479

View: 2921


Google-Mitarbeiter

Der erste Insider-Bericht aus dem Weltkonzern

Author: Douglas Edwards

Publisher: Redline Wirtschaft

ISBN: 3864142768

Category: Business & Economics

Page: 480

View: 3259

1998 erblickte einer der einflussreichsten Internetkonzerne das Licht der Welt. Einer, der nicht nur die IT-Welt eroberte, sondern es obendrein geschafft hat, einen eigenen Begriff zu prägen. Googeln schaffte es sogar in den Duden. Die Suchmaschine ist heute für Millionen Menschen die Anlaufstelle Nummer 1, wenn es um die Beschaffung von Informationen geht. Und von der ersten Stunde an dabei war Google-Mitarbeiter Nr. 59, Douglas Edwards. Mit viel Humor berichtet er von den Anfängen, der ganz eigenen Google-Kultur und seinen ganz persönlichen Erfahrungen in der sehr speziellen Welt eines Internet-Start-ups auf dem Weg zum Global Player. Er beschreibt, wie Larry Page und Sergey Brin mit Eigensinn und einer leichten Arroganz Google dahin brachten, wo Google heute ist und wofür Google steht. Atmen wir quasi die Google-Luft in der Konzernzentrale und begeben uns mit Douglas Edwards auf die Reise durch das Google-Imperium. Dabei erzählt er uns viele persönliche Geschichten darüber, wie es ist, im wohl eigenwilligsten Konzern der Welt zu arbeiten.

Java in a nutshell

deutsche Ausgabe für Java 1.4

Author: David Flanagan

Publisher: O'Reilly Germany

ISBN: 9783897213326

Category: Java (Computer program language)

Page: 1084

View: 3170


The Design of Everyday Things

Psychologie und Design der alltäglichen Dinge

Author: Norman Don

Publisher: Vahlen

ISBN: 3800648105

Category: Business & Economics

Page: 320

View: 5758

Apple, Audi, Braun oder Samsung machen es vor: Gutes Design ist heute eine kritische Voraussetzung für erfolgreiche Produkte. Dieser Klassiker beschreibt die fundamentalen Prinzipien, um Dinge des täglichen Gebrauchs umzuwandeln in unterhaltsame und zufriedenstellende Produkte. Don Norman fordert ein Zusammenspiel von Mensch und Technologie mit dem Ziel, dass Designer und Produktentwickler die Bedürfnisse, Fähigkeiten und Handlungsweisen der Nutzer in den Vordergrund stellen und Designs an diesen angepasst werden. The Design of Everyday Things ist eine informative und spannende Einführung für Designer, Marketer, Produktentwickler und für alle an gutem Design interessierten Menschen. Zum Autor Don Norman ist emeritierter Professor für Kognitionswissenschaften. Er lehrte an der University of California in San Diego und der Northwest University in Illinois. Mitte der Neunzigerjahre leitete Don Norman die Advanced Technology Group bei Apple. Dort prägte er den Begriff der User Experience, um über die reine Benutzbarkeit hinaus eine ganzheitliche Erfahrung der Anwender im Umgang mit Technik in den Vordergrund zu stellen. Norman ist Mitbegründer der Beratungsfirma Nielsen Norman Group und hat unter anderem Autohersteller von BMW bis Toyota beraten. „Keiner kommt an Don Norman vorbei, wenn es um Fragen zu einem Design geht, das sich am Menschen orientiert.“ Brand Eins 7/2013 „Design ist einer der wichtigsten Wettbewerbsvorteile. Dieses Buch macht Spaß zu lesen und ist von größter Bedeutung.” Tom Peters, Co-Autor von „Auf der Suche nach Spitzenleistungen“