REST APIs with Java, Spark Framework, MongoDB & GridFS
2.8 (21 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.
688 students enrolled
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.8 (21 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.
688 students enrolled
Created by FA S
Last updated 12/2015
English
Price: $20
30-Day Money-Back Guarantee
Includes:
  • 4.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
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
Requirements
  • 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
Description

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
+
Environment
2 Lectures 14:36

An overview of the tools we'll be using.

Preview 05:36

Installling the tools
09:00
+
Creating Endpoints
2 Lectures 51:38
Starting with Spark Framework
19:17

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

Route Filters
25:21
+
Adding Posts to Users
3 Lectures 38:53
Creating the Post Class
05:14

Saving and Retrieving Posts
18:55

Finding Posts by Id
14:44
+
Uploading and Streaming Video
3 Lectures 01:17:10
The Java MongoDB Driver
11:16

GridFS: Uploading Videos
22:44

Streaming Videos
43:10
+
Dependency Injection
1 Lecture 20:21
About the Instructor
FA S
2.8 Average rating
21 Reviews
688 Students
1 Course
Software Engineer

Hi,

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.