Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
RESTful Web Services with Java in less than a month!
Rating: 3.8 out of 5(23 ratings)
140 students

RESTful Web Services with Java in less than a month!

Create RESTful Web Services using Java's JAX-RS specification
Created byEsteban Rincon
Last updated 2/2018
English
English [Auto],

What you'll learn

  • Create Java-based RESTful web services using JAX-RS
  • Create Filters
  • Create ExceptionMappers
  • Create Custom Annotations for specific resource method filtering

Course content

5 sections26 lectures4h 13m total length
  • What is a RESTful Web Service ?2:36

    Explain how HTTP enables internet and how a client uses GET, POST, PUT, and DELETE to interact with resources on a server, RESTful web service as a client-server, service-oriented architecture.

  • What is HATEOAS ?5:19

    Explore how hateoas uses hypermedia as the engine of application state to guide rest clients through resources via hyperlinks and pagination.

  • First RESTful Web Service App8:39

    Create your first restful web service app in Java, configure a rest start up with an application path, expose a test rest endpoint with a get method and produces annotation.

  • Mock DB4:29

    Build a mock database rest api for a car parking lot, implementing post, get, put, and delete with a singleton startup and a car dto stored in a map.

  • POST Request7:11

    Create a car resource post endpoint that consumes form data (license plate and color), generates an id, updates the database, and returns a 200 response with the created entity.

  • GET Request4:37

    Implement a get request to retrieve cars, returning a json map with id and data. Use the accept header for json and observe 200 ok and 406 not acceptable errors.

  • PUT Request13:06

    Learn how to implement a put-based update for car resource by reading form data or mult valued maps, using a car id path parameter, validating existence, and returning updated car.

  • DELETE Request8:26

    Implement a delete endpoint for car records by id, validate existence, perform removal, and return car not found or car deleted successfully, with notes on soft deletion.

  • Content Negotiation14:40

    Understand content negotiation in restful web services, where accept headers select media types, encoding, and language, with default and custom writers handling data formats.

  • Quiz 1

Requirements

  • You should be able to us a PC at beginner level
  • You should have basic knowledge of Java as an OOP language

Description

This course is intended for those who want to learn how to create web services using Java EE. 

The course is built so that from the first day, you'll be coding web services, and it is created in a way that by the end of the course you'll have a working RESTful Web Service.

- Basic RESTful API security concepts
- Learn about annotations to add fine-grained functionality to each endpoint
- Learn how to customize Data Transfer objects
- Perform external calls to your APIs
- Understand Postman to test each endpoint and verify that all the requirements are met


Java basics are required.

Who this course is for:

  • Anyone wanting to learn how to create RESTful web services with Java EE
  • Anyone wanting to understand common scenarios seen when developing RESTful Web Services