Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Developing RESTful Web Services in Java

Course Summary

The Developing RESTful Web Services in Java training course is designed to demonstrate an in-depth examination of how to build Representational State Transfer (REST)ful web services using the Java Application Programming Interface (API) for RESTful Web Services, or JAX-RS.

The course begins with an overview of web services development in the Jakarta Enterprise Edition (EE) platform, and then moves into creating web services using the JAX-RS API. Next, it analyzes the advantages and disadvantages of REST. The class concludes with learning how to use common Java related APIs to build web services, including Java Architecture for XML Binding (JAXB), JAX-RS, client JAX-RS, and JavaScript Object Notation (JSON).

Prerequisites: A familiarity with general web services concepts, Extensible Markup Language (XML), and have a proficient command of the Java and Jakarta EE platforms.

Purpose
Learn how to construct Representational State Transfer (REST)ful web services using Java Application Programming Interface (API) for RESTful Web Services or JAX-RS.
Audience
Experienced Java programmers looking to adopt the RESTful approach to web-service-based architectures.
Role
Software Developer
Skill Level
Intermediate
Style
Workshops
Duration
3 Days
Related Technologies
Java | Web Development

 

Productivity Objectives
  • Discover Java Application Programming Interface (API) for RESTful Web Services or JAX-RS to develop simple RESTful services
  • Control dispatching to service methods based on URL, consumer type, and HTTP methods
  • Manage Extensible Markup Language (XML) content using Java Architecture for XML Binding (JAXB)
  • Utilize JAX-RS to construct clients.
  • Identify how to properly handle exceptions within a RESTful web service.
  • Handle exceptions properly within a RESTful web service

What You'll Learn:

In the Developing RESTful Web Services in Java training course, you'll learn:
  • Overview of Web Services
    • Creating Service Oriented Architectures
    • Key Components of Web Services and SOA: HTTP, XML
    • WS-I Basic Profile
  • Web Services for Java
    • Create Web Services with Java EE
    • Differentiate between JAX-WS and JAX-RS
  • Working with JAX-RS
    • Write RESTful web services
    • Define resources and sub-resources
    • Consume data
    • Utilize Application and ApplicationPath
    • Resource locators
  • Working with Return Types
    • Simple parameter types
    • Specify return types
    • Utilize JAX-B
      • Standard conversions
      • Custom conversions
    • Use Response objects
    • Comprehend JSON
    • Work with non-standard types
      • Binary
      • Files
  • Handling Errors
    • WebApplicationException
    • Exception mappers
  • Writing Clients
    • Synchronous
    • Asynchronous
  • Server-side Asynchronous HTTP
  • Filters
“I appreciated the instructor's technique of writing live code examples rather than using fixed slide decks to present the material.”

VMware

Dive in and learn more

When transforming your workforce, it's important to have expert advice and tailored solutions. We can help. Tell us your unique needs and we'll explore ways to address them.

Let's chat

By filling out this form and clicking submit, you acknowledge our privacy policy.