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 Portfolio Management Training Course is designed to provide banking professionals with a comprehensive understanding of how to effectively manage investment and credit portfolios. Participants will gain insights into strategic allocation, performance measurement, risk management, and optimization of banking portfolios to align with regulatory requirements and...

Duration 2 days – 14 hrs   Overview   This comprehensive Planning and Forecasting Training Course is designed to empower professionals with the tools and techniques necessary to accurately predict future outcomes and develop strategic, operational, and financial plans. The course provides a structured approach to planning and forecasting, integrating both qualitative and quantitative methods....

Duration 3 days – 21 hours   Overview   This Beginner-to-Intermediate PostgreSQL Training Course is designed to build strong foundational skills in PostgreSQL while preparing participants to confidently work with real-world database tasks in modern environments.   Participants will learn how PostgreSQL works, how to write efficient SQL queries, how to design and manage database...

RISK MANAGEMENT

Liquidity Risk Management

Duration 5 days – 35 hrs   Overview.   This Liquidity Risk Management Training Course is tailored for banking professionals in the Philippines, focusing on the skills and knowledge necessary to manage liquidity risk effectively. Participants will learn how to assess liquidity risk, apply regulatory standards, and develop strategies to maintain adequate cash flow and...

Duration 5 days – 35 hrs   Overview    This 5-day advanced training course is designed for senior PMO leaders, program managers, PMO directors, and executives aiming to enhance their leadership capabilities and transform their PMOs into strategic business drivers. The course will explore advanced concepts in PMO strategy, digital transformation, innovation, business case development,...

TRAINOSYS CUSTOMIZED COURSE

Data Analytics from SQL to Power BI

The “Data Analytics from SQL to Power BI” training course is a comprehensive program designed to equip participants with the knowledge and skills necessary to analyze and visualize data using SQL and Power BI. Over the course of five days, participants will learn essential data analytics concepts, master SQL querying techniques for data retrieval and...

Duration 2 days – 14 hrs   Overview   This course provides a comprehensive understanding of the Anti-Money Laundering Act (AMLA) of the Philippines and techniques for identifying and handling counterfeit money. It equips participants with the knowledge to detect suspicious transactions, fulfill AML compliance obligations, and mitigate financial crime risks. Real-world case studies, regulatory...

Duration 2 days – 14 hrs   Overview   This course introduces participants to the principles and tools of data visualization and dashboard design. It focuses on transforming raw data into compelling, clear, and actionable visuals that support decision-making. Participants will explore visualization best practices, storytelling techniques, and hands-on tools (such as Excel, Power BI,...

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