openSAP course: Cloud-Native Development with SAP Cloud Platform
Join this free online course, Cloud-Native Development with SAP Cloud Platform, to learn and experience how microservice-based cloud native development with SAP Cloud Platform works. This is an advanced course aimed primarily at developers and application and technology consultants, teaching hands-on the important concepts of developing innovative cloud applications.
SAP Cloud Platform is the enterprise platform-as-a-service, with comprehensive application development services and capabilities. It enables customers to achieve business agility, create a truly integrated and optimized enterprise, and accelerate digital transformation across the business – all without the requirement of maintaining or investing in on-premise infrastructure.
In this new advanced course, you’ll learn how to develop microservice-based cloud-native applications with SAP Cloud Platform through hands-on exercises. You’ll be working primarily with the Cloud Foundry environment within SAP Cloud Platform and many of its open-source services to develop step-by-step a Java-based application that is made for the cloud.
We’ll start with a theoretical introduction to SAP Cloud Platform and microservice architectures. We will also cover Spring basics and introduce the sample application with which we will be working throughout the course for the hands-on exercises. In the following weeks, we’ll go deeper into creating microservices, connecting databases, handling logging and tracing, as well as service-to-service communication, ensuring security, and additional topics like multitenancy, Spring Boot, continuous integration and delivery, and advanced microservice design. In between we will also cover topics like REST services, stateless apps, Cloud Foundry as a platform, unit and component testing, and much more. In the hands-on exercises we will start based on an empty shell application and build a full real-world cloud application. The optional system preparation with instructions on setting up the development environment and some information to get started will open two weeks before the actual course starts.
This advanced course is primarily aimed at developers and application and technology consultants who have already finished the openSAP course SAP Cloud Platform Essentials (Update Q3/2017) and want to learn more. For the first time, we’ll cover in-depth microservice architectures and the open-source services of the Cloud Foundry environment within SAP Cloud Platform, and how to leverage them to build cloud-native applications.
As this course focuses in detail on the app level, the backend and how to offer REST services, topics like building SAP Fiori UIs with SAPUI5 are not covered. To learn about those topics please have a look at the great openSAP courses Developing Web Apps with SAPUI5 and SAP Fiori for iOS - Build Your First Native Mobile App. Also, database development for SAP HANA is not covered in this course, please refer to the openSAP course Software Development on SAP HANA (Update Q4/2017) to learn more about that.
The registration, learning content, and final exam are free of charge. You’ll be able to get some practical experience of the platform by using a free trial account. We’ll explain how you can access this in the System Preparation.
Target Audience
- Developer
- Application consultant
- Technology consultant
Course Requirements
- Programming skills in Java
- Knowledge of how to use the Eclipse IDE
- Experience with Git/GitHub, as well as Apache Maven
- Familiarity with the topics covered in the openSAP course: SAP Cloud Platform Essentials (Update Q3/2017)
Development Systems If your primary interest in taking this course is getting a technical overview of the development-related capabilities of SAP Cloud Platform, you do not need access to a development system. However, we realize that many of you will be interested in experimenting with the platform and developing your own code, based on the instructions in the course.
You can register for your own free trial account for SAP Cloud Platform. We’ll also explain how to do this at the start of the course. There are a few restrictions for the free trial account, but you’ll be able to follow the course without any problems, as the instructor will use the same system as you.
For this course a preconfigured virtual machine image is provided and its use is recommended if you want to follow along with the hands-on exercises. The setup is provided and explained in Week 0: System Preparation.
- The course prerequisites are menioned here which we cover in week 0 of the course
The Image
Getting Started - Part I
No Exercises
Getting Started - Part II
Creating a Microservice
- Exercise 3: Create Advertisement Endpoints
- Exercise 4: Create Automated Component Tests
- Exercise 4.2: [Optional] Implement Update/Delete Test-driven
- Exercise 5: [Optional] Introduce Validations and Exception Handler
- Exercise 6: Deploy Advertisement on Cloud Foundry
Connecting a Database
- Exercise 7: Connect to local PostgreSQL Database
- Exercise 8.1: Configure Persistence
- Exercise 8.2: Use Repository to Access Database
- Exercise 9: Implement JPA Entity
- Exercise 10: Deploy Ads on Cloud Foundry
- Exercise 11: [Optional] Implement a Custom Query
Logging and Tracing
Service-to-Service Communication
- Exercise 16: Call User Service (synchronuous)
- Exercise 17: Call User Service via Hystrix
- Exercise 18: Make Communication more Resilient
- Exercise 19: [Optional] Hand-over Correlation-ID
- Exercise 20: [Optional] Use Message Queues
- Exercise 21: [Optional] Receive MQ Messages
Security
- Exercise 22: Deploy Application Router for Authentication
- Exercise 23: Setup generic Authorization
- Exercise 24: Make Application Secure
- Exercise 24.2: Administrate Authorizations
No Exercises
- Troubleshooting VM image installation
- Troubleshooting Maven, Eclipse
- Eclipse IDE Tips
- Cloud Foundry CheatSheet
- Hamcrest (matchers) CheatSheet
- Cloud Foundry Basic Overview
- Cloud Foundry Component Overview
- Migrating to Cloud-Native Application Architectures (free PDF ebook)
- Pivotal Cloud Foundry Glossary
- FAQ - Frequently Asked Questions regarding the Eclipse IDE
- JSON Conversion
Please look into GitHub issues for any issues reported.
Please use GitHub issues for any bugs to be reported.
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file.