Enterprise Applications, Microservices and SAP HANA Cloud Platform

36
.consulting .solutions .partnership Enterprise Applications, Microservices and SAP HANA Cloud Platform

Transcript of Enterprise Applications, Microservices and SAP HANA Cloud Platform

Page 1: Enterprise Applications, Microservices and SAP HANA Cloud Platform

.consulting .solutions .partnership

Enterprise Applications, Microservicesand SAP HANA Cloud Platform

Page 2: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

1) © NASA / James Blair - http://spaceflight.nasa.gov/gallery/images/shuttle/sts-128/html/jsc2009e156744.html, Public Domain: https://commons.wikimedia.org/w/index.php?curid=7850400

2) © Hugovanmeijeren - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=10282772

Enterprise Applications

© msg | October 2016 | 4th IT Conference on SAP Technologies 2

Enterprise application software includes content, communication, and collaboration software; CRM software;

digital and content creation software, ERP software; office suites; project and portfolio management; and SCM

software. (Source: Gartner IT Directory)

Datacenter RealityManagement View

1) 2)

Page 3: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Evolution of an Enterprise Application

© msg | October 2016 | 4th IT Conference on SAP Technologies 3

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Global Scale

Cloud ReadyMobile First Paradigm

Simple Solution

Powerful & Complex Application

Page 4: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Challenges for Enterprise Applications

4

Enterprise

Application

© msg | October 2016 | 4th IT Conference on SAP Technologies

Performance & Elasticity(Dynamically) scale an

application to meet peak

performance needs

IntegrationConnect the application to

internal and external/ cloud

systems

CollaborationCommunication as part

of business objects

Extensibility/ ChangeAdapt a solution to meet

business needs and remain a

standard application

nonetheless

OperationsDeploying several versions,

patching, monitoring.

Reducing operating cost.

DevOps approaches.

Page 5: Enterprise Applications, Microservices and SAP HANA Cloud Platform

5

Enterprise Applications, Microservices and SAP HANA Cloud Platform

… an n-dimensional Challenge

• System landscapes with applications

based on different technology are very

common.

• Business driven integration is more

likely to succeed.

• Web Services and CORBA were first

approaches for a technology agnostic

interface.

© msg | October 2016 | 4th IT Conference on SAP Technologies

• Some applications may stay on premise

forever. (Mission-critical apps)

• Today, we consider an application very

often either on premise or in the cloud.

• Hybrid cloud scenarios evolve more and

more.

Page 6: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Digital Transformation – Innovate, Be Fast, Differenciate

© msg | October 2016 | 4th IT Conference on SAP Technologies 6

Cloud as an Enabler

Flexibility

Scalability

Big Data/ Analytics

Mobility/ Networks

ImaginePrototypeBuildGo Live

Page 7: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

So, let‘s start an interesting journey dealing with the challenges !!!

© msg | October 2016 | 4th IT Conference on SAP Technologies 7

„I don‘t have (the one) solution – but I admire the problem!“

Page 8: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

© https://flic.kr/p/3DNDPu

Microservices – The next big thing or the next zoo?

© msg | October 2016 | 4th IT Conference on SAP Technologies 8

Page 9: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Defining Microservices by Features

9

(Eberhard Wolf, Microservices – Flexible Software Architecture.)

© msg | October 2016 | 4th IT Conference on SAP Technologies

… communication

REST or messaging protocols.

… technology agnostic

no restriction on the programming

language or the platform for each

microservice.

… a modularization concept

divide large software systems.

This influences the organization

and development of software

systems.

… separate deployment

changes can be taken into

production independently of

changes to other microservices

… own storage

Separate database, multiple

databases, or at least own

DB schema … loosely coupled/ resiliant

can handle failure or changes to a

distributed system.

Microservices focus on a system and not on

the whole IT of a company.

… UI

Microservices often come with

UIs or can easily be integrated in

an UI.

Page 10: Enterprise Applications, Microservices and SAP HANA Cloud Platform

What does a Microservice look like?

© msg | October 2016 | 4th IT Conference on SAP Technologies 10

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Page 11: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Onion Architecture

© msg | October 2016 | 4th IT Conference on SAP Technologies 11

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Page 12: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Onion Architecture – Domain Model

© msg | October 2016 | 4th IT Conference on SAP Technologies 12

Enterprise Applications, Microservices and SAP HANA Cloud Platform

1. Implementing Domain-Driven Design – Vaughn Vernon, 2013

• Contains the definition of the

domain model

• Incorporates both behavior and

data

• Is not specific to any technology Domain

Model

Domain Model

Page 13: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Onion Architecture – Domain Services

© msg | October 2016 | 4th IT Conference on SAP Technologies 13

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Domain Services

Domain Model

• Contains domain services, which

encapsulate business logic

Domain

Model

1. Implementing Domain-Driven Design – Vaughn Vernon, 2013

Page 14: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Onion Architecture – Application Layer

© msg | October 2016 | 4th IT Conference on SAP Technologies 14

Enterprise Applications, Microservices and SAP HANA Cloud Platform

1. Implementing Domain-Driven Design – Vaughn Vernon, 2013

Application• Exposes domain services through

interfaces

(e.g. REST, OData)

• Provides infrastructure adapters

(e.g. repository implementations)

Domain Services

Domain Model

Domain

Model

Page 15: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Onion Architecture – UI/Infrastructure Layers

© msg | October 2016 | 4th IT Conference on SAP Technologies 15

Enterprise Applications, Microservices and SAP HANA Cloud Platform

1. Implementing Domain-Driven Design – Vaughn Vernon, 2013

• Uses APIs provided by the

application layer to call domain

services

User Interface

Infrastructure• Contains adapters for various

technology concerns

(e.g. database, logging, etc. )

Application

Domain Services

Domain Model

Domain

Model

Page 16: Enterprise Applications, Microservices and SAP HANA Cloud Platform

How big is a microservice?

© msg | October 2016 | 4th IT Conference on SAP Technologies 16

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Page 17: Enterprise Applications, Microservices and SAP HANA Cloud Platform

17

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices in Action

© msg | October 2016 | 4th IT Conference on SAP Technologies

Page 18: Enterprise Applications, Microservices and SAP HANA Cloud Platform

18

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices in Action

© msg | October 2016 | 4th IT Conference on SAP Technologies

Microservices as Integration

Technology

Mobile Apps

Microservices power small

apps with dedicated information

or provide services

Microservices as Enhancement

Strategy

Microservice Applications

A whole application is build

with microservices

Page 19: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

We don‘t make mistakes – we learn!

19© msg | October 2016 | 4th IT Conference on SAP Technologies

MicroserviceFILES ARE UPLOADED

• Microservices focus on UI and a

distributed system

• Scalability/elasticity is a goal

• Microservices don‘t favour EAI/ESB

solutions

• It changes the development organization

SOATWEETS ARE SEND

• SOA tries to find a solution for the

enterprise

• SOA is about governance

• SOA does not care about the individual

service consumer – SOA tries to answer

the question, if there is a generic data

model and a generic interface

Page 20: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices – A little look at the workshop

© msg | October 2016 | 4th IT Conference on SAP Technologies 20

Enterprise Applications, Microservices and SAP HANA Cloud Platform

© https://www.flickr.com/photos/mtneer_man/9207206499

Page 21: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Business Applications based on SAP HANA Cloud Platform

© msg | October 2016 | 4th IT Conference on SAP Technologies 21

Platform Services

SAP HANA Cloud Platform (PaaS)

Runtimes

Data & Storage Services

Deve

lop

ment

Op

era

tio

ns

IAAS

ASE

UX

Security

Mobile

Integration

Analytics

IoT

Collaboration

Java

XSJS

HTML5

Service Enablement | API Management

Business Services

Node.js

Other

Big Data Services

HANA / Vora

Redis

PostgreSQL MongoDBHadoop

On-Premise /

Managed

Cloud

SAP HANA Cloud Platform – Current & Planned InnovationsSource: SAP SE

SaaS/

Public Cloud

Solutions

Applications

Commerce Loaylty Mgmt. Billing …

Page 22: Enterprise Applications, Microservices and SAP HANA Cloud Platform

22

Enterprise Applications, Microservices and SAP HANA Cloud Platform

SAP HANA Cloud Platform – Selected Business Value

Reduce operating expenses

This text can be replaced with your own text. This is a placeholder text.

01

Agility

Companies are looking for

• cost savings,

• strategic advantages,

and capabilities for meeting

current (business) requirements.

This text can be replaced with your own text. This is a placeholder text.

Eliminate peak load sizing

Flexibility

© msg | October 2016 | 4th IT Conference on SAP Technologies

High availability

Page 23: Enterprise Applications, Microservices and SAP HANA Cloud Platform

© msg | October 2016 | 4th IT Conference on SAP Technologies 23

How do I build an

enterprise

application ?

… better get API

Management in place.

Deployment, Billing,

Monitoring, Traffic

Management, Versioning, …

Page 24: Enterprise Applications, Microservices and SAP HANA Cloud Platform

24

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications and Microservices

© msg | October 2016 | 4th IT Conference on SAP Technologies

One Microservice – one

DB

Domain-driven Design

Use SAP HANA

Domain-driven Design

(Reality-driven)

Use of integration

servers

Right-size

microservices

Strict

Approach

Relaxed

Approach

No integration servers

Page 25: Enterprise Applications, Microservices and SAP HANA Cloud Platform

25

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices in Action

© msg | October 2016 | 4th IT Conference on SAP Technologies

Microservices as Integration

Technology

Mobile Apps

Microservices power small

apps with dedicated information

or provide services

Microservices as Enhancement

Strategy

Microservice Applications

A whole application is build

with microservices

Page 26: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices Implementation Challenges

© msg | October 2016 | 4th IT Conference on SAP Technologies 26

• Basic Security

Logging

• Hexagonal Architecture Rest/ OData

Web Services

JMS

• Advanced Topics Circuit Breaker

Throttling

Retry

Billing

Management

Page 27: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Integration Scenarios

© msg | October 2016 | 4th IT Conference on SAP Technologies 27

Connect to

Private Cloud/

Applications

Extend

S/4HANA

Connect to

S/4HANA

(Public Cloud)

SAP HANA

Cloud Platform

Page 28: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Identity Management

© msg | October 2016 | 4th IT Conference on SAP Technologies 28

Identity Provider

FIORI, Microservices, HDB

SAP HANA Cloud Platform

Client

Delegate Authentification

Page 29: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservices – Persistence (e.g. JAVA)

© msg | October 2016 | 4th IT Conference on SAP Technologies 29

HANA Native App

HANASAP ASE

JAVA App

JPA / JDBC

SAP HANA Cloud Platform

Page 30: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Microservice Example – Bringing it all together

© msg | October 2016 | 4th IT Conference on SAP Technologies 30

Page 31: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Example application: msg.EventManagement

Enterprise Applications, Microservices and SAP HANA Cloud Platform

© msg | October 2016 | 4th IT Conference on SAP Technologies 31

Organize• Timeline

• To-Do List

• Attachments

• Contacts

Promote• on SAP JAM

• via Email

• on Social media

Browse• Upcoming events

• Calendar

Page 32: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Which technology is best suited?

© msg | October 2016 | 4th IT Conference on SAP Technologies 32

• Open to any technology supported by the landscape.

Platform Services

SAP HANA Cloud Platform (PaaS)

Runtimes

Data & Storage Services

De

ve

lop

ment

Op

era

tio

ns

IAAS

ASE HANA

UX

Security

Mobile

Integration

Analytics

IoT

CollaborationJava

XSJS

HTML5

Service Enablement | API Management

SAP Data Centers

Applications

SAP HANA Cloud Platform – Current Architecture

Page 33: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Characteristics of the development team

© msg | October 2016 | 4th IT Conference on SAP Technologies 33

Multi-disciplinary

Autonomous

DevOps

Self-sufficient Team

Page 34: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Enterprise Applications, Microservices and SAP HANA Cloud Platform

Mobile Consumption of Microservices

© msg | October 2016 | 4th IT Conference on SAP Technologies 34

HCP Mobile

Services

Cloud Apps

(OData)

Cloud Connector NW Gateway

SAP S/4HANA

SAP Appl.SAP HANA Cloud Platform

Page 35: Enterprise Applications, Microservices and SAP HANA Cloud Platform

Let’s talk…

© msg | October 2016 | 4th IT Conference on SAP Technologies 35

Enterprise Applications, Microservices and SAP HANA Cloud Platform

© Hugovanmeijeren - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=6344162

Q&A

Page 36: Enterprise Applications, Microservices and SAP HANA Cloud Platform

.consulting .solutions .partnership

Dr. Michael Goetzfried

Principal IT [email protected]

msg systems ag (Headquarters)

Robert-Buerkle-Str. 1, 85737 Ismaning/Munich

Germany

www.msg-systems.com

Tudor Riscutia

Senior IT [email protected]