Maxtrain.com - info@maxtrain.com - 513-322-8888 - 866-595-6863
Java RESTful Services Essentials
Description
Java RESTful Services Essentials Introduction
Tailored for seasoned Java developers, the “Java RESTful Services Essentials” course is an intensive two-day training program that introduces the fundamental concepts, principles, and Java-based implementations of RESTful services. In the current landscape of software development, sophisticated tooling is prevalent, simplifying the implementation process of RESTful services.
Yet, the design and architecture of these services remain a complex and demanding task. This course aims to equip developers with a comprehensive understanding of the underlying principles and technologies essential for building RESTful services. Such an understanding is crucial for effectively diagnosing, troubleshooting, tuning, and managing various lifecycle activities associated with these services.
Throughout this course participants will engage in a series of lab-intensive exercises, facilitating hands-on experience in crafting RESTful services using Java. The curriculum is carefully designed to ensure a deep dive into the intricacies of RESTful service architecture. By focusing on both the theoretical aspects and practical applications, the course prepares developers to confront real-world challenges.
Learn to navigate the complexities of service design, ensuring the services they develop are not only functionally robust but also adhere to best practices in terms of performance, scalability, and maintainability. Upon completion, participants will possess the skills and knowledge necessary to excel in the evolving field of RESTful services development.
Java RESTful Services Essentials Objectives
Throughout the course you’ll learn how to:
- 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
Prerequisites
- To ensure a smooth learning experience and maximize the benefits of attending this course, you should have at least a year of practical development experience with Java and servlets and should be familiar with XML and JSON basics.
- Take Before: Students should have incoming practical skills aligned with those in the course(s) below, or should have attended the following course(s) as a pre-requisite:
- Fast Track to Core Java Programming for OO Developers (C+, C#, etc.)
Audience
- 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.
Java RESTful Services Essentials Outline
Overview of REST
- The basics of the REST architectural style
- The advantages and disadvantages of that style
- Relating REST to HTTP
- The advantages and disadvantages of that implementation
- The comparisons between SOAP and REST
- Tutorial: Building Web Applications in Intellij
Designing RESTful Services
- The basic process for designing RESTful services
- Best practices for defining endpoints
- Options and best practices for exchanging data
- Requirements associated with the HTTP methods
- Best practices for using HTTP methods
- Options for extending operations
Introduction to JAX-RS
- Understand some of the features of the JAX-RS framework
- Be familiar with the process for implementing RESTful services
- Be able to develop and deploy a simple REST service
- How JAXB supports XML interoperability
- How to use JAXB with JAX-RS
- Lab: Introduction to JAX-RS
@Path: URI Matching
- JAX-RS mechanisms for mapping URIs to resources
- How to use @Path expressions to map URIs
- How to use @Path expressions to extract values from URIs
- Lab: URI Matching JAX-RS
JAX-RS Content Negotiation
- JAX-RS built-in content handler
- How to inject content handlers into the service
- Basics of working with JSON
- Capabilities for HTTP content negotiation
- JAX-RS mechanisms for supporting content negotiation
- Lab: Content Negotiation
JAX-RS Request and Response
- How information about the request can be injected into the resource
- The different injection targets of the resource
- How to build a ‘complex’ response
- How to respond to an HTTP POST
- The JAX-RS exception hierarchy
- How exceptions can be mapped to response codes
- Lab: The Reservation Service
JAX-RS Client API
- Be able to invoke a JAX-RS service using the client API
- Understand the purpose of the WebTarget object
- Be able to dynamically resolve path template values
- Understand some of the return codes
- Be able to filter client request and server responses
- Lab: JAX-RS Clients
JAX-RS Filters and Interceptors
- Understand the purpose of JAX-RS filters
- Be able to develop interceptors
- Be able to define global filters and interceptors
- Dynamically add interceptors and filters
- Understand NameBinding
- Lab: JAX-RS Filters and Interceptors
Asynchronous JAX-RS
- Be able to make asynchronous requests
- Develop resources to process requests asynchronously
- Lab: Asynchronous JAX-RS
$1695.00
|
2 Days Course |