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

CLOUD COMPUTING

Terraform

Terraform is a configuration orchestration tool for building and managing infrastructure on cloud & data centers. The course is instructor-led, live training (onsite or remote), and is designed for Engineers with little or no previous experience managing infrastructure. The course talks about in-depth Terraform syntax and techniques used to automate the setup and deployment of infrastructure.

Duration  3 days – 21 hrs    Overview    The ITIL Leadership – Digital and IT Strategy training course is designed for senior IT professionals, managers, and leaders who seek to navigate the complex landscape of digital transformation and IT strategy. This course focuses on providing strategic insights, leadership skills, and practical approaches for aligning...

PROGRAMMING / CODING

Spring Architecture and Design

Spring Cloud is a platform for building Java-based distributed systems and microservices. Building complex enterprise applications is challenging. Any change made to a part of the systems could trigger the need for changing the design of the entire system. By the end of this training, participants will have a solid understanding of Service-Oriented Architecture (SOA) and Microservice Architecture as well practical experience using Spring Cloud and related Spring technologies for rapidly developing their own cloud-scale, cloud-ready microservices.

BUSINESS INTELLIGENCE

Dax

Duration 5 days – 35 hrs   Overview The DAX (Data Analysis Expressions) Training Course is designed to provide participants with a comprehensive understanding of DAX, the powerful formula language used in Power BI, Excel, and SQL Server Analysis Services. This course covers the essential concepts, functions, and techniques required to create advanced calculations and...

OPERATING SYSTEMS

Linux Fundamentals

Linux Fundamental provides students a thorough introduction to Linux™ for those who are new to the Linux environment. Delegates will learn how to manage files and directories, utilize the vi editor, work with Linux security mechanisms to protect files and programs, work with the Linux shell to control the flow and processing of data through pipelines, design and write shell programs of moderate complexity, and manage multiple concurrent processes in order to achieve higher utilization of Linux. They will learn how to perform basic operations on the system and how quickly to solve problem.

PROGRAMMING / CODING

Google Apps Script

The Google Apps Script training course give you a detailed knowledge on coding like Automating data calculation, Fetching and sending data from third party software like Trello & Salesforce, connecting different sheets, Documents and other tools, Setting a trigger based on an event. This course is ideal for someone who use google sheets and have no coding background.

This workshop teaches the participants how to design and develop server side applications using the event-driven, non-blocking model framework Node.js. This program inducts the participant in some of the advanced concepts of the JavaScript language so that the participant is well equipped to build end-to-end application using JavaScript.

Duration: 3 days – 21 hrs   Overview This training course is designed to provide participants with a comprehensive understanding of Portfolio Management and Contract Management, focusing on best practices, tools, and techniques. The course covers the strategic alignment of projects within a portfolio, effective management of contracts, risk management, and optimization of resources to...

// 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