Join Ketkee Aryamane for an in-depth discussion in this video Build RESTful methods, part of Java EE 8: JSON-B.
- [Instructor] Now, let's go ahead and add…a RESTful resource to the project.…So, let's come here and right click…on the com.app.rest package, say Java Class,…and say OrderResource.…And it's a RESTful API that we are trying to…pull in the JAXRS application…So, now it is a RESTful class that we want to write,…so we'll annotate this with the path annotation,…which comes from the javax.ws.rs.Path.…
And then we'll define the URI for this path.…So, let's say orders, okay?…So, whenever you want to access this RESTful application,…the first thing that you have to do is,…you have to enter the basic URI which is resources,…and after that if you want to access the OrderResource,…then you'll have to access the path for that respectively.…Okay?…Alright.…And what are we going to do here?…We're going to add RESTful methods to it.…So, let's go ahead and say one method to get the orders.…
So basically, the point of this application is,…we have already created the order object…in the stand-alone application that we have built…so far as a part of this course.…
- JSON and JSON-B API basics
- Default mapping
- Defining beans and data
- Customized mapping
- Customizing the order of serialized properties
- Customizing constructors
- Working with binary data
- Custom serializers and deserializers
- Demo: Using JSON-B in a web application
Skill Level Intermediate
Java EE: Servlets and JavaServer Pages (JSP)with Ketkee Aryamane6h 14m Intermediate
Java EE: RESTful Service with JAX-RS 2.0with Alex Theedom2h 17m Intermediate
Map Java objects to JSON1m 14s
1. Overview and Setup
2. JSON Binding API: Default Mapping
3. JSON Binding API: Customized Mapping, Part 1
4. JSON Binding API: Customized Mapping, Part 2
5. Adapters and Serializers
6. JSON-B in a Web Application
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.