ProSoft Technology Group, IncA Kellton Group (BSE KELLTONTEC) Company.
Butterfield Rd, Suite 305, Downers Grove, IL, 60515 www.prosoftgroup.com Phone:630-725-1800
SAP Hybris Architecture &
Building Blocks
Ravinder [email protected]
http://www.meetup.com/Chicago-SAP-Hybris-User-Group
https://twitter.com/excelhybris
http://blog.prosoftgroup.com/
In today’s webinar, you will learn about Hybris Platform Architecture and its building blocks from two perspective.
WHAT IS HYBRIS?
HOW CAN I USE IT?
1
My name is Ravinder Singh Pal a.k.a Ravi and R Pal
With over 20 years of experience, I lead to design and deliver B2C and B2B omni channel solutions for Retail, CPG, Life Sciences, hospitality and Healthcare Marketplaces verticals as a subject matter expert and a lead technologist.
I run Hybris User Group for Midwest, our meet is coming up on Aug 6, 2015. Find more details at
You can reach me at:[email protected](630) 667-8889
http://www.meetup.com/Chicago-SAP-Hybris-User-Group
WHAT IS HYBRIS?
HOW CAN I USE IT?
2
WHAT IS HYBRIS?
HYBRIS IS A TECHNOLOGY PLATFORM TO BUILD DIGITIAL COMMERCE & MARKETING APPLICATIONS FOR B2C AND B2B USE CASES
SIMPLE DEFINITION
3
WHAT IS HYBRIS?
Let’s briefly understand from business perspective the need before getting into nitty-gritty details of its architecture …
4
Supply Chain Integration
Web Analytics
Reviews and Rating
Search & Browse Cart & Checkout
Search Engine Optimization Web Portal, Personalization and Content Mgmt
Call /Contact Center
Product & Pricing
Order Mgmt
InStore Apps
Inventory Mgmt
Returns Mgmt
Warehouse Mgmt
Transportation Mgmt
Delivery Network
Direct Delivery Customer Fraud
Social Apps
Payment Systems
Campaign Mgmt
Security &Compliance (IAM
&Fraud)
Reporting
User Experience
Infrastructure
Performance Engineering
Loyalty Mgmt
Digital Marketing
Merchandizing
Partner Apps
Online Marketing Online Shopping
Channel Integration
Product Management
Capacity Mgmt
Compliance Mgmt
Commerce Domain Model for B2C and B2B
5A
Content Management
Templates Content Site Mgmt Workflow Branding Publishing ArchiveSyndicationSEO
LocalizationUser Mgmt
User Centric Content
Forums / Blogs
Social Networking
Content Delivery
Registration Preferences Integration
Customer Management
Acquisition & Loyalty
Administration & SupportStorage &
ControlMetadata
MgmtSearch
Transcoding &
Reformatting
Digital Assets Management
User Centric Content
Forums / Blogs
Social Networking
Social Integration
Analytics & Reporting
Campaign Mgmt.
Direct Marketing
Consumer Database
Marketing Domain Model for B2C and B2B
5B
Alignment between Business with
Hybris Building Blocks
Marketing Sales SettlementProduct Supplier Compliance
I II III IV V VIIIVIIVI IX
Customer Service
Returns & Exchanges
Order & Fulfilment
Shared Digital Commerce Capabilities
Product Module
Catalog Module
Search Module
Payment Module
Promotion Module
Workflow Module
OMS Returns
Cockpits
Hybris
Module
6
Hybris Modules make an
Accelerator, an Application and a
service
Hybris Module
Hybris Extension
=
Hybris Module
Hybris Module
Hybris Module
Hybris Module
7
Access Points
Presentation Tier
Logic TierPersistence
TierRepository
Tier
WHAT IS HYBRIS?Logical Architecture View
8
WHAT IS HYBRIS?Logical Architecture View
Browser Mobile, Store, B2B Call Center / Store Admin / DeveloperClient
Business Services REST ResourcesLogic System Services
Spri
ng
Persistence Core Core+ - NoSQL, JDBC JPA Persistence Integration
HybrisRepositoryFile Storage – Binary
/ Indexing
SAPBusiness Partners
3rd Party Libraries
Spring MVC REST Handler Cockpits Data ManagementPresentation / Access
9
WHAT IS HYBRIS?Logical Architecture View
Persistence Core Core+ - NoSQL, JDBC JPA Persistence
Browser
Spring MVC
Hybris
REST Handler
Mobile, Store, B2B Call Center / Store
Cockpits Data Management
Admin / Developer
Business Services REST Resources
Client
Presentation / Access
Logic
RepositoryFile Storage – Binary
/ Indexing
SAP
System Services
Business Partners
Spri
ng
Integration
3rd Party Libraries
FEATURES Object / Information Model Mapping Transaction Support Security & Access Privileges Caching Indexing Clustering Applications can use multiple
persistence engine simultaneously Migration involves rebuilding
Persistence Engine Core
Persistence Engine Core+
Persistence Engine
JPA Core+(Hibernate)
JDBC Core+(Spring Bean)
NoSql Core+(Spring Bean)
10
WHAT IS HYBRIS?Logical Architecture View
Business Services REST ResourcesLogic System Services
Spri
ng
Persistence Core Core+ - NoSQL, JDBC JPA Persistence
Browser
Spring MVC
Hybris
REST Handler
Mobile, Store, B2B Call Center / Store
Cockpits Data Management
Admin / DeveloperClient
Presentation / Access
RepositoryFile Storage – Binary
/ Indexing
SAPBusiness Partners
Integration
3rd Party Libraries
Sprin
g Co
ntain
er
corety
pe
mo
del
i18
N
cach
e
even
t
Use
r
per
sist
ence
secu
rity
com
mercep
rod
uct
cate
gory
pri
ce
loca
tio
n
acco
un
t
cart
chec
kou
t
del
iver
y
…
Spring Context
FEATURES Spring Framework container Each extension or module depends
upon spring managed beans Customization is possible using proxy
or AOP or alias
FEATURES Core platform provides system level
services Commerce extension provides
business level services
11
WHAT IS HYBRIS?Logical Architecture View
Spring MVC REST Handler Cockpits Data ManagementPresentation / Access
Browser Mobile, Store, B2B Call Center / Store Admin / DeveloperClient
Hybris
Business Services REST ResourcesLogic
Persistence
RepositoryFile Storage – Binary
/ Indexing
SAP
System Services
Business Partners
Core Core+ - NoSQL, JDBC JPA Persistence Integration
3rd Party Libraries
Spring MVC Mobile SDK ZK Framework
12
WHAT IS HYBRIS?Logical Architecture View
Browser
Spring MVC
Hybris
REST Handler
Mobile, Store, B2B Call Center / Store
Cockpits Data Management
Admin / Developer
Business Services REST Resources
Client
Presentation / Access
Logic
Persistence
Data SourcesFile Storage – Binary
/ Indexing
SAP
System Services
Business Partners
Core Core+ - NoSQL, JDBC JPA Persistence
Spring MVC Mobile SDK ZK
Spring Framework
Core Persistence Core+ JPACore+ JDBC,
NoSql
13
WHAT IS HYBRIS?
That completes our Architecture view of Hybris.
Next
Logical Architecture View
HOW CAN I USE IT?
14
HOW CAN I USE IT?
15
Alignment between Business with
Hybris Building Blocks
Marketing Sales SettlementProduct Supplier Compliance
I II III IV V VIIIVIIVI IX
Customer Service
Returns & Exchanges
Order & Fulfilment
Shared Digital Commerce Capabilities
Product Module
Catalog Module
Search Module
Payment Module
Promotion Module
Workflow Module
OMS Returns
Cockpits
Hybris
Module
16
Marketing Sales Settlement Customer Service
Returns & Exchanges
Product Supplier Order & Fulfilment
Adjustments
I II III IV V VIIIVIIVI IX
Enterprise Data Warehouse (EDW)
Integration with ERP System
Information-as-a-Service
Commerce Data Management
Service Oriented Architecture (SOA)
Enterprise Service Bus (ESB)
Business Process Manage-ment(BPM)
Complex Event Processing (CEP)
Multi-channel integration
Information manage-ment
Order Mgmt
Inventory Mgmt
Pricing Mgmt
Returns Mgmt
Warehouse Mgmt
Warehouse Mgmt
Delivery Network Mgmt
Invoicing
Merchant Mgmt
Payment Mgmt
Account Mgmt
Order Mgmt
Appeals & Grievances
Inquiry
Order Mgmt
Tracking
Web Analytics
Reviews and Rating
Search Engine Optimization
Social Apps
Campaign Mgmt
Omni Channel
Store Management
Catalog Phone Ordering
Catalog Fax Ordering
HTML Browser Shop
Mobile Shop App
Product Management
Product Variant
Product Prototype
Product Pricing
Attributes
Store AllocationContent Mgmt
Supplier Management
Contract Management
Shipping Details
Product xRefManagement
Custer Personalization B2C B2B BundlingSearch &
NavigationCustomer
ServiceDAM Endeca Search
Entitlements (EMS)
Impex Instore Mobile OMS Payment Print CockpitsProduct &
CatalogPromotion Reporting
SAP Data Hub SAP Master Data SAP OMSSocial
CommerceSubscription Voucher WCMS Workflow Accelerators
WHAT IS HYBRIS?Business Architecture View
17
HOW CAN I USE IT?Implementation
Document Specification
Design & Develop
Persistence Tier
Design & Develop
Service Tier
Design & Develop
Presentation
18
HOW CAN I USE IT?Design Time View
Marketing Sales Settlement Customer Service
Returns & Exchanges
Product Supplier Order & Fulfilment
Adjustments
I II III IV V VIIIVIIVI IX
Order Mgmt
Inventory Mgmt
Pricing Mgmt
Returns Mgmt
Warehouse Mgmt
Warehouse Mgmt
Delivery Network Mgmt
Invoicing
Merchant Mgmt
Payment Mgmt
Account Mgmt
Order Mgmt
Appeals & Grievances
Inquiry
Order Mgmt
Tracking
Web Analytics
Reviews and Rating
Search Engine Optimization
Social Apps
Campaign Mgmt
Omni Channel
Store Management
Catalog Phone Ordering
Catalog Fax Ordering
HTML Browser Shop
Mobile Shop App
Product Management
Product Variant
Product Prototype
Product Pricing
Attributes
Store AllocationContent Mgmt
Supplier Management
Contract Management
Shipping Details
Product xRefManagement
Custer Personalization B2C B2B BundlingSearch &
NavigationCustomer
ServiceDAM Endeca Search
Entitlements (EMS)
Impex Instore Mobile OMS Payment Print CockpitsProduct &
CatalogPromotion Reporting
SAP Data Hub SAP Master Data SAP OMSSocial
CommerceSubscription Voucher WCMS Workflow Accelerators
Business Requirement
Class diagram for persistence tier
Create or extend *-items.xml file representing information model
Business Services & Composition using Communication Diagram
Copy and extend spring services And finally bring in presentation
tier creating component diagram.
19
HOW CAN I USE IT?Design Time View
Business
Requirement
Business
Process ImpactsNew Entities
1 2 3
54
Persistence Tier
20
HOW CAN I USE IT?Design Time View
Business
Requirement
Business
Process Impacts
New Services
Model
1 2 3
4
Services Tier
5
21
Spring Configuration
HOW CAN I USE IT?Design Time View
Business
Requirement
Business
Process ImpactsNew Experience
1 2 3
4
Presentation Tier
5
22
HOW CAN I USE IT?Development View
Browser
Spring MVC
Hybris
REST Handler
Mobile, Store, B2B Call Center / Store
Cockpits Data Management
Admin / Developer
Business Services REST Resources
Client
Presentation / Access
Logic
Persistence
RepositoryFile Storage – Binary
/ Indexing
SAP
System Services
Business Partners
Core Core+ - NoSQL, JDBC JPA Persistence
Spri
ng
Integration
3rd Party Libraries
Modules / Extensions
Core
Cockpits
Facades Fulfilment
Initialdata
Store
Test Services
Mobile
23
Deploy on the cluster
HOW CAN I USE IT?Development View
QA Server
fro
nte
nd
Faça
de/
serv
ice
s
core
Pla
tfo
rm
Dev
elo
per
Eclipse
Hybris
Database
Dev
elo
per
Eclipse
Hybris
Database
Dev
elo
per
Eclipse
Hybris
Database
Develop Integrate
Dev
elo
per
Eclipse
Hybris
GIT
Test & QA
Bug Tracker
Release Mgmt
Build EAR and/or relevant artifact
EAR
Deploy
Hybris Cluster
Database
24
HOW CAN I USE IT?Infrastructure View
Web / Mobile Retail Business Units Call Center
Hybris ClusterCommerce
Node 1 Node 2 Node 3
Hybris ClusterOMS
Node 1 Node 2 Node 3
Web Servers - ApacheApache Apache Apache
WMS WMS WMS WMS WMS
25
WHAT IS HYBRIS?
HOW CAN I USE IT?
2