Java EE 7: Web Services
1h 42mIntermediate2019-01-18
Authors

Kesha Williams
Software Engineering Manager, Speaker, Tech Blogger
Course details
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.
Learning objectives
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
Learning objectives
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
Skills covered
Java EEBack-End Web DevelopmentOracleWeb DevelopmentDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Build RESTful web services with Java EE
- 02 - What you should know
- 03 - Development environment setup
- 04 - Course project and architecture
1. Understanding Web Services
- 05 - Web services overview
- 06 - Why use Java EE
- 07 - Decide which service to use
2. Building RESTful Web Services with JAX-RS
- 08 - Understand REST services
- 09 - 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
3. 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
4. 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
5. Searching, Error Handling, and Testing in Web Services
- 27 - Search in web services
- 28 - Incorporate error handling
- 29 - Test web services
6. Documentation, Logging, and Tracing
- 30 - Document web services
- 31 - Interceptors and filters
- 32 - Secure web services
Conclusion
- 33 - Next steps