Enterprise Java Development@TOPIC@

Part XXI. Web-enabled EJBs

JAX-RS EJBs

2019-08-22 07:11 EST

Table of Contents

Purpose
1. Goals
2. Objectives
106. REST-like Concepts
106.1. REST
106.2. "REST-like"
106.3. HTTP Protocol embraced
106.4. Resource
106.5. Uniform Resource Indentifiers (URIs)
106.6. Methods
106.6.1. Method Safety
106.6.2. Idempotent
106.7. Response Codes
106.8. Links
106.9. Summary
107. JAX-RS Basics
107.1. JAX-RS Client Basics
107.2. JAX-RS Server Basics
107.3. JAX-RS Maven Aspects
107.4. Summary
108. JAX-RS Resource/EJB Integration
108.1. EJB Injection
108.2. Candidate EJB/Business Tier Exceptions for Web API Status
108.2.1. Client Error
108.2.2. Service Error
108.3. Resource/EJB method
108.4. Summary
109. JAX-RS Content
109.1. JSON Content
109.1.1. JSON-B JSON Marshaling/Demarshaling
109.1.2. Jackson JSON Marshaling/Demarshaling
109.2. XML Content
109.2.1. Common JAXB Annotations
109.2.2. JAXB Maven Aspects
109.3. Content Handling
109.3.1. Client Marshal Request Content
109.3.2. API Receive Request Content
109.3.3. API Send Response Content
109.3.4. Demarshal Response Content
109.4. JAX-RS Client Maven Aspects
109.5. Summary
110. Resource Examples
110.1. JAX-RS Resource Class
110.2. JAX-RS GET Resource Collection
110.2.1. Server-side GET Resource Collection
110.2.2. Client-side GET Resource Collection
110.3. JAX-RS Resource POST Method
110.3.1. Server-side POST Resource Collection
110.3.2. Client-side POST Resource Collection
110.4. JAX-RS GET Resource Single Method
110.4.1. Server-side GET Single Resource
110.4.2. Client-side GET Single Resource
110.5. JAX-RS PUT (Nested) Resource Method
110.5.1. Server-Side JAX-RS PUT Resource Method
110.5.2. Client-side JAX-RS PUT Resource Method
110.6. JAX-RS DELETE Resource Method
110.6.1. Server-side JAX-RS DELETE Resource Method
110.6.2. Client-side JAX-RS DELETE Resource Method
110.7. Summary