Java Web Services

Java Web Services
Java Web Services
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 13 Hours | 3.82 GB

Learn how to design,create , consume and secure SOAP and REST web services from scratch in easy steps.

Course Updated – I have upgraded the course to use Java Based configuration and use Spring Boot support in CXF.Enjoy!!

Are you interested in realizing the power of Web Services to bring applications running on various platforms and languages together ,but find the topic a little cryptic.

Do you want to build loosely coupled applications which are scalable and reusable but could not find a simple and easy to learn guide?

This course will simplify things with concepts and step by step implementations . By the end of it you will:

  • Understand the advantages of Web Services and their building blocks
  • Demystify the complex topics like WSDL and Web Services Design
  • Implement Top Down and Bottom Up Web Services
  • Learn about the various web service standards
  • Learn writing web services consumers and also a quick intro to test your web services using SoapUI
  • Use the WS-Security standard to secure your services
  • Master the REST web services concepts and design
  • Implement and test Secured REST Web Services

What you’ll learn

  • Understand why web services are so popular
  • Understand the different types of WS Design
  • Use Apache CXF the Popular WS Stack
  • Implement Contract First and Code First Web Services
  • Develop a Web Service Consumer
  • Secure Web Services using the WS-Security Standard
  • Implement SOAP Attachments
  • Master the REST web service concepts and Implementation
  • Create different types of REST Clients
  • Secure Rest Services
  • Handle Errors In REST
  • Develop Asynchronous Web Services
  • Jersey REST Quick Start
  • Spring MVC REST Quick Start
  • Learn all the important web services interview Questions and Answers
  • All in short simple and easy steps
  • Use REST Attachments
Table of Contents

Software Setup , Troubleshooting and Notes
1 Install Java
2 Spring Tool Suite Installation
3 Configure JDK in Spring Tool Suite
4 Install Postman
5 Download the completed projects
6 Install SoapUI
7 Troubleshooting
8 Lecture Notes for download
9 If you want to Skip to REST Web Services

Web Services – The Big Picture
10 Course Introduction
11 Web Services Introduction
12 SOA and Web Services
13 Section Summary

XML and XML Schema Definition Crash Course
14 Introduction
15 What is XML?
16 Why XML?
17 When to use XML?
18 What is XSD?
19 When to use XSD?
20 Namespaces
21 XML Schema Hands On Usecase
22 XML Schema Hands On
23 Creating Simple Types
24 Controlling the Order Of Elements
25 Controlling the number of Elements
26 Meaning of the elementFormDefault attribute
27 Defining Attributes
28 Section Summary

SOAP Web Services Concepts
29 Introduction
30 SOAP Web Services Overview
31 SOAP Web Services Advantages and Disadvantages
32 When to use SOAP Web Services ?
33 SOAP
34 WSDL File Explained
35 WSDL Binding Styles
36 Section Summary

SOAP Web Services Design and Implementation
37 Introduction
38 SOAP Web Services Design Approaches
39 Section Summary

JAX-WS AND JAXB
40 JAX-WS
41 JAXB Introduction
42 JAXB tools and plugins
43 Steps to generate stubs from XML Schema
44 Generate the Stubs
45 Customize Generated Code Using Binding File
46 Stubs Walk Through
47 Marshalling and Unmarshalling
48 JAXWS Summary
49 JAXB Summary

Apache CXF
50 Introduction
51 Apache CXF Overview
52 CXF and Spring Boot
53 Spring Boot
54 Create the SOAP project
55 Create the endpoint
56 Create the configuration class
57 Run the application
58 Change the web application context
59 Test using SoapUI
60 Enable Logging Feature
61 Using Spring Boot 2.X
62 Change the Context Property
63 Section Summary

Developing Top Down Web Services
64 Usecase
65 Steps to create WSDL First Web Service
66 Create the WSDL First project
67 WSDL Creation
68 Generate the Stubs
69 Create the CustomerOrders Service
70 Implement the init method
71 Implement the getOrders method
72 Implement the createOrders method
73 Publish the endpoint
74 Enable Logging Feature
75 Run the application
76 Test using SoapUI
77 WSDL First Web Service Assignment
78 Section Summary

Java SOAP Client
79 Introduction
80 Create the Java Client Project
81 Retrieve the WSDL
82 Generate the Stubs
83 Implement the client
84 Assignment
85 Flow and the Service Provider Mechanism
86 Section Summary

Developing Bottom Up Web Services
87 Payment Gateway Legacy Application Use Case
88 Import the legacy project
89 Mark the beans with JAXB Annotations
90 Mark the Endpoint with JAX-WS annotations
91 Publish the endpoint
92 Run the application
93 Test Using SoapUI
94 SOAPUI Assignment
95 Section Summary

WS Standards
96 Introduction
97 WS Standards Overview
98 Username Token Authentication Steps
99 Add maven dependency
100 Configure the Interceptors
101 Provide the Interceptor Properties
102 Setup a in memory database
103 Implement the handle method
104 Run the application
105 Test
106 Section Summary

User Name Token Profile Client
107 Create the project
108 Generate the Stubs
109 Code the client
110 CXF Low Level Client API
111 Configure Properties
112 Create a Callback Handler
113 UT in Action

MTOM
114 Introduction
115 Create the MTOM Project
116 Create the FileWs Interface
117 Create the FileWsImpl
118 Implement the download method
119 Publish the endpoint
120 Test using SoapUI

JAX-WS Handlers
121 Introduction
122 Two types of JAX-WS handlers
123 Usecase
124 Steps
125 Create the Handler Class
126 Implement the handleMessage method
127 Extract the Header
128 Configure the handler
129 SoapUI Test
130 The Handler Flow
131 getHeaders Explained

SOAP Faults
132 Introduction
133 Usecase and Project
134 Creating a SOAP Fault
135 Create and throw a custom exception

REST Web Services Concepts
136 Introduction
137 REST Overview
138 WHY RESTFul ? – The Advantages
139 When to use RESTFul Web Services ?
140 Section Summary

RESTFul Design and Implementation
141 Introduction
142 REST Design
143 JAX-RS
144 Create the project
145 Create the classes and annotate them
146 Implement the init method
147 Implement the GET all patients method
148 Publish the endpoint
149 Test GET All
150 GET single patient
151 Create a Patient
152 Test Create
153 Update Patient
154 Test Update
155 Delete a Patient

Configuring JSON Support
156 2 – Steps to configure JSON Support
157 Add Jackson dependencies
158 Configure the jackson classes
159 Use @Consumes and @Produces
160 Test JSON Support
161 REST Design and Implementation Summary

REST Error Handling
162 Introduction
163 Using JAXRS Exceptions
164 Throw custom exception
165 Create the ExceptionMapper
166 Using a custom error message
167 Section Summary

JAX-RS Cient API – Creating Java REST Clients
168 Introduction
169 JAX RS CLIENT API
170 Create the project
171 Retrieve the Patient by ID
172 Pass parameters dynamiclly
173 Update the Patient
174 Create Patient
175 Clean Up Resources
176 Delete Assignment
177 Section Summary

JAX-RS Injection
178 Introduction
179 REST Injection UseCase and Project Creation
180 Create the Passenger Model and Service Classes
181 Implement the REST layer
182 Test the Passenger Service
183 Use @QueryParam
184 Use @FormParam
185 Use @HeaderParam
186 Use @Context
187 Read Cookies
188 Section Summary

Asynchronous REST
189 Introduction
190 Create the Async REST project
191 Create the Java Classes
192 Implement the Async method
193 Use Threads
194 Create the client project
195 Create the client class
196 Run and Test
197 Throwing Exceptions
198 Handling exceptions in the client
199 Section Summary

REST and Spring Security
200 Introduction
201 Create the Spring Boot Project
202 Create the model class and services
203 Implement the endpoint methods
204 Publish the endpoint
205 Use the JAXB and JAX-RS annotations
206 Run the appllication
207 Configure Spring Security
208 Add support for post method

OAuth Concepts
209 What is OAuth
210 Why , When and When Not to Use OAuth
211 OAuth Workflow – How
212 OAuth Google Play Ground
213 Section Summary

REST Attachments
214 Introduction
215 Method and URI Design
216 Create the Project
217 Code the Upload endpoint
218 Test upload using HTML
219 Create the Client Project
220 Code the java client
221 Test upload using java client
222 Code the Download REST endpoint
223 Test the download

Jersey Quick Start
224 Introduction
225 Project Configuration
226 Creating a REST Resource
227 Creating a REST Client

REST Using Spring MVC Quick Start
228 Introduction
229 Spring MVC Flow
230 Project Configuration
231 Hello Spring REST
232 Returning JSON Response

REST and Database CRUD Operations
233 Usecase and Steps
234 Install MySql and MySql workbench
235 Launch MySql workbench and create a database
236 Create DB Table
237 Create the Spring Boot Project
238 Create the Model Class
239 Create the Repository
240 Create the REST Web Services layer
241 Use JAX-RS annotations
242 Implement the ProductServiceImpl methods
243 Configure Spring Boot Properties
244 Add Jackson Dependency
245 Test CRUD

Interview Help and Wrap Up
246 SOAP VS REST
247 Interview Questions (Updated Frequently)
248 Slides used in the course
249 Please leave a rating
250 My Other Courses and Discounts

Extras
251 JSON Introduction
252 JSON Hands On
253 JSON Parsing

WSDL Creation
254 Usecase
255 Create the WSDL
256 Define Schema Types
257 Get Orders Request and Response
258 Create Order Request and Response
259 The Four Elements
260 Define Messages
261 Define Operations
262 Define Binding
263 Define Service
264 Resolve Errors

CRUD Operations Using SOAP
265 Usecase
266 Install MySql and MySql workbench
267 Launch MySql workbench and create a database
268 Create DB Table
269 Create the project
270 Create the Data Access Layer
271 Create the web services layer
272 Implement the endpoint methods
273 Mark the Endpoint with JAX-WS annotations
274 Publish the endpoint
275 Configure the properties
276 Run and access the wsdl
277 Test using SoapUI