Java RESTful Web Services

Inquire now

Duration: 3 days – 21 hrs

 

Overview

 

REST is the most popular web service standard that allows data exchange between applications. This course allows you to create RESTful web services that can be consumed by different types of applications, including web clients and mobile applications. The course also teaches you how to create Java applications that make use of REST services.

 

Objectives

  • Design a RESTful API
  • Create RESTful Web Services using the JAX-RS API
  • Create Java and JavaScript clients that consume RESTful Web Services
  • Handle errors properly
  • Secure RESTful services using Spring security

 

Audience

  • For organizations and individuals who are looking for ways to create RESTful web services and clients using Java. You are expected to be fully familiar with the Java programming language.

 

Pre- requisites 

  • Those involved in the development of complex enterprise-level Java applications. 
  • Knowledge of Java Programming and real-world Java programming experience, is assumed.

Course Content

 

Introduction to Web Services

  • What are Web Services?
  • Benefits of Web Services
  • SOAP vs REST
  • Java Web Service Standards
  • What is SOA?
  • Benefits of SOA
  • Other Implementations of SOA

 

Creating Your First Project

  • Setting up the Development Environment
  • Software Requirements
  • Configuring STS
  • adding the Postman Extension
  • Finding Documentation
  • Creating a Jersey Project
  • Exploring the Project Content
  • The Maven Project Directory Structure
  • Looking at web.xml
  • The Default Resource
  • Running the Project

 

REST Concepts

 

  • HTTP Request and Response
  • HTTP Methods
  • Anatomy of an HTTP Request
  • Anatomy of an HTTP Response
  • REST
  • Overview
  • Content Negotiation
  • JSON
  • Why Use REST?
  • Performing CRUD Operations through REST
  • Creating Resources Using POST
  • Retrieving Resources Using GET
  • Updating Resources Using PUT
  • Deleting Resources Using DELETE
  • Designing REST Services

 

JAX-RS

  • The Case Study: eBank
  • Using GET
  • Returning a Collection
  • Returning a Single Object
  • Creating a JAX-RS GET Client
  • Creating a JavaScript GET Client
  • Using POST
  • Creating a Resource
  • Creating a JAX-RS POST Client
  • Creating a JavaScript POST Client
  • Using PUT
  • Updating a Resource
  • Creating a JAX-RS PUT Client
  • Creating a JavaScript PUT Client
  • Using DELETE
  • Deleting a Resource
  • Creating a JAX-RS DELETE Client
  • Creating a JavaScript DELETE Client

 

JAX-RS Injection

  • Path Parameters
  • Matrix Parameters
  • Query Parameters
  • Form Parameters
  • Headers
  • Cookies
  • Using DELETE
  • Deleting a Resource
  • Creating a JAX-RS DELETE Client
  • Creating a JavaScript DELETE Client

 

Custom Marshalling

  • Built-in Content Marshalling
  • JSON
  • JSON Binding Providers
  • GSON

 

Error Handing

  • Returning Status Codes
  • Throwing WebApplicationException
  • Creating Exception Mappers
  • Handing Errors in the Client

 

Security

  • Authentication vs Authorization
  • HTTP Basic Authentication
  • Spring URL Level Security
  • Spring Method-Level Security
  • JAX-RS Client with Basic Authentication
  • Enabling HTTPS

Inquire now

Best selling courses

Duration   3 days – 21 hrs   Overview    This course focuses on the unique risks faced during the setup and construction of bank branches in the Philippines. Participants will learn how to identify, assess, and mitigate risks that could impact construction timelines, security, financial performance, and operational stability. The course covers security measures...

PROGRAMMING / CODING

Advanced Programming in C#

Advanced Programming in C# equips developers with the advanced skills needed to build scalable, secure, and high-performance .NET applications using object-oriented programming, LINQ, asynchronous programming, delegates, events, and modern software development best practices.   Duration 3 days – 21 hrs   Overview The Advanced Programming in C# Training Course is designed for experienced C# developers...

PROGRAMMING / CODING

PHP 8 Web Security

PHP 8 Web Security training helps developers and IT professionals build safer web applications by identifying and preventing common security vulnerabilities. Participants will learn practical techniques for protecting PHP applications against XSS, SQL injection, CSRF, session attacks, and other threats while applying secure coding and web security best practices.   Duration 5 days – 35...

BUSINESS INTELLIGENCE

Power BI Basic

Duration 3 days – 21 hrs   Overview This training course is designed to introduce participants to the fundamentals of Power BI, a powerful business analytics tool by Microsoft. Attendees will learn how to connect, analyze, and visualize data using Power BI. The course covers essential concepts and hands-on exercises to help participants create interactive...

Duration  5 days – 35 hrs   Overview   This training course offers a comprehensive exploration of methods used in solutions analysis and design, focusing on techniques, tools, and best practices employed in the software development lifecycle. Participants will gain a deep understanding of various analysis and design methodologies and learn how to apply them...

Duration  5 days – 35 hrs   Overview   The “Active Directory and Group Policy” training course is designed to provide participants with a comprehensive understanding of Microsoft Active Directory (AD) and Group Policy concepts. Active Directory serves as the backbone for centralized network management in Windows environments, while Group Policy enables administrators to efficiently...

This workshop is aimed at imparting the required knowledge required to build Rich Internet Applications (RIA) using React.js.

MOBILE DEVELOPMENT / GAMING / METAVERSE / VR - AR

.NET MAUI

.NET MAUI equips developers with the knowledge and practical skills to build native cross-platform applications for Android, iOS, Windows, and macOS using C#, XAML, MVVM, and the .NET platform.   Duration  3 days – 21 hrs   Overview .NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps...

// BG EARTH WHEN NOT PLAYING

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy