Take your programming skills to the next level with our Java e-learning programme

Spring Remoting and Webservices

with REST, SOAP and RMI
  • In this Advanced Spring Training course, we show how to build full scale applications using Spring Remoting and Webservices.
  • The Spring Video Training is in three parts.
  • Part 1 is "traditional" remoting, using RMI, Burlap, Hessian and HttpInvoker.
  • Part 2 is SOAP based webservice training, and shows both automatic creation of WSDLs and using Spring-WS for contract first development.
  • Part 3 in an indepth REST Tutorial, with 12 hours of REST Training. We cover all the core features of rest, including HATEOAS.

Pre-requisites

Knowledge of Dependency Injection from Spring. We'll be using XML and Annotation based wiring.

The project builds on the system built in the "Spring Fundamentals" course, but if you didn't do that course, the first chapter gives a walkthrough of that code.

Contents - contains over 20 hours of video - equivalent to 5 days of live training.

 

Having problems? check the errata for this course.

1

Introduction


30 m 55 s
An overview of the course. For anyone who didn't do the Spring Fundamentals course, we spend about 20 minutes walking through the architecture of the Spring code.

2

Part 1: Traditional Remoting - Overview


36 m 7 s
What is remoting? Why is remoting needed? We use Spring to build our first RMI service. Pros and Cons of RMI.

3

RMI on the Client


49 m 16 s
In each part of the course we learn about both the server side and the client side.

4

Alternatives to RMI - Hessian, Burlap and HttpInvoker


36 m 36 s
RMI suffers from firewall problems. Spring provides three alternatives - we prefer the HttpInvoker and we'll explain why.

5

RMI Practical


24 m 25 s
To round off this first part, a full practical on RMI where you apply what you've learned to the rest of the system.

6

Part 2: SOAP Webservices


54 m 29 s
After an overview of SOAP, a JAX-WS tutorial to see how standard Java supports SOAP.

7

Spring and SOAP


31 m 30 s
How does Spring support SOAP?

8

Spring SOAP Clients


34 m 43 s
You can write a SOAP client without Spring, but you might like their support.

9

Deploying SOAP to Tomcat


41 m 26 s
This is a bit of a technical chapter with nothing very exciting to learn. But part of the course is to tackle real world problems, and it is awkward running a Spring SOAP application on a server.

10

Introducing Spring-WS


81 m 56 s
This is a side project to Spring, and it is intended for Contract-First development. What is that? And how to do it?

11

Spring-WS and JAXB


43 m 18 s
In Spring-WS, you get direct access to the converted XML. JAXB is a standard Java library that we'll use a lot on the course, so we see here how they work together.

12

More Spring-WS


36 m 42 s
We round off with further features of Spring-WS.

13

SOAP Practical


49 m 6 s
Again, we turn to a full practical where we'll deploy a full SOAP service.

14

Part 3: REST Warmup


28 m 52 s
As a prelude to part 3, we start by reviewing the HTTP Verbs. If you know these already, you can skip to the next chapter.

15

Introducing REST


18 m 16 s
What is REST? Is it a standard? We define REST using "4 core principles". In this chapter we explore the first two of these.

16

Representations and URIs


39 m 12 s
We'll start by building some REST representations and assigning them URIs.

17

REST Clients


31 m 1 s
Of course, we also need to be able to call our REST service, so we look at what a REST client might look like, both in Java and in Spring.

18

Content Negotiation


60 m 42 s
We'll learn how the HTTP headers contain information about the type of data the client would like to receive.

19

Error Handling


49 m 16 s
Learning the HTTP Status codes is important as a REST developer.

20

Client Side Errors


40 m 57 s
The RESTTemplate is a bit weak at detecting errors. We show how to extend the template to make it more robust.

21

Collections and Ranges


49 m 10 s
How to return representations of multiple objects.

22

Full HTTP Operations


62 m 53 s
The third of the four core principles of REST is that the HTTP Verbs should be wisely used.

23

Editing Conflicts (optional)


40 m 25 s
This advanced chapter shows how you can implement optimistic locking for PUT operations by returning HTTP 409.

24

Partial Updates with PATCH (optional)


29 m 8 s
PATCH is a new (proposed) HTTP Verb and can be used for partial updates. Its a good idea but client support is patchy (pun not intended).

25

HATEOAS


62 m 39 s
Perhaps the worst acronym in our industry, this hides an important concept that is slowly becoming more important in REST. We start with the basics...

26

More HATEOAS


45 m 59 s
... and then we expand to use more features, including the Spring HATEOAS plugin.

27

Validation


39 m 26 s
How to use standard Spring-MVC to trap for errors in the representations.

28

Practical Session


92 m 23 s
A major practical. Before starting, we talk about ISO8601 dates, and also why REST isn't CRUD.

29

Course Summary


6 m 30 s
Goodbye!

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube