Java EE: Web Services

Java EE: Web Services

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 41m | 280 MB

RESTful and SOAP-based web services are an important part of working with Java EE. They enable Java applications to securely and efficiently transfer data across the web, using standard internet protocols. This course teaches you how to build web services with two Java APIs: JAX-WS, for SOAP-based services, and JAX-RS, for RESTful services. Follow along with instructor Kesha Williams, as she builds web services to create, update, delete, and query data from the sample project: a bug tracking database that logs tickets for users of many different applications. Along the way, she explains how to implement top-level searching, handle errors, and test your web services for defects. You can also learn how to leverage the latest features in Java EE 7, such as the JAX-RS Client API for accessing REST resources.

Topics include:

  • Comparing when to use JAX-WS vs. JAX-RS
  • Using JAX-RS annotations
  • Accessing REST resources with JAX-RS
  • Creating JAX-WS endpoints
  • Writing RESTful services using JAX-RS
  • Reading, writing, updating, and deleting data via endpoints
  • Mapping to entities
  • Error handling
  • Testing web services
  • Securing Java EE web services
Table of Contents

Introduction
1 Build RESTful web services with Java EE
2 What you should know
3 Development environment setup
4 Course project and architecture

Understanding Web Services
5 Web services overview
6 Why use Java EE
7 Decide which service to use

Building RESTful Web Services with JAX-RS
8 Understand REST services
9 Use JAX-RS annotations
10 Map to entities
11 Extract request parameters
12 Use HTTP GET
13 Use HTTP POST
14 Use HTTP PUT
15 Use HTTP DELETE

Accessing REST Resources with the JAX-RS Client API
16 Understand the JAX-RS Client API
17 Use the JAX-RS Client API
18 Use advanced features

Building SOAP Web Services with JAX-WS
19 Understand SOAP services
20 Create a JAX-WS endpoint
21 Implement SOAP clients in Java
22 Retrieve data via an endpoint
23 Create data via an endpoint
24 Update data via an endpoint
25 Delete data via an endpoint
26 Map to entities with JAXB

Searching Error Handling and Testing in Web Services
27 Search in web services
28 Incorporate error handling
29 Test web services

Documentation Logging and Tracing
30 Document web services
31 Interceptors and filters
32 Secure web services

Conclusion
33 Next steps