Join Patrick Royal for an in-depth discussion in this video Creating a REST root resource class, part of Java EE: Web Services (2014).
…Now that we've gone over the syntax for a RESTful message,…in this video we're going to look at the other end.…The REST root resource class.…This is the Java method on your…server that accepts and handles a RESTful message.…Back in Eclipse, we're going to create and define the REST class now.…If you haven't gone through chapter one, where we created the…package, you can download the exercise files from this video and work…from them.…Right click on the package you created and choose to create a new class.…
You might notice the options for a RESTful…web service from pattern in the right click menu.…This option generates a file with a set of methods to…deal with each of the HTTP commands and the generic structure.…In the future, this can save some time when creating a…REST class, but for the purposes of this video, we'll just create…the default class. So give it a name, and click Finish.…The first thing we need to do in this new file is to specify the path.…This will be the final part of the URI that is used to reference…
Author
Released
2/28/2014- What are Java EE web services?
- Creating a simple service
- Building, packaging, and deploying your service
- Understanding the basic syntax
- Working with WSDL (Web Service Definition Language)
- Exploring SOAP (Simple Object Access Protocol)
- Exploring the syntax and design of REST (Representation State Transfer)
- Programming a web service in Java EE
- Debugging and optimizing your code
Skill Level Intermediate
Duration
Views
Related Courses
-
Advanced Java Programming
with David Gassner3h 33m Advanced -
Java: Database Integration with JDBC
with David Gassner2h 51m Intermediate
-
Introduction
-
Welcome55s
-
What you need to get started1m 42s
-
-
1. About Web Services
-
What are web services?4m 11s
-
Working with XML files4m 57s
-
-
2. Web Services Description Language (WSDL)
-
What is WSDL?3m 19s
-
Exploring WSDL5m 5s
-
Implementing a web service4m 49s
-
-
3. Simple Object Access Protocol (SOAP)
-
4. Representational State Transfer (REST)
-
What is REST?3m 36s
-
-
5. Programming a Web Service in Java EE
-
6. Improving Your Java EE Code
-
Debugging your web services4m 34s
-
Optimizing your code3m 59s
-
-
7. Extensions
-
Bus-enabled web services2m 49s
-
Conclusion
-
Where to go from here1m 27s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Creating a REST root resource class