Pro RESTful APIs with Micronaut: Build Java-Based Microservices with REST, JSON, and XML
- Length: 157 pages
- Edition: 2
- Language: English
- Publisher: Apress
- Publication Date: 2023-04-07
- ISBN-10: 1484291999
- ISBN-13: 9781484291993
- Sales Rank: #0 (See Top 100 Books)
Discover the RESTful technologies, including REST, JSON, XML, JAX-RS web services, SOAP and more, for building today’s Java-based microservices, big data applications, and web service applications using the Micronaut framework. This book is based on a course the Oracle-based author is teaching for UC Santa Cruz Silicon Valley which covers architecture, design best practices and coding labs.
Pro RESTful APIs with Micronaut (Second Edition) gives you all the fundamentals from the top down: from the top (architecture) through the middle (design) to the bottom (coding). This book is a must have for any microservices or web services application programmer or developer building applications and services for today’s enterprises.
After reading and using this book, you’ll be competent in using Micronaut and RESTful APIs for building today’s microservices. Source code for the examples and case studies are free and available on Apress’ GitHub page for this book.
What You’ll Learn
- Discover the key RESTful APIs, including REST, JSON, XML, JAX, SOAP and more
- Explore the Micronaut framework
- Use these for microservices for today’s modern web services and data exchanges
- Harness Java, XML, JSON, REST, and JAX-RS in examples and case studies
- Apply best practices to your solutions’ architecture and more
Who This Book Is For
Experienced Java and web programmers and developers who may be new to microservices and even cloud-native applications development.
Table of Contents About the Author About the Technical Reviewer Introduction Chapter 1: Fundamentals of RESTful APIs Abstract SOAP vs. REST Web Architectural Style Client-Server Uniform Resource Interface Layered System Caching Stateless Code on Demand HATEOAS What Is REST? REST Basics REST Fundamentals Resources Representations Content Negotiation Summary Chapter 2: Micronaut Abstract Comparison of Micronaut with Spring Boot Ease of Installation Natively Cloud Enabled Serverless Functions Application Configuration Messaging System Support Security Caching Management and Monitoring API Portfolio Online Flight Message Quote Software Micronaut JDK 11 POSTMAN CURL IDE Visual Studio Code IntelliJ Maven Setting Up an IDE Configuring Visual Studio Code Summary Chapter 3: Introduction: XML and JSON Abstract What Is XML? XML Comments Why Is XML Important? How Can You Use XML? Pros and Cons of XML What Is JSON? JSON Syntax Strings Numbers Objects Arrays Booleans Null Why Is JSON Important? How Can You Use JSON? Pros and Cons of JSON XML and JSON Comparison Implementing APIs to Return XML and JSON Messages Summary Chapter 4: API Design and Modeling Abstract API Design Strategies API Creation Process and Methodology Process API Methodology Domain Analysis or API Description Architecture Design Prototyping Implementation Publish API Modeling Comparison of API Modeling In summary Best Practices Keep Your Base URL Simple and Intuitive Error Handling Error Code Versioning Partial Response Pagination Multiple Formats API Façade API Solution Architecture Mobile Solutions Cloud Solutions Web Solutions Integration Solutions Multichannel Solutions Smart TV Solutions Internet of Things Stakeholders in API Solutions API Providers API Consumers End Users API Modeling Summary Chapter 5: API Portfolio and Framework Abstract API Portfolio Architecture Requirements Consistency Reuse Customization Discoverability Longevity How Do We Enforce These Requirements—Governance? Consistency Reuse Customization Discoverability Change Management API Framework Process APIs: Services Layer System APIs: Data Access Object Experience APIs: API Façade Services Layer Implementation Summary Chapter 6: API Platform and Data Handler Abstract API Platform Architecture Why Do We Need an API Platform? So What Is an API Platform? So Which Capabilities Does the API Platform Have? API Development Platform API Runtime Platform API Engagement Platform How Is an API Platform Organized? What Is the Architecture of the API Platform? How Does the API Architecture Fit in the Surrounding Technical Architecture of an Enterprise? Data Handler Data Access Object Command Query Responsibility Segregation (CQRS) SQL Development Process NoSQL Process Do I Have to Choose Between SQL and NoSQL? Why a Single REST API? Summary Chapter 7: API Management and CORS Abstract Façade Façade Pattern API Façade API Management API Life Cycle API Retirement API Monetization Cross-Origin Resource Sharing (CORS) Summary Index
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Pro RESTful APIs with Micronaut: Build Java-Based Microservices with REST, JSON, and XML
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.