list 8 séquences
assignment Niveau : Introductif
chat_bubble_outline Langue : Anglais
card_giftcard 512 points
Logo My Mooc Business

Ils choisissent Edflex pour développer les compétences en entreprise.

En savoir plus
Avis de la communauté
Voir l'avis

Les infos clés

credit_card Formation gratuite
timer 64 heures de cours

En résumé

In this course we will learn how to connect Android mobile devices to cloud computing and data storage resources, essentially turning a device into an extension of powerful cloud-based services on popular cloud computing platforms, such as Google App Engine and Amazon EC2.

more_horiz Lire plus
more_horiz Lire moins

Le programme

This MOOC describes by example how to connect Android mobile devices to clouds via the use of object-oriented design techniques; Java programming language features; Android Content Providers, Content Resolvers, and SQLite databases; Jetty middleware; Java Servlets, the Java Spring Framework; and cloud computing platforms, such as Google App Engine

An extended case study project will be used throughout the required core of the MOOC to showcase architectures for communicating with the cloud using HTTP, server-side processing of mobile data using servlets and the Java Spring Framework, and scalable storage of data using no-SQL databases and other platforms. Due to the importance of building secure and scalable mobile/cloud platforms, this MOOC will not only show you how to program handheld systems that talk to the cloud, but how to do so securely, scalably, and efficiently. Security and scalability topics will be woven into discussions of cloud service creation so that students learn, from the start, how to create robust cloud services for mobile devices.

Optional lecture material will also be provided for students who would like to gain a deeper understanding of the patterns and frameworks for building cloud infrastructure building. This material will be presented in the context of the open-source JAWS web server, which is implemented in C++ as part of the ACE open-source object-oriented concurrent and networked programming toolkit.

Although the cloud service topics in this course will be taught in the context of connecting mobile devices to the cloud, the concepts are broader and will give students the ability to create the cloud services to support large-scale web applications, such as social networking applications; cloud services for embedded systems, such as the Internet of Things and Industrial Internet; and wearable computing devices, such as Google Glass. 

The course is organized into the sections outlined below.

Section 0: Overview of HTTP [Optional for students who took the POSA Communication MOOC]

  • Module 1: Overview of Hyper-Text Transfer Protocol (HTTP)
    • What are Communication Protocols?
    • Intro to HTTP
    • Why HTTP?
    • What is a Cloud Service
    • HTTP Request Methods
    • HTTP Request Anatomy
    • URLs Query Parameters
    • Completed HTTP Response Anatomy
    • Completed HTTP Response Codes
    • Completed HTTP Cookies
  • Module 2: Designing Mobile Applications with HTTP Communication
    • Building Cloud Services on HTTP 
    • Overview of REST
    • Push Messaging
    • Intro to Java Annotations
    • Completed HTTP to Object Marshalling
    • Completed Intro to JSON
  • Module 3: Better Client-side Communication Abstractions for HTTP
    • Introduction to Retrofit
    • Retrofit Client Code Walkthrough

Section 1: Structured Data Storage on Android

  • Part 1:  Overview of Android Content Providers and Content Resolvers
  • Part 2: Programming with Android Content Resolvers
  • Part 3: Programming Android Content Providers
  • Part 4: Overview of SQLite 
  • Part 5: Asynchronous Access to Content Providers 

Section 2: Building Java Cloud Services

  • Module 1: Java Servlets
    • What are Servlets?
    • A First Cloud Service with a Servlet
    • Web.xml
    • Video Servlet Code Walkthrough
    • Video Servlet Test Walkthrough with HttpClient
    • Securely Handling Client Data Avoiding Injection Attacks
  • Module 2: Better Abstractions for Building Java Cloud Services
    • Intro to Java Annotations
    • HTTP to Object Marshalling
    • Intro to JSON
    • The Spring Dispatcher Servlet and the Controller Abstraction
    • Intro to Spring Controllers
    • Accepting Client Data with RequestParam Annotations
    • Accepting Client Data with PathVar Annotations
    • Accepting Client Data with RequestBody Annotations and JSON
    • Handling Multipart Data
    • Generating Responses with the ResponseBody Annotation
    • Custom Marshalling with Jackson Annotations Serializers/Deserializers
    • Spring Boot Application Structure
    • Spring Controller Code Walkthrough
    • Spring Controller Test Code Walkthrough
  • Module 3: Better Client-side Communication Abstractions
    • Introduction to Retrofit
    • Retrofit Client Code Walkthrough
    • Android Retrofit Client Code Walkthrough
  • Module 4: Building Loosely Coupled and Extensible Java Services
    • Spring Dependency Injection Auto-wiring
    • Spring Configuration Annotations
    • Spring Dependency Injection Controller Code Walkthrough
    • Spring Dependency Injection Controller Test Code Walkthrough

Section 3: Building Database-driven Java Cloud Services

  • Module 1: Persistent Objects
    • Object to DB Mapping
    • JPA
    • Entities
    • Repositories
    • Understanding SQL Injection Attacks
    • Spring Data Code Walkthrough
  • Module 2: RESTful Services for Persistent Objects
    • Spring Data REST
    • Spring Data REST Code Walkthrough

Section 4: Deploying to the Cloud Scaling

  • Module 1: General Scaling Strategies
    • Stateless vs. Stateful Applications
    • Horizontal Scaling
    • Auto-scaling Horizontally
    • Caching
    • Offloading to Cloud Provider Services
    • Asynchronous IO in Controllers
  • Module 2: Scaling Up Data Storage
    • NoSQL Databases
    • Optimizing for Key-based Lookups
    • Optimizing for Reads vs. Writes
    • Contention Sharding
    • Mongo DB
    • Spring Data Mongo DB
    • Database as a Service
    • Amazon Dynamo
    • Spring Data Dynamo DB
    • App Engine Big Table
  • Module 3: Automating Packaging Deployment
    • Deploying to Infrastructure as a Service
    • Deploying to Amazon EC2
    • Packaging Web Applications into WAR files
    • Adapting Spring Boot Applications for Google App Engine
    • Deploying to App Engine
  • Module 4: Performance Testing
    • Intro to Cloud Service Performance Testing
    • Apache JMeter
    • Building Realistic Tests

Section 5: Patterns and Frameworks for Concurrent and Networked Server Software [Optional Material]

  • Module 1: Introduction to the Web Server Case Study
    • Applying Patterns and Frameworks to Concurrent and Networked Software
    • Overview of JAWS Web Server Case Study: Part 1
    • Overview of JAWS Web Server Case Study: Part 2
    • Overview of JAWS Web Server Case Study: Part 3
  • Module 2: Patterns and Frameworks for Service Access and Communication
    • Accidental Complexities with the Sockets API
    • The Wrapper Facade Pattern
    • ACE C++ Socket Wrapper Facades
    • Applying the ACE Wrapper Facades to a Web Client and Server
  • Module 3: Patterns and Frameworks for Synchronous Event Handling, Connections, and Service Initialization
    • The Reactor and Acceptor-Connector Patterns
    • The ACE Reactor Framework
    • Applying the ACE Reactor to JAWS
    • The ACE Acceptor-Connector Framework and Applying it to JAWS
  • Module 4: Patterns and Frameworks for Service Configuration and Activiation
    • The Component Configurator Pattern
    • The ACE Service Configurator Framework
    • Applying the ACE Service Configurator to JAWS
    • Applying the Activator Pattern to JAWS
  • Module 5: Patterns and Frameworks for Concurrency and Synchronization
    • The Active Object Pattern
    • The ACE Task Framework
    • Applying ACE Task and Acceptor-Connector to JAWS
    • The Half-Sync/Half-Async Pattern
    • Implementing Half-Sync/Half-Async Using ACE
    • The Monitor Object Pattern
    • Applying the Monitor Object and Synchronization Patterns to JAWS
    • The Leader/Followers Pattern
    • Applying the Leader/Followers Pattern and ACE_TP_Reactor to JAWS
  • Module 6: Patterns and Frameworks for Asynchronous Event Handling
    • The Proactor pattern
    • The ACE Proactor Framework
    • Applying the ACE Proactor Framework to JAWS
    • The Asynchronous Completion Token Pattern and Applying it to JAWS
  • Module 7: Summary
    • Evaluating Patterns and Frameworks for Concurrent and Networked Software

Les intervenants

  • C. White - Electrical Engineering and Computer Science
  • - Electrical Engineering and Computer Science

Le concepteur

Vanderbilt University
Vanderbilt University, located in Nashville, Tenn., is a private research university and medical center offering a full-range of undergraduate, graduate and professional degrees.

La plateforme


Coursera est une entreprise numérique proposant des formations en ligne ouverte à tous fondée par les professeurs d'informatique Andrew Ng et Daphne Koller de l'université Stanford, située à Mountain View, Californie.

Ce qui la différencie le plus des autres plateformes MOOC, c'est qu'elle travaille qu'avec les meilleures universités et organisations mondiales et diffuse leurs contenus sur le web.

Vous êtes le concepteur de ce MOOC ?
Quelle note donnez-vous à cette ressource ?