Slide 1

Slide 1 text

SAP Cloud Platform POC (Hana hxa)

Slide 2

Slide 2 text

Agenda 2 ● Introduction ● Some Definitions ● Project ● Questions

Slide 3

Slide 3 text

What is SAP Cloud Platform? ▪ SAP Cloud Platform is an enterprise Platform as a Service that has comprehensive application development services and capabilities.” - from SAP ▪ PaaS provides you computing platforms which typically includes an operating system, programming language execution environment, database, web server. ▪ Two environments, Neo and Cloud Foundry 3

Slide 4

Slide 4 text

What is Hana XS Advanced ▪ SAP HANA is an in-memory database. ▪ SAP HANA XS advanced (XSA) is a completely re-engineered application server for native development of applications in SAP HANA. ▪ XS Advanced is essentially based upon Cloud Foundry ▪ Supports multiple runtime (Nodejs, Java,Javascript,python and other) ▪ Application can be deployed in Cloud Platform or on-premise. ▪ One application can use one or more of these runtimes using microservice architecture ▪ To manage the development, configuration and deployment of a business application built on XS Advanced Model that contain multiple programming artefacts such as Java code, OData definitions and DB content, SAP has introduces the concept of multi-target application (MTA). 4

Slide 5

Slide 5 text

What is Multi-target Application Applications composed of multiple microservices. A multi-target application includes multiple so-called “modules” which are the equivalent of Cloud Foundry applications.For example a MTA can contain: ▪ Static web content that runs in the browser. ▪ Server-side Java code that runs in a Java Enterprise server. ▪ OData service definitions for an OData provisioning run-time. ▪ Database content such as tables, views, and procedures. 5 ● Each MTA module is a separate XS Advanced (“micro”) application, which can be pushed to a target deployment platform. ● The modules can have dependencies on other modules or resources. ● The deployment of a MTA is handled by a deployment descriptor file(yml).

Slide 6

Slide 6 text

SAP UI5 6 SAPUI5 is an enterprise-ready web toolkit with powerful development Concept Client UI technology based on javaScript, CSS and Html. ▪ Data binding types and Model-View-Controller (MVC) ▪ Feature-rich UI controls for handling complex UI patterns and predefined layouts for typical use cases. ▪ Full translation support ▪ Keyboard interaction support and accessibility features ▪ 3rd Party Javascript Integration ▪ Target multiple Devices (Smartphone, Tablet, Desktop)

Slide 7

Slide 7 text

Core Data Service 7 ● Core Data Services (CDS) artifacts are design-time definitions. When CDS file is activated, it generate runtime objects. ● CDS file must have the file extension .hdbcds, for example, MyCDSTable.hdbcds ● CDS can be used to create following database artifacts: ○ Create a table (entity) ○ Create an SQL views Create an association between entities or views ○ Create a user-defined structured type ● it abstract SQL to create or alter the table.

Slide 8

Slide 8 text

Project Details 8 ● Bulletin Board based App. ● The application consists of the following modules: ● pocdb (Database) ○ This is the core db package contains Core data models artifacts required to create the tables. ● pocjs (Backend) ○ This module contains the advertisement CRUD implementation in nodejs using odata and XSJS library. ● pocui(Frontend) ○ This Module contains the user interface for the app and implemented in SAP UI5. ● Mta.yaml ○ application descriptor haing different modules, their interdependencies and configuration.

Slide 9

Slide 9 text

Any Question? 9

Slide 10

Slide 10 text

10 Module:pocdb Module:pocui Module:pocjs Resources name:poc_uaa type:com.sap.xs.uaa-space name:hdi-pocdb type:com.sap.xs.hdi-container type:hdb type:sapui5 appRouter type:nodejs Module Dependencies