Learn your way! Get started

RESTful Services, Part 4 of 5: Install, JAX-RS, and Jersey

with expert Jordan Hudgens


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 3/9/2015
Level Intermediate
Runtime 1h 43m
Closed captioning Included
Transcript Included
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

In this course you’ll see a brief history of RESTful Web Services and how they are integral to modern web applications. You’ll see how to setup your computer to begin developing JAX-RS and Jersey applications, specifically by leveraging Maven scaffold applications from the command line.

Prerequisites

This course assumes that the users have experience coding with Java and RESTful Services. You should have already viewed the “RESTful Services: Overview and JAX-RS,” “RESTful Services: Injection and Sub Resources” and “RESTful Services: Response, Form and Exceptions” courses before viewing this course if you are not familiar with RESTful Services.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
Java Development

Meet the expert

Jordan Hudgens has certifications for Ruby on Rails, Thinkful; Ruby on Rails, Bloc.io; Front End Development, Thinkful; and AngularJS, Thinkful. He is currently vice president of engineering for TRACKR in Midland, Texas and is working on his PhD in Computer Science from Texas Tech. In addition to Ruby, Jordan works with PHP, JavaScript, MySQL, Postgres, CSS3, C, C++, C#, Objective-C, and Python. He also works with the frameworks Rails (Ruby), Zend (PHP), and Django (Python), plus the libraries AngularJS, jQuery, and Backbone.js.

Course outline



Install, Jax-RS, and Jersey

Dependency Installations (16:49)
  • Introduction (00:15)
  • Environment Configuration (02:21)
  • Demo: Installation (03:40)
  • Jersey 2.15 (01:57)
  • Demo: Jersey Setup (02:00)
  • Maven (01:26)
  • Demo: Install Maven (02:56)
  • Demo: Maven Path (01:58)
  • Summary (00:13)
Deployment Installations (08:15)
  • Introduction (00:15)
  • Git (01:08)
  • Demo: Get Git (03:13)
  • Heroku Toolbelt (00:42)
  • Demo: Heroku (02:37)
  • Summary (00:18)
Background (11:04)
  • Introduction (00:12)
  • A Primer on JAX-RS & Jersey (00:50)
  • Background (05:36)
  • Properties of RESTful Systems (04:11)
  • Summary (00:14)
Jax-RS (11:36)
  • Introduction (00:22)
  • Resources (01:51)
  • The Goal of RESTful Services (01:42)
  • RESTful System Actions (02:41)
  • JAX-RS Annotations (04:42)
  • Summary (00:17)
Jersey (06:00)
  • Introduction (00:19)
  • Where Does Jersey Come In? (03:00)
  • Jersey Features (02:25)
  • Summary (00:15)

Developing an Application

Creating (09:41)
  • Introduction (00:18)
  • Maven Archetypes (00:48)
  • ArtifactId (01:00)
  • Project Version (00:23)
  • groupID (00:49)
  • ArtifactID (00:21)
  • Version (00:17)
  • Package (00:07)
  • Create New Maven Project (00:30)
  • Demo: Create Maven Project (04:45)
  • Summary (00:18)
Running (20:52)
  • Introduction (00:17)
  • Navigating the Directory (01:33)
  • src/main/java (00:40)
  • Demo: Directory Structure (03:04)
  • Demo: Test File (03:15)
  • Demo; Main Files (02:35)
  • Demo: MyResource (01:27)
  • Navigating to Your App (00:57)
  • Demo: Starting the Application (01:49)
  • Demo: Running the Application (04:56)
  • Summary (00:13)
Deploying To Heroku (19:12)
  • Introduction (00:16)
  • Create a Project to Deploy (03:12)
  • Demo: Deploy to Heroku (04:52)
  • Demo: Heroku Files (05:21)
  • Demo: Push to Heroku (05:17)
  • Summary (00:12)