Buying for a Team? Gift This Course
Wishlisted Wishlist

Please confirm that you want to add REST APIs with Java, Spark Framework, MongoDB & GridFS to your Wishlist.

Add to Wishlist

REST APIs with Java, Spark Framework, MongoDB & GridFS

Learn to create Web Services & Upload and Stream Video through REST
2.1 (19 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
680 students enrolled
Created by FA S
Last updated 12/2015
$10 $20 50% off
19 hours left at this price!
30-Day Money-Back Guarantee
  • 4.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
Create Endpoints with Spark
Connect to MongoDB Using both, Morphia and Java Driver
Do CRUD operations in MongoDB
Create Entity Relationships
Accept file uploads to a REST API
Upload Video through REST
Stream video through REST using GridFS and Ranges
Create Projects with Intellij IDEA
Dependency Injection with Google Guice
Basic REST Authentication
Use Google Gson to convert JSON to Java Objects
View Curriculum
  • We will do a walk through on the tools needed.
  • The Tools used are: Java 8, MongoDB, Morphia, Spark, GridFS(part of Mongo), Google Guice, Google Gson, JBCrypt
  • Postman for testing our API

Learn to create a REST APIs by following along with me as we develop a Web Service where we secure it with Basic Authentication, Create Users, Posts, upload videos, upload and stream videos using GridFS, a technology that comes with MongoDB and allows for file to be greater than 16MB(Split into parts). Users will be able to stream videos and skip to parts of the videos as well. Anyone with basic java knowledge will benefit greatly from this course. If you always wanted to create a video streaming service like youtube, snapchat, or even Periscope or just create an app to share videos etc... this is the course for you. Come on in and join me. Find out how all these startups are streaming all those videos to consumers. This course will get you started and once finished, you can create nearly any kind of Web Service you can think of. Everything is explained and typed slowly. No surprises.

The tools we'll be using are up to par with current trends. We'll be using a forward thinking microframework called spark and combine that with MongoDB and GridFS to create Users and upload assets to our REST Service. You're going to learn how to Convert JSON to Java Objects using Google Gson as well as how to make your code more maintainable using Dependency Injection with Google Guice.

Who is the target audience?
  • This course is meant for beginners with some Java knowledge
  • If you know what an object is and how to create a class, you're good to go
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 14 Lectures Collapse All 14 Lectures 04:34:25
2 Lectures 14:36

An overview of the tools we'll be using.

Preview 05:36

Installling the tools
Creating Endpoints
2 Lectures 51:38
Starting with Spark Framework

Parsing JSON with Google Gson
MongoDB Intro
1 Lecture 35:26
Introducing Morphia and Saving Records to the Database
2 Lectures 36:21
Hashing Passwords

Route Filters
Adding Posts to Users
3 Lectures 38:53
Creating the Post Class

Saving and Retrieving Posts

Finding Posts by Id
Uploading and Streaming Video
3 Lectures 01:17:10
The Java MongoDB Driver

GridFS: Uploading Videos

Streaming Videos
Dependency Injection
1 Lecture 20:21
About the Instructor
2.1 Average rating
19 Reviews
680 Students
1 Course
Software Engineer


I work as a Software Engineer in LA, my primary language there is Java and I use it every day to create Web Services, Messaging Systems, MQTT Machine to Machine Communication like send messages to Mobile devices for Real-Time experiences. Before that I worked for many companies using different technologies such as Ruby on Rails, Python, and Objective-C/Swift for iOS.

Report Abuse