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: 5 days – 35 hrs   Overview The “SOC Network and Threat Detection and Analysis” training course is designed to equip Security Operations Center (SOC) analysts and IT security professionals with the skills and knowledge required to detect, analyze, and respond to network threats effectively. This comprehensive course covers essential topics such as threat...

Duration 1 day – 7 hrs   Overview   This 1-day training builds upon basic warehouse operations knowledge and introduces key logistics concepts involved in the movement and coordination of goods—especially wet and dry food items—within and outside the warehouse. Participants will explore transport logistics, inbound and outbound coordination, documentation practices, and cold chain considerations,...

Duration 2 days – 14 hrs   Overview   This hands-on course provides an introduction to Splunk, a powerful platform for searching, monitoring, and analyzing machine-generated data. The training focuses on how developers and QA professionals can leverage Splunk to gain insights from logs and metrics, improve application observability, detect anomalies, and support test validation....

Duration 3 days – 21 hrs   Overview.   This course is designed for fresh graduates aspiring to build a career in Data Science. It introduces the fundamentals of data science, focusing on data analysis, visualization, and basic machine learning concepts using Python. The course provides hands-on practice with real-world datasets, equipping participants with the...

Among the most popular and widely implemented NoSQL databases is MongoDB. Its scalability, robustness, and flexibility have made it extremely popular among the Fortune 500 and Global 500 companies who use it to implement a variety of activities including social communications, analytics, content management, archiving, and other activities.

PROGRAMMING / CODING

ASP.NET

SP.NET is a framework for developing dynamic web applications. It supports languages like VB.Net, C#, Jscript.Net, etc. The programming logic and content can be developed separately in Microsoft Asp.Net.

CYBER SECURITY

Physical Security

Duration 3 days – 21 hrs   Overview   This course provides a comprehensive introduction to physical security principles, policies, technologies, and practices. It covers methods to assess physical risks, implement protective measures, and respond to security incidents. Participants will gain knowledge on access control, surveillance systems, perimeter security, emergency planning, and security audits.  ...

Course Customization Options To request a customized training for this course, please contact us to arrange.

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