𝔖 Scriptorium
✦   LIBER   ✦

📁

Pro Restful APIs with Micronaut: Build Java-Based Microservices with Rest, Json, and XML

✍ Scribed by Sanjay Patni


Publisher
Apress
Year
2023
Tongue
English
Leaves
153
Edition
2
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


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


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


📜 SIMILAR VOLUMES


Pro RESTful APIs with Micronaut: Build J
✍ Sanjay Patni 📂 Library 📅 2023 🏛 Apress 🌐 English

<span>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 teachin

Pro RESTful APIs with Micronaut: Build J
✍ Sanjay Patni 📂 Library 🏛 Apress 🌐 English

<span>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 teachin

Mastering XMI: Java Programming with XMI
✍ Timothy J. Grose Gary C. Doney Stephen A. Brodsky 📂 Library 📅 2002 🌐 English

Create more powerful, flexible applications using a new extension of the XML standardProgrammers are finding that the XMI extension of the XML standard provides a lot more flexibility in writing software for sharing data. Written by one of the principal authors of XMI, this book provides programmers

Mastering XMI: Java Programming with XMI
✍ Timothy J. Grose Gary C. Doney Stephen A. Brodsky 📂 Library 📅 2002 🌐 English

Create more powerful, flexible applications using a new extension of the XML standardProgrammers are finding that the XMI extension of the XML standard provides a lot more flexibility in writing software for sharing data. Written by one of the principal authors of XMI, this book provides programmers