RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition
- Autor:
- Bill Burke
- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 392
- Dostępne formaty:
-
ePubMobi
Opis ebooka: RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition
Learn how to design and develop distributed web services in Java, using RESTful architectural principles and the JAX-RS 2.0 specification in Java EE 7. By focusing on implementation rather than theory, this hands-on reference demonstrates how easy it is to get started with services based on the REST architecture.
With the book’s technical guide, you’ll learn how REST and JAX-RS work and when to use them. The RESTEasy workbook that follows provides step-by-step instructions for installing, configuring, and running several working JAX-RS examples, using the JBoss RESTEasy implementation of JAX-RS 2.0.
- Learn JAX-RS 2.0 features, including a client API, server-side asynchronous HTTP, and filters and interceptors
- Examine the design of a distributed RESTful interface for an e-commerce order entry system
- Use the JAX-RS Response object to return complex responses to your client (ResponseBuilder)
- Increase the performance of your services by leveraging HTTP caching protocols
- Deploy and integrate web services within Java EE7, servlet containers, EJB, Spring, and JPA
- Learn popular mechanisms to perform authentication on the Web, including client-side SSL and OAuth 2.0
Wybrane bestsellery
-
Learn how to code, package, deploy, and test functional Enterprise JavaBeans with the latest edition of this bestselling guide. Written by the developers of JBoss EJB 3.1, this book not only brings you up to speed on each component type and container service in this implementation, it also provid...
Enterprise JavaBeans 3.1. Developing Enterprise Java Components. 6th Edition Enterprise JavaBeans 3.1. Developing Enterprise Java Components. 6th Edition
(160.65 zł najniższa cena z 30 dni)160.65 zł
189.00 zł(-15%) -
If you're up on the latest Java technologies, then you know that Enterprise JavaBeans (EJB) 3.0 is the hottest news in Java this year. In fact, EJB 3.0 is being hailed as the new standard of server-side business logic programming. And O'Reilly's award-winning book on EJB has been refreshed just i...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Dzięki książce Enterprise JavaBeans 3.0. Wydanie V poznasz najnowsze wcielenie technologii EJB. Opisano tu wszystkie rozwiązania, które umożliwiły uproszczenie standardu Enterprise JavaBeans 3.(39.90 zł najniższa cena z 30 dni)
70.95 zł
129.00 zł(-45%) -
To dziewiąte wydanie znakomitego podręcznika programowania dla początkujących, starannie zaktualizowane i uzupełnione o informacje dotyczące Java Platform, Standard Edition 17. Książka rozpoczyna się od solidnej dawki wiedzy o kompilacji i uruchamianiu programu w Javie, słowach kluczowych i istot...(77.40 zł najniższa cena z 30 dni)
90.30 zł
129.00 zł(-30%) -
Dzięki tej książce zrozumiesz bazowe koncepcje programowania funkcyjnego i przekonasz się, że możesz włączać je do kodu bez rezygnacji z paradygmatu obiektowego. Dowiesz się również, kiedy w swojej codziennej pracy używać takich opcji jak niemutowalność i funkcje czyste i dlaczego warto to robić....
Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego Java. Podejście funkcyjne. Rozszerzanie obiektowego kodu Javy o zasady programowania funkcyjnego
(52.20 zł najniższa cena z 30 dni)60.90 zł
87.00 zł(-30%) -
Java. Podręcznik na start to pozycja idealna dla każdego, kto chce podjąć takie kroki. W przystępny sposób zaznajamia nie tylko z językiem, ale też z podstawowymi koncepcjami stosowanymi podczas programowania - w obrazowy sposób przyrównuje je do sytuacji znanych spoza świata wirtualnego. Autor n...(41.40 zł najniższa cena z 30 dni)
48.30 zł
69.00 zł(-30%) -
Build Your Own Programming Language provides a hands-on approach to designing and implementing programming language features in a simple compiler and programming environment. This book will help you create new or domain-specific languages.
Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition Build Your Own Programming Language. A developer's comprehensive guide to crafting, compiling, and implementing programming languages - Second Edition
-
Java należy do najpopularniejszych języków programowania na świecie. Używana przez miliony programistów, jest na tyle uniwersalna, że znajduje zastosowanie zarówno w aplikacjach desktopowych, mobilnych, jak i serwerowych, a także w zaawansowanych systemach zarządzania bazami danych. Z jej zalet k...
Java 21. Kurs video. Od "Hello World!" do programowania obiektowego Java 21. Kurs video. Od "Hello World!" do programowania obiektowego
(39.60 zł najniższa cena z 30 dni)54.45 zł
99.00 zł(-45%) -
Oto kolejne wydanie zwięzłego podręcznika dla programistów Javy, który ma ułatwić maksymalne wykorzystanie technologii tego języka w wersji 17. Treść została skrupulatnie przejrzana i uzupełniona o materiał dotyczący nowości w obiektowym modelu Javy. Pierwsza część książki obejmuje wprowadzenie d...(53.40 zł najniższa cena z 30 dni)
62.30 zł
89.00 zł(-30%) -
Kariera zawodowa programisty jest związana z nieustanną nauką i doskonaleniem zdobytych umiejętności. Jednym z podstawowych etapów rozwoju programisty Java jest zaznajomienie się z dobrymi praktykami programistycznymi, co obejmuje także wzorce projektowe – i to im właśnie poświęcony jest te...
Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań Wzorce projektowe w Javie. Kurs video. Programowanie efektywnych rozwiązań
(39.90 zł najniższa cena z 30 dni)81.95 zł
149.00 zł(-45%)
Ebooka "RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition" przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook, Onyx Boox i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka "RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition" posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolnych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video "RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition" zobaczysz:
-
w aplikacjach Ebookpoint i Videopoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych z dostępem do najnowszej wersji Twojej przeglądarki internetowej
Szczegóły ebooka
- ISBN Ebooka:
- 978-14-493-6145-7, 9781449361457
- Data wydania ebooka:
- 2013-11-12 Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@ebookpoint.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 1.7MB
- Rozmiar pliku Mobi:
- 1.7MB
Spis treści ebooka
- RESTful Java with JAX-RS 2.0
- Foreword
- Preface
- Authors Note
- Who Should Read This Book
- How This Book Is Organized
- Part I, REST and the JAX-RS Standard
- Part II, JAX-RS Workbook
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- I. REST and the JAX-RS Standard
- 1. Introduction to REST
- REST and the Rebirth of HTTP
- RESTful Architectural Principles
- Addressability
- The Uniform, Constrained Interface
- Why Is the Uniform Interface Important?
- Representation-Oriented
- Communicate Statelessly
- HATEOAS
- The engine of application state
- Wrapping Up
- 1. Introduction to REST
- 2. Designing RESTful Services
- The Object Model
- Model the URIs
- Defining the Data Format
- Read and Update Format
- Common link element
- The details
- Read and Update Format
- Create Format
- Assigning HTTP Methods
- Browsing All Orders, Customers, or Products
- Obtaining Individual Orders, Customers, or Products
- Creating an Order, Customer, or Product
- Creating with PUT
- Creating with POST
- Updating an Order, Customer, or Product
- Removing an Order, Customer, or Product
- Cancelling an Order
- Overloading the meaning of DELETE
- States versus operations
- Wrapping Up
- 3. Your First JAX-RS Service
- Developing a JAX-RS RESTful Service
- Customer: The Data Class
- CustomerResource: Our JAX-RS Service
- Creating customers
- Retrieving customers
- Updating a customer
- Utility methods
- JAX-RS and Java Interfaces
- Inheritance
- Developing a JAX-RS RESTful Service
- Deploying Our Service
- Writing a Client
- Wrapping Up
- 4. HTTP Method and URI Matching
- Binding HTTP Methods
- HTTP Method Extensions
- Binding HTTP Methods
- @Path
- Binding URIs
- @Path Expressions
- Template parameters
- Regular expressions
- Precedence rules
- Encoding
- Matrix Parameters
- Subresource Locators
- Full Dynamic Dispatching
- Gotchas in Request Matching
- Wrapping Up
- 5. JAX-RS Injection
- The Basics
- @PathParam
- More Than One Path Parameter
- Scope of Path Parameters
- PathSegment and Matrix Parameters
- Matching with multiple PathSegments
- Programmatic URI Information
- @MatrixParam
- @QueryParam
- Programmatic Query Parameter Information
- @FormParam
- @HeaderParam
- Raw Headers
- @CookieParam
- @BeanParam
- Common Functionality
- Automatic Java Type Conversion
- Primitive type conversion
- Java object conversion
- ParamConverters
- Collections
- Conversion failures
- Automatic Java Type Conversion
- @DefaultValue
- @Encoded
- Wrapping Up
- 6. JAX-RS Content Handlers
- Built-in Content Marshalling
- javax.ws.rs.core.StreamingOutput
- java.io.InputStream, java.io.Reader
- java.io.File
- byte[]
- String, char[]
- MultivaluedMap<String, String> and Form Input
- javax.xml.transform.Source
- Built-in Content Marshalling
- JAXB
- Intro to JAXB
- JAXB JAX-RS Handlers
- Managing your own JAXBContexts with ContextResolvers
- JAXB and JSON
- XML to JSON using BadgerFish
- JSON and JSON Schema
- Custom Marshalling
- MessageBodyWriter
- Adding pretty printing
- Pluggable JAXBContexts using ContextResolvers
- MessageBodyWriter
- MessageBodyReader
- Life Cycle and Environment
- Wrapping Up
- 7. Server Responses and Exception Handling
- Default Response Codes
- Successful Responses
- Error Responses
- Default Response Codes
- Complex Responses
- Returning Cookies
- The Status Enum
- javax.ws.rs.core.GenericEntity
- Exception Handling
- javax.ws.rs.WebApplicationException
- Exception Mapping
- Exception Hierarchy
- Mapping default exceptions
- Wrapping Up
- 8. JAX-RS Client API
- Client Introduction
- Bootstrapping with ClientBuilder
- Client and WebTarget
- Building and Invoking Requests
- Invocation
- Exception Handling
- Configuration Scopes
- Wrapping Up
- 9. HTTP Content Negotiation
- Conneg Explained
- Preference Ordering
- Conneg Explained
- Language Negotiation
- Encoding Negotiation
- JAX-RS and Conneg
- Method Dispatching
- Leveraging Conneg with JAXB
- Complex Negotiation
- Viewing Accept headers
- Variant processing
- Negotiation by URI Patterns
- Leveraging Content Negotiation
- Creating New Media Types
- Flexible Schemas
- Wrapping Up
- 10. HATEOAS
- HATEOAS and Web Services
- Atom Links
- Advantages of Using HATEOAS with Web Services
- Location transparency
- Decoupling interaction details
- Reduced state transition errors
- W3C standardized relationships
- Link Headers Versus Atom Links
- HATEOAS and Web Services
- HATEOAS and JAX-RS
- Building URIs with UriBuilder
- Relative URIs with UriInfo
- Building Links and Link Headers
- Writing Link Headers
- Embedding Links in XML
- Wrapping Up
- 11. Scaling JAX-RS Applications
- Caching
- HTTP Caching
- Expires Header
- Cache-Control
- Revalidation and Conditional GETs
- Last-Modified
- ETag
- JAX-RS and conditional GETs
- Caching
- Concurrency
- JAX-RS and Conditional Updates
- Wrapping Up
- 12. Filters and Interceptors
- Server-Side Filters
- Server Request Filters
- Server Response Filters
- Server-Side Filters
- Reader and Writer Interceptors
- Client-Side Filters
- Deploying Filters and Interceptors
- Ordering Filters and Interceptors
- Per-JAX-RS Method Bindings
- DynamicFeature
- Name Bindings
- DynamicFeature Versus @NameBinding
- Exception Processing
- Wrapping Up
- 13. Asynchronous JAX-RS
- AsyncInvoker Client API
- Using Futures
- Exception handling
- Using Futures
- Using Callbacks
- Futures Versus Callbacks
- AsyncInvoker Client API
- Server Asynchronous Response Processing
- AsyncResponse API
- Exception Handling
- Cancel
- Status Methods
- Timeouts
- Callbacks
- Use Cases for AsyncResponse
- Server-side push
- Publish and subscribe
- Priority scheduling
- Wrapping Up
- 14. Deployment and Integration
- Deployment
- The Application Class
- Deployment Within a JAX-RS-Aware Container
- Deployment Within a JAX-RS-Unaware Container
- Deployment
- Configuration
- Basic Configuration
- EJB Integration
- Spring Integration
- Wrapping Up
- 15. Securing JAX-RS
- Authentication
- Basic Authentication
- Digest Authentication
- Client Certificate Authentication
- Authentication
- Authorization
- Authentication and Authorization in JAX-RS
- Enforcing Encryption
- Authorization Annotations
- Programmatic Security
- Client Security
- Verifying the Server
- OAuth 2.0
- Signing and Encrypting Message Bodies
- Digital Signatures
- DKIM/DOSETA
- JOSE JWS
- Digital Signatures
- Encrypting Representations
- Wrapping Up
- 16. Alternative Java Clients
- java.net.URL
- Caching
- Authentication
- Client Certificate Authentication
- Advantages and Disadvantages
- java.net.URL
- Apache HttpClient
- Authentication
- Client Certificate authentication
- Authentication
- Advantages and Disadvantages
- RESTEasy Client Proxies
- Advantages and Disadvantages
- Wrapping Up
- II. JAX-RS Workbook
- 17. Workbook Introduction
- Installing RESTEasy and the Examples
- Example Requirements and Structure
- Code Directory Structure
- Environment Setup
- 17. Workbook Introduction
- 18. Examples for Chapter 3
- Build and Run the Example Program
- Deconstructing pom.xml
- Running the Build
- Build and Run the Example Program
- Examining the Source Code
- 19. Examples for Chapter 4
- Example ex04_1: HTTP Method Extension
- Build and Run the Example Program
- The Server Code
- The Client Code
- Example ex04_1: HTTP Method Extension
- Example ex04_2: @Path with Expressions
- Build and Run the Example Program
- The Server Code
- The Client Code
- Example ex04_3: Subresource Locators
- Build and Run the Example Program
- The Server Code
- The Client Code
- 20. Examples for Chapter 5
- Example ex05_1: Injecting URI Information
- The Server Code
- The Client Code
- Build and Run the Example Program
- Example ex05_1: Injecting URI Information
- Example ex05_2: Forms and Cookies
- The Server Code
- Build and Run the Example Program
- 21. Examples for Chapter 6
- Example ex06_1: Using JAXB
- The Client Code
- Changes to pom.xml
- Build and Run the Example Program
- Example ex06_1: Using JAXB
- Example ex06_2: Creating a Content Handler
- The Content Handler Code
- The Resource Class
- The Application Class
- The Client Code
- Build and Run the Example Program
- 22. Examples for Chapter 7
- Example ex07_1: ExceptionMapper
- The Client Code
- Build and Run the Example Program
- Example ex07_1: ExceptionMapper
- 23. Examples for Chapter 9
- Example ex09_1: Conneg with JAX-RS
- The Client Code
- Build and Run the Example Program
- Example ex09_1: Conneg with JAX-RS
- Example ex09_2: Conneg via URL Patterns
- The Server Code
- Build and Run the Example Program
- 24. Examples for Chapter 10
- Example ex10_1: Atom Links
- The Server Code
- The Client Code
- Build and Run the Example Program
- Example ex10_1: Atom Links
- Example ex10_2: Link Headers
- The Server Code
- OrderResource
- StoreResource
- The Server Code
- The Client Code
- Build and Run the Example Program
- 25. Examples for Chapter 11
- Example ex11_1: Caching and Concurrent Updates
- The Server Code
- The Client Code
- Build and Run the Example Program
- Example ex11_1: Caching and Concurrent Updates
- 26. Examples for Chapter 12
- Example ex12_1 : ContainerResponseFilter and DynamicFeature
- The Server Code
- The Client Code
- Build and Run the Example Program
- Example ex12_1 : ContainerResponseFilter and DynamicFeature
- Example ex12_2: Implementing a WriterInterceptor
- The Client Code
- Build and Run the Example Program
- 27. Examples for Chapter 13
- Example ex13_1: Chat REST Interface
- The Client Code
- The Server Code
- Posting a new message
- Handling poll requests
- Build and Run the Example Program
- Example ex13_1: Chat REST Interface
- 28. Examples for Chapter 14
- Example ex14_1: EJB and JAX-RS
- Project Structure
- The EJBs
- The Remaining Server Code
- The ExceptionMappers
- Changes to Application class
- The Client Code
- Build and Run the Example Program
- Example ex14_1: EJB and JAX-RS
- Example ex14_2: Spring and JAX-RS
- Build and Run the Example Program
- 29. Examples for Chapter 15
- Example ex15_1: Custom Security
- One-Time Password Authentication
- The server code
- One-Time Password Authentication
- Allowed-per-Day Access Policy
- The client code
- Example ex15_1: Custom Security
- Build and Run the Example Program
- Example ex15_1: JSON Web Encryption
- Build and Run the Example Program
- Index
- Colophon
- Copyright
O'Reilly Media - inne książki
-
JavaScript gives web developers great power to create rich interactive browser experiences, and much of that power is provided by the browser itself. Modern web APIs enable web-based applications to come to life like never before, supporting actions that once required browser plug-ins. Some are s...(177.65 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
How will software development and operations have to change to meet the sustainability and green needs of the planet? And what does that imply for development organizations? In this eye-opening book, sustainable software advocates Anne Currie, Sarah Hsu, and Sara Bergman provide a unique overview...(160.65 zł najniższa cena z 30 dni)
177.65 zł
209.00 zł(-15%) -
OpenTelemetry is a revolution in observability data. Instead of running multiple uncoordinated pipelines, OpenTelemetry provides users with a single integrated stream of data, providing multiple sources of high-quality telemetry data: tracing, metrics, logs, RUM, eBPF, and more. This practical gu...(143.65 zł najniższa cena z 30 dni)
152.15 zł
179.00 zł(-15%) -
Interested in developing embedded systems? Since they don't tolerate inefficiency, these systems require a disciplined approach to programming. This easy-to-read guide helps you cultivate good development practices based on classic software design patterns and new patterns unique to embedded prog...(152.15 zł najniższa cena z 30 dni)
160.65 zł
189.00 zł(-15%) -
If you use Linux in your day-to-day work, then Linux Pocket Guide is the perfect on-the-job reference. This thoroughly updated 20th anniversary edition explains more than 200 Linux commands, including new commands for file handling, package management, version control, file format conversions, an...(92.65 zł najniższa cena z 30 dni)
92.65 zł
119.00 zł(-22%) -
Gain the valuable skills and techniques you need to accelerate the delivery of machine learning solutions. With this practical guide, data scientists, ML engineers, and their leaders will learn how to bridge the gap between data science and Lean product delivery in a practical and simple way. Dav...(245.65 zł najniższa cena z 30 dni)
254.15 zł
299.00 zł(-15%) -
This practical book provides a detailed explanation of the zero trust security model. Zero trust is a security paradigm shift that eliminates the concept of traditional perimeter-based security and requires you to "always assume breach" and "never trust but always verify." The updated edition off...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Decentralized finance (DeFi) is a rapidly growing field in fintech, having grown from $700 million to $100 billion over the past three years alone. But the lack of reliable information makes this area both risky and murky. In this practical book, experienced securities attorney Alexandra Damsker ...(203.15 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%) -
Whether you're a startup founder trying to disrupt an industry or an entrepreneur trying to provoke change from within, your biggest challenge is creating a product people actually want. Lean Analytics steers you in the right direction.This book shows you how to validate your initial idea, find t...(126.65 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
When it comes to building user interfaces on the web, React enables web developers to unlock a new world of possibilities. This practical book helps you take a deep dive into fundamental concepts of this JavaScript library, including JSX syntax and advanced patterns, the virtual DOM, React reconc...(194.65 zł najniższa cena z 30 dni)
211.65 zł
249.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka drukowana
Oceny i opinie klientów: RESTful Java with JAX-RS 2.0. Designing and Developing Distributed Web Services. 2nd Edition Bill Burke (0) Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.