Course Overview
Geared for experienced Java developers, Java REST Essentials is a two-day, lab-intensive services training course that introduces developers to the core concepts, principles, and Java implementations for RESTful services. Today’s development environments are increasingly dominated by sophisticated tooling that makes the implementation of RESTful services less arduous. The proper design of these services is far more complex and demanding. Java RESTful Service Essentials focuses on providing an understanding of the fundamental principles and technologies that are used in building these services. This understanding is critical to being able to diagnose, troubleshoot, tune, and perform other lifecycle activities.
What you’ll learn
- Understand and apply the basic concepts of REST
- Understand and intelligently discuss the similarities and differences between RESTful services and SOAP-based services
- Appreciate the security concerns associated with RESTful services
- Design, develop, and deploy real-world RESTful Services
- Effectively define and design endpoints
- Work with query parameters
- Determine the best format to use for exchanging data
- Understand the principles associated with HTTP methods and how to stay congruent to them
- Extend the semantics of the RESTful service beyond the HTTP methods
- Implement RESTful services using JAX-RS to
- Handle various HTTP methods
- Use different approaches for parameters
- Deal with content negotiation
- Work with different data formats including XML and JSON
- Handle exceptions
- Implement RESTful Java clients
- Develop JAX-RS Java clients using the JAX-RS 2.0 Client API
- Manage different Web targets
- Deal with content negotiation on the client
- Work with different data formats including XML and JSON
- Properly process server responses
- Implement JAX-RS Filters and Interceptors
- Intercept and manipulate service requests and responses
- Dynamically register interceptor to resources
- Understand the concept of NameBinding
- Discover asynchronous JAX-RS processing
- Implement an asynchronous JAX-RS service endpoint
- Register response listeners
Requirements
- Students should have at least a year of practical development experience with Java and servlets, and should be familiar with XML and JSON.
Target audiences
- This is an intermediate level training course, designed for experienced Java developers and architects who need to identify, design, and implement web services. We will explore and apply the terminology, the specification, the processes and technologies specific to web services.
Curriculum
- 8 Sections
- 8 Lessons
- 2 Days
- Working with REST Overview of REST1
- Designing RESTful Services1
- JAX-RS Introduction to JAX-RS1
- JAX-RS Content Negotiation1
- JAX-RS Request and Response1
- JAX-RS Client API1
- JAX-RS Filters and Interceptors1
- Asynchronous JAX-RS1
