SlideShare a Scribd company logo
1 of 67
Blockchain for Java
Developers
Juarez Junior
Azure Developer Relations Lead
Microsoft
juarez.junior@microsoft.com Twitter/Medium: @juarezjunior linkedin.com/in/jujunior
Juarez Junior – https://twitter.com/juarezjunior
- 24 years in IT (professional) + 8 years (amateur)
- 9 years of experience in Developer Relations / Community / Mktg
- 15 years of experience in core software engineering/architecture
- Nokia Developers, Global Champion
- IBM Mobile Evangelist & Global Thought Leader
- IBM Cloud & Watson Evangelist, IBM Cloud Tech Rockstar Europe
- Oracle Developers Director, EMEA Advocacy & Strategy Lead
- Microsoft Azure DevRel in Ireland / Microsoft WE HQ
- Cloud, DevOps, Java, AI, IoT, Mobile, Blockchain(IBM, Oracle, MSFT)
Blockchain technology
What is blockchain?
Common scenarios
The ledger can only be updated by
network consensus, and information can’t
be altered or deleted without the
knowledge of the whole network
Everyone in the network has an individual,
identical copy
Data is stored in a ledger—
a record of every transaction
Blockchain streamlines these processes by establishing
a secure, shared source of truth
Blockchain Networks
Consortium
Woodgrove
Financial
Contoso
Bank
Northwind
Traders
Bank b
Insurance c
Investment
consortium
c
Bank A
Blockchain
Location 1
Location 2
Location 3
Location 4
Department
A
Department
B
Public
blockchain
Person a
Woodgrove
Financial
Person B
Northwind
Traders
Bank 6
Bank 1
Consortium
6
Public
(permissionless)
Consortium
(permissioned)
Private
• Many, unknown participants
• Writes by all participants
• Reads by all participants
• Consensus by Proof of Work
• Known participants from one org
• Write permissions centralized
• Reads may be public or restricted
• Multiple algorithms for consensus
• Known participants from multiple orgs
• Writes require consensus of n participants
• Reads may be public or restricted
• Multiple algorithms for consensus
Corda
Chain
Enterprise
Ethereum Quorum
Permissionless and Permissioned
Transactions, Hashes and Blocks
GENESIS BLOCK
(must be the root for all on the same chain)
Transaction 0
Transaction 1
Transaction 2
Transaction 3
Transaction 4
New Hash
+
Block0 Hash
First Hash
New Hash
+
Block1 Hash
New Hash
+
Block2 Hash
0 seconds ~12 seconds ~24 seconds ~36 seconds
Blockchain has broad applications across industries
Loyalty tracking
Product provenance
Logistics management
Digital rewards
P2P selling
Ticket purchases
Asset tracking
Real-time auction for
supplier contracts
Supply chain
transparency
Dynamic commodities
pricing
Claims management
MBS/Property payments
Fraud detection
Automated underwriting
Risk visualizations
Licensing and ID
Benefits distribution
Aid tracking
Military security
Copyrights
Audit compliance
Bond issuance
Trade finance
Loan syndication
Post trade settlement
Global payments
Derivatives trading
KYC/AML
Personalized medicine
Records sharing
Compliance
Agricultural
authentication
Pharmaceutical purity
Manufacturing Retail Insurance Government
Banking and
Capital Markets
Health
Corda - Introduction
Corda R3
JVM
CORDA BY R3
Corda – Technical details
JVM-based
AMQP JDBC
Java Kotlin
Token SDK
CORDA BY R3
Corda – Languages and Tools
CORDA BY R3
CorDapps
CORDA BY R3
Corda on Azure + Code Samples
Corda on Azure — How to deploy and run a demo
Corda network
Corda on Azure — Deploying a Corda Testnet node
Java
Kotlin
CORDA BY R3
Hyperledger Fabric Blockchain
• Permissioned, Enterprise
• Hyperledger Fabric – open-source protocol for distributed ledger solutions
– Provides a permissioned blockchain model with membership services
– Offers a modular architecture allowing components, such as consensus and membership
services, to be pluggable
– Enables pluggable data store, consensus protocols, and multiple providers of membership
services
– Programmable – leverages containers to host smart contracts
– Focuses on a permissioned implementation with confidentiality/privacy provisions
– No crypto required
• Hosted by The Linux Foundation
– Same governance model
– Other projects as part of Hyperledger Foundation ecosystem (Indy, Iroha, Sawtooth)
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Hyperledger Fabric Blockchain
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Hyperledger Fabric – Transaction Flow
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Client Application
Fabric SDK
Keys
Membership Service
Peers
Endorser
Simulates TX
World
State
Committer
Effect changes
Ordering Service
Certificate
Authority
Federated
Identity
4.0 - Deliver TX Batch
Validate Signatures
and Authorization
Membership
Services container
Peer container
Orderer container
Orders TXs into
batches
according to
consensus
Container
Legend
Dev Code
3.0 - Submit Endorsed TX
Includes RWset and endorser
signatures
Ledger
5.0 – Writes ledger block
5.1 - Updates State
6.0 – Commit Notification
Fabric Code
Smart contract container
Smart Contract
(Chaincode)
Hyperledger Blockchain
QUORUM BY J.P. MORGAN
Hyperledger on Azure with Azure
Kubernetes Service
https://medium.com/@juarezjunior/how-to-deploy-
your-first-hyperledger-fabric-components-with-
azure-kubernetes-service-aks-760563d9d543
Marketplace
GitHub
QUORUM BLOCKCHAIN BY J.P. MORGAN
Transform your business with blockchain on Azure
Create smarter and more efficient processes with Azure blockchain offerings
Azure Blockchain
Service
Azure Blockchain
Workbench
Azure Blockchain
Developer Kit
Build, govern, and
expand consortium
blockchain
networks
Easily prototype
blockchain apps in
the cloud
Connect and integrate to
existing apps and move
to production
Azure Blockchain Development Kit
AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
End-to-end Github examples that help connect and
integrate blockchain with existing apps
AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
Building an end-to-end blockchain app is a huge
undertaking
Manually
deploy
ledger
Write business
logic
Orchestrate
signing, hashing
and routing
Store smart
contract
reference data
Synchronize
data with off-
chain DB
Ingest
messages and
events
Build web
client
API
management
Manage keys
Customize
integrations
Extend
capabilitie
Integrate with
existing
business apps
Configure
consortium
network
Link identities
to federated
systems
Azure is the best cloud for Blockchain
Ahead of the
competition
An open, app-focused
approach validated by
Gartner, Forrester and
many other third-party
analysts
Thoughtful product
portfolio
The most open and
comprehensive blockchain
portfolio to simplify
development of this new
class of applications
Trusted by customers
and partners
Businesses have built
thousands of blockchain
apps on Azure working
with our rich ecosystem of
blockchain partners ​
Streamline Blockchain app development
AZURE BLOCKCHAIN
Xamarin
IoT Hub
Gateway Service
API
Transaction Builder +
Signer
Azure Key Vault
Azure SQL database
Storage (Azure
Ethereum Router
Quorum Router Azure
Blockchain
Service
DLT
Watcher
Event
Grid
iOS App
Android App
Ethereum
Simple Blockchain governance / management
AZURE BLOCKCHAIN SERVICE
Azure Blockchain
AZURE BLOCKCHAIN
Join customers and partners building blockchain apps on Azure
Partners Customers
© Copyright Microsoft Corporation. All rights reserved.
Thank You and Q&A!
Blockchain for Java Developers
Scan this QR-code to access free educational
resources, step-by-step learning guides as well as
get practical experience in Blockchain!
https://aka.ms/AAa4exo
Don’t forget to add Microsoft Azure as a skill to your
LinkedIn account to stay connected with our developer
community!
+ Microsoft Azure
We post the latest announcements about free events for
developers on our official Twitter account!
twitter.com/MSDev
Corda – Key concepts
CORDA BY R3
Corda – The ledger
CORDA BY R3
Corda – Transactions and flows
CORDA BY R3
 Transactions
 Flows
Corda – Consensus algorithms
CORDA BY R3
 Verification Consensus
 Unique Consensus
Corda – Example cash transfer flow
CORDA BY R3
Corda – Blocks diagram
CORDA BY R3
Corda – Network components
CORDA BY R3
 A CORDA network has:
Corda – Network components
CORDA BY R3
 A Corda network has:
Corda – Network architecture
CORDA BY R3
Corda – Cloud network topology
CORDA BY R3
 A Corda network is:
CORDA – Business network (consortium)
CORDA BY R3
 A Corda consortium is:
business
client app CorDapp
nodes
org
Doorman
Notary
 Oracles
 Possibly messaging Gateways
History of Corda on Azure
2016
Corda solution added to Azure
Marketplace
2017
Partnership announced between R3
and Microsoft
2018
Onboarded Insurwave consortium on
Azure
2019
Introduced Corda Logic Apps and Flow
to help with integration
Corda on Azure
CORDA BY R3
Deploy a Corda
Node with VMs
Marketplace
Corda – Blueprint architecture with VMs on Azure
Hyperledger Fabric – Transaction Flow
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Client Application
Fabric SDK
Keys
Membership Service
Peers
Endorser
Simulates TX
World
State
Committer
Effect changes
Ordering Service
Certificate
Authority
Federated
Identity
4.0 - Deliver TX Batch
Validate Signatures
and Authorization
Membership
Services container
Peer container
Orderer container
Orders TXs into
batches
according to
consensus
Container
Legend
Dev Code
3.0 - Submit Endorsed TX
Includes RWset and endorser
signatures
Ledger
5.0 – Writes ledger block
5.1 - Updates State
6.0 – Commit Notification
Fabric Code
Smart contract container
Smart Contract
(Chaincode)
Hyperledger Fabric - Architecture
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Distributed Ledger Technology Services
APIs, Events, SDKs
SMART CONTRACT
Chain-code
Services
AP
Membership
Services
Enrollment
Attributes
Consensus Services
Distributed
Ledger
Ordering Service
Network
Protocol
Endorsement
Validation
Secure
Container
Secure
Registry
TRANSACTIONSLEDGERIDENTITY
Security and Crypto Services
Hyperledger Fabric - Architecture
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
Hyperledger Fabric - Block
HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
June 18, 2019 | Microsoft News Center
Hyperledger on
Azure Marketplace
Hyperledger Fabric Consortium on Azure Kubernetes Service

More Related Content

What's hot

Cloud Native Application Development-build fast, low TCO, scalable & agile so...
Cloud Native Application Development-build fast, low TCO, scalable & agile so...Cloud Native Application Development-build fast, low TCO, scalable & agile so...
Cloud Native Application Development-build fast, low TCO, scalable & agile so...
Lucas Jellema
 

What's hot (20)

iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
iSAQB gathering 2021 keynote - Architectural patterns for rapid, reliable, fr...
 
Devoxxma-API centric microservices Architecture
Devoxxma-API centric microservices ArchitectureDevoxxma-API centric microservices Architecture
Devoxxma-API centric microservices Architecture
 
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
TDC2020 - The microservice architecture: enabling rapid, reliable, frequent a...
 
Cloud Lunch and Learn - Azure Blockchain for Developers
Cloud Lunch and Learn - Azure Blockchain for DevelopersCloud Lunch and Learn - Azure Blockchain for Developers
Cloud Lunch and Learn - Azure Blockchain for Developers
 
Events on the outside, on the inside and at the core - Chris Richardson
Events on the outside, on the inside and at the core - Chris RichardsonEvents on the outside, on the inside and at the core - Chris Richardson
Events on the outside, on the inside and at the core - Chris Richardson
 
Power
PowerPower
Power
 
Microservices in Practice
Microservices in PracticeMicroservices in Practice
Microservices in Practice
 
Solving distributed data management problems in a microservice architecture (...
Solving distributed data management problems in a microservice architecture (...Solving distributed data management problems in a microservice architecture (...
Solving distributed data management problems in a microservice architecture (...
 
Fundamentals of Microsoft 365 Security , Identity and Compliance
Fundamentals of Microsoft 365 Security , Identity and ComplianceFundamentals of Microsoft 365 Security , Identity and Compliance
Fundamentals of Microsoft 365 Security , Identity and Compliance
 
#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolith#DevNexus202 Decompose your monolith
#DevNexus202 Decompose your monolith
 
Cloud Native Application Integration With APIs
Cloud Native Application Integration With APIsCloud Native Application Integration With APIs
Cloud Native Application Integration With APIs
 
apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...
apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...
apidays LIVE New York 2021 - APIOps: automating API operations for speed and ...
 
Secure your M365 resources using Azure AD Identity Governance
Secure your M365 resources using Azure AD Identity GovernanceSecure your M365 resources using Azure AD Identity Governance
Secure your M365 resources using Azure AD Identity Governance
 
Microevent
MicroeventMicroevent
Microevent
 
apidays LIVE Australia 2021 - Quantum Duality of “API as a business and a tec...
apidays LIVE Australia 2021 - Quantum Duality of “API as a business and a tec...apidays LIVE Australia 2021 - Quantum Duality of “API as a business and a tec...
apidays LIVE Australia 2021 - Quantum Duality of “API as a business and a tec...
 
Code Freeze 2018: There is no such thing as a microservice!
Code Freeze 2018: There is no such thing as a microservice!Code Freeze 2018: There is no such thing as a microservice!
Code Freeze 2018: There is no such thing as a microservice!
 
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
apidays LIVE India - Asynchronous and Broadcasting APIs using Kafka by Rohit ...
 
Cloud Native Application Development-build fast, low TCO, scalable & agile so...
Cloud Native Application Development-build fast, low TCO, scalable & agile so...Cloud Native Application Development-build fast, low TCO, scalable & agile so...
Cloud Native Application Development-build fast, low TCO, scalable & agile so...
 
Gab2016 - Découverte d'Azure IoT Hub
Gab2016 - Découverte d'Azure IoT Hub Gab2016 - Découverte d'Azure IoT Hub
Gab2016 - Découverte d'Azure IoT Hub
 
Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions Using patterns and pattern languages to make better architectural decisions
Using patterns and pattern languages to make better architectural decisions
 

Similar to Blockchain for Java Developers - Cloud Conference Day

Similar to Blockchain for Java Developers - Cloud Conference Day (20)

BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, MicrosoftBizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
BizDay: Fully Managed Corda Enterprise with Azure Blockchain Service, Microsoft
 
Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final
Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_finalDoag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final
Doag 2018 eine_reise_durch_die_blockchain_applikationsentwicklung_final
 
IoT on azure
IoT on azureIoT on azure
IoT on azure
 
ChainDigit your partner for blockchain solutions
ChainDigit   your partner for blockchain solutionsChainDigit   your partner for blockchain solutions
ChainDigit your partner for blockchain solutions
 
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledgerBuild Blockchain Prototype using Azure Workbench and Manage data on ledger
Build Blockchain Prototype using Azure Workbench and Manage data on ledger
 
Integrate Apps using Azure Workbench and Azure Blockchain as Service
Integrate Apps using Azure Workbench and Azure Blockchain as ServiceIntegrate Apps using Azure Workbench and Azure Blockchain as Service
Integrate Apps using Azure Workbench and Azure Blockchain as Service
 
RapidBlocks, a platform vision for accelerating enterprise blockchain adoption.
RapidBlocks, a platform vision for accelerating enterprise blockchain adoption.RapidBlocks, a platform vision for accelerating enterprise blockchain adoption.
RapidBlocks, a platform vision for accelerating enterprise blockchain adoption.
 
Defrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain NetworkDefrag X Keynote: Deploying and managing Global Blockchain Network
Defrag X Keynote: Deploying and managing Global Blockchain Network
 
Defrag x blockchain keynote
Defrag x blockchain keynoteDefrag x blockchain keynote
Defrag x blockchain keynote
 
IoT on Blockchain Solution Overview
IoT on Blockchain Solution OverviewIoT on Blockchain Solution Overview
IoT on Blockchain Solution Overview
 
Near Blockchain Development
Near Blockchain DevelopmentNear Blockchain Development
Near Blockchain Development
 
Blockchain on AWS for Businesses
Blockchain on AWS for BusinessesBlockchain on AWS for Businesses
Blockchain on AWS for Businesses
 
Oracle Blockchain Experience Day
Oracle Blockchain Experience DayOracle Blockchain Experience Day
Oracle Blockchain Experience Day
 
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017) Integration of Things (Sam Vanhoutte @Iglooconf 2017)
Integration of Things (Sam Vanhoutte @Iglooconf 2017)
 
Blockchain Application Development 101
Blockchain Application Development 101Blockchain Application Development 101
Blockchain Application Development 101
 
Wwc developing hyperledger applications v4
Wwc  developing hyperledger applications v4Wwc  developing hyperledger applications v4
Wwc developing hyperledger applications v4
 
Distributed:Health Code Camp Hyperledger
Distributed:Health Code Camp HyperledgerDistributed:Health Code Camp Hyperledger
Distributed:Health Code Camp Hyperledger
 
Workshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDOWorkshop AWS IoT @ SIDO
Workshop AWS IoT @ SIDO
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on Azure
 
Accelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data StrategyAccelerating a Path to Digital with a Cloud Data Strategy
Accelerating a Path to Digital with a Cloud Data Strategy
 

More from Juarez Junior

More from Juarez Junior (20)

Oracle CloudWorld 2023 - How to hook up Telegram with Spring Boot and ADB
Oracle CloudWorld 2023 - How to hook up Telegram with Spring Boot and ADBOracle CloudWorld 2023 - How to hook up Telegram with Spring Boot and ADB
Oracle CloudWorld 2023 - How to hook up Telegram with Spring Boot and ADB
 
Oracle CloudWorld 2023 - A Practical Guide to Implementing DevOps with IaC fo...
Oracle CloudWorld 2023 - A Practical Guide to Implementing DevOps with IaC fo...Oracle CloudWorld 2023 - A Practical Guide to Implementing DevOps with IaC fo...
Oracle CloudWorld 2023 - A Practical Guide to Implementing DevOps with IaC fo...
 
Oracle CloudWorld 2023 - A High-Speed Data Ingestion Service in Java Using MQ...
Oracle CloudWorld 2023 - A High-Speed Data Ingestion Service in Java Using MQ...Oracle CloudWorld 2023 - A High-Speed Data Ingestion Service in Java Using MQ...
Oracle CloudWorld 2023 - A High-Speed Data Ingestion Service in Java Using MQ...
 
Oracle CloudWorld 2023 - Multi-cloud App Dev for Java Devs with Microsoft Azu...
Oracle CloudWorld 2023 - Multi-cloud App Dev for Java Devs with Microsoft Azu...Oracle CloudWorld 2023 - Multi-cloud App Dev for Java Devs with Microsoft Azu...
Oracle CloudWorld 2023 - Multi-cloud App Dev for Java Devs with Microsoft Azu...
 
GeeCon Prague 2023 - Unleash the power of your applications with Micronaut®, ...
GeeCon Prague 2023 - Unleash the power of your applications with Micronaut®, ...GeeCon Prague 2023 - Unleash the power of your applications with Micronaut®, ...
GeeCon Prague 2023 - Unleash the power of your applications with Micronaut®, ...
 
jPrime 2023 - Revolutionize Java DB AppDev with Reactive Streams and Virtual ...
jPrime 2023 - Revolutionize Java DB AppDev with Reactive Streams and Virtual ...jPrime 2023 - Revolutionize Java DB AppDev with Reactive Streams and Virtual ...
jPrime 2023 - Revolutionize Java DB AppDev with Reactive Streams and Virtual ...
 
Porto Tech Hub Conference 2023 - Revolutionize Java DB AppDev with Reactive S...
Porto Tech Hub Conference 2023 - Revolutionize Java DB AppDev with Reactive S...Porto Tech Hub Conference 2023 - Revolutionize Java DB AppDev with Reactive S...
Porto Tech Hub Conference 2023 - Revolutionize Java DB AppDev with Reactive S...
 
SevillaJUG - Unleash the power of your applications with Micronaut® ,GraalVM...
SevillaJUG - Unleash the power of your applications with Micronaut®  ,GraalVM...SevillaJUG - Unleash the power of your applications with Micronaut®  ,GraalVM...
SevillaJUG - Unleash the power of your applications with Micronaut® ,GraalVM...
 
SKILup Days Container Orchestration - Kubernetes Operators for Databases
SKILup Days Container Orchestration - Kubernetes Operators for DatabasesSKILup Days Container Orchestration - Kubernetes Operators for Databases
SKILup Days Container Orchestration - Kubernetes Operators for Databases
 
TDC Connections 2023 - Revolutionize Java DB AppDev with Reactive Streams and...
TDC Connections 2023 - Revolutionize Java DB AppDev with Reactive Streams and...TDC Connections 2023 - Revolutionize Java DB AppDev with Reactive Streams and...
TDC Connections 2023 - Revolutionize Java DB AppDev with Reactive Streams and...
 
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
TDC Connections 2023 - A High-Speed Data Ingestion Service in Java Using MQTT...
 
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
DTU Global Azure 2023 Bootcamp - Multi-cloud App Dev for Java Developers with...
 
Melee Numerique 2022 - Revolutionize Java DB App Dev with Reactive Streams an...
Melee Numerique 2022 - Revolutionize Java DB App Dev with Reactive Streams an...Melee Numerique 2022 - Revolutionize Java DB App Dev with Reactive Streams an...
Melee Numerique 2022 - Revolutionize Java DB App Dev with Reactive Streams an...
 
JCON OpenBlend Slovenia 2023 - A High-Speed Data Ingestion Service in Java Us...
JCON OpenBlend Slovenia 2023 - A High-Speed Data Ingestion Service in Java Us...JCON OpenBlend Slovenia 2023 - A High-Speed Data Ingestion Service in Java Us...
JCON OpenBlend Slovenia 2023 - A High-Speed Data Ingestion Service in Java Us...
 
DWX23 - Revolutionize Java DB AppDev with Reactive Streams and Virtual Threads
DWX23 - Revolutionize Java DB AppDev with Reactive Streams and Virtual ThreadsDWX23 - Revolutionize Java DB AppDev with Reactive Streams and Virtual Threads
DWX23 - Revolutionize Java DB AppDev with Reactive Streams and Virtual Threads
 
DWX23 - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, and STO...
DWX23 - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, and STO...DWX23 - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, and STO...
DWX23 - A High-Speed Data Ingestion Service in Java Using MQTT, AMQP, and STO...
 
DeveloperWeek Latin America 2023 - A High-Speed Data Ingestion Service in Jav...
DeveloperWeek Latin America 2023 - A High-Speed Data Ingestion Service in Jav...DeveloperWeek Latin America 2023 - A High-Speed Data Ingestion Service in Jav...
DeveloperWeek Latin America 2023 - A High-Speed Data Ingestion Service in Jav...
 
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for DatabasesDeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
DeveloperWeekEnterprise2023 - Introduction to Kubernetes Operators for Databases
 
DevConf.cz - Introduction to Kubernetes Operators for Databases
DevConf.cz - Introduction to Kubernetes Operators for DatabasesDevConf.cz - Introduction to Kubernetes Operators for Databases
DevConf.cz - Introduction to Kubernetes Operators for Databases
 
CloudTalks - Revolutionize Java DB AppDev with Reactive Streams and Virtual T...
CloudTalks - Revolutionize Java DB AppDev with Reactive Streams and Virtual T...CloudTalks - Revolutionize Java DB AppDev with Reactive Streams and Virtual T...
CloudTalks - Revolutionize Java DB AppDev with Reactive Streams and Virtual T...
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Blockchain for Java Developers - Cloud Conference Day

  • 1. Blockchain for Java Developers Juarez Junior Azure Developer Relations Lead Microsoft juarez.junior@microsoft.com Twitter/Medium: @juarezjunior linkedin.com/in/jujunior
  • 2. Juarez Junior – https://twitter.com/juarezjunior - 24 years in IT (professional) + 8 years (amateur) - 9 years of experience in Developer Relations / Community / Mktg - 15 years of experience in core software engineering/architecture - Nokia Developers, Global Champion - IBM Mobile Evangelist & Global Thought Leader - IBM Cloud & Watson Evangelist, IBM Cloud Tech Rockstar Europe - Oracle Developers Director, EMEA Advocacy & Strategy Lead - Microsoft Azure DevRel in Ireland / Microsoft WE HQ - Cloud, DevOps, Java, AI, IoT, Mobile, Blockchain(IBM, Oracle, MSFT)
  • 3.
  • 4. Blockchain technology What is blockchain? Common scenarios
  • 5. The ledger can only be updated by network consensus, and information can’t be altered or deleted without the knowledge of the whole network Everyone in the network has an individual, identical copy Data is stored in a ledger— a record of every transaction Blockchain streamlines these processes by establishing a secure, shared source of truth
  • 6. Blockchain Networks Consortium Woodgrove Financial Contoso Bank Northwind Traders Bank b Insurance c Investment consortium c Bank A Blockchain Location 1 Location 2 Location 3 Location 4 Department A Department B Public blockchain Person a Woodgrove Financial Person B Northwind Traders Bank 6 Bank 1 Consortium 6 Public (permissionless) Consortium (permissioned) Private • Many, unknown participants • Writes by all participants • Reads by all participants • Consensus by Proof of Work • Known participants from one org • Write permissions centralized • Reads may be public or restricted • Multiple algorithms for consensus • Known participants from multiple orgs • Writes require consensus of n participants • Reads may be public or restricted • Multiple algorithms for consensus
  • 8. Transactions, Hashes and Blocks GENESIS BLOCK (must be the root for all on the same chain) Transaction 0 Transaction 1 Transaction 2 Transaction 3 Transaction 4 New Hash + Block0 Hash First Hash New Hash + Block1 Hash New Hash + Block2 Hash 0 seconds ~12 seconds ~24 seconds ~36 seconds
  • 9.
  • 10. Blockchain has broad applications across industries Loyalty tracking Product provenance Logistics management Digital rewards P2P selling Ticket purchases Asset tracking Real-time auction for supplier contracts Supply chain transparency Dynamic commodities pricing Claims management MBS/Property payments Fraud detection Automated underwriting Risk visualizations Licensing and ID Benefits distribution Aid tracking Military security Copyrights Audit compliance Bond issuance Trade finance Loan syndication Post trade settlement Global payments Derivatives trading KYC/AML Personalized medicine Records sharing Compliance Agricultural authentication Pharmaceutical purity Manufacturing Retail Insurance Government Banking and Capital Markets Health
  • 11.
  • 12. Corda - Introduction Corda R3 JVM CORDA BY R3
  • 13. Corda – Technical details JVM-based AMQP JDBC Java Kotlin Token SDK CORDA BY R3
  • 14.
  • 15. Corda – Languages and Tools CORDA BY R3
  • 17. Corda on Azure + Code Samples Corda on Azure — How to deploy and run a demo Corda network Corda on Azure — Deploying a Corda Testnet node Java Kotlin CORDA BY R3
  • 18.
  • 19. Hyperledger Fabric Blockchain • Permissioned, Enterprise • Hyperledger Fabric – open-source protocol for distributed ledger solutions – Provides a permissioned blockchain model with membership services – Offers a modular architecture allowing components, such as consensus and membership services, to be pluggable – Enables pluggable data store, consensus protocols, and multiple providers of membership services – Programmable – leverages containers to host smart contracts – Focuses on a permissioned implementation with confidentiality/privacy provisions – No crypto required • Hosted by The Linux Foundation – Same governance model – Other projects as part of Hyperledger Foundation ecosystem (Indy, Iroha, Sawtooth) HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  • 20. Hyperledger Fabric Blockchain HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  • 21.
  • 22. Hyperledger Fabric – Transaction Flow HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION Client Application Fabric SDK Keys Membership Service Peers Endorser Simulates TX World State Committer Effect changes Ordering Service Certificate Authority Federated Identity 4.0 - Deliver TX Batch Validate Signatures and Authorization Membership Services container Peer container Orderer container Orders TXs into batches according to consensus Container Legend Dev Code 3.0 - Submit Endorsed TX Includes RWset and endorser signatures Ledger 5.0 – Writes ledger block 5.1 - Updates State 6.0 – Commit Notification Fabric Code Smart contract container Smart Contract (Chaincode)
  • 23.
  • 25. Hyperledger on Azure with Azure Kubernetes Service https://medium.com/@juarezjunior/how-to-deploy- your-first-hyperledger-fabric-components-with- azure-kubernetes-service-aks-760563d9d543 Marketplace GitHub QUORUM BLOCKCHAIN BY J.P. MORGAN
  • 26.
  • 27. Transform your business with blockchain on Azure Create smarter and more efficient processes with Azure blockchain offerings Azure Blockchain Service Azure Blockchain Workbench Azure Blockchain Developer Kit Build, govern, and expand consortium blockchain networks Easily prototype blockchain apps in the cloud Connect and integrate to existing apps and move to production
  • 28. Azure Blockchain Development Kit AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
  • 29. End-to-end Github examples that help connect and integrate blockchain with existing apps AZURE BLOCKCHAIN DEVELOPER EXPERIENCE
  • 30. Building an end-to-end blockchain app is a huge undertaking Manually deploy ledger Write business logic Orchestrate signing, hashing and routing Store smart contract reference data Synchronize data with off- chain DB Ingest messages and events Build web client API management Manage keys Customize integrations Extend capabilitie Integrate with existing business apps Configure consortium network Link identities to federated systems
  • 31.
  • 32.
  • 33. Azure is the best cloud for Blockchain Ahead of the competition An open, app-focused approach validated by Gartner, Forrester and many other third-party analysts Thoughtful product portfolio The most open and comprehensive blockchain portfolio to simplify development of this new class of applications Trusted by customers and partners Businesses have built thousands of blockchain apps on Azure working with our rich ecosystem of blockchain partners ​
  • 34. Streamline Blockchain app development AZURE BLOCKCHAIN Xamarin IoT Hub Gateway Service API Transaction Builder + Signer Azure Key Vault Azure SQL database Storage (Azure Ethereum Router Quorum Router Azure Blockchain Service DLT Watcher Event Grid iOS App Android App Ethereum
  • 35. Simple Blockchain governance / management AZURE BLOCKCHAIN SERVICE
  • 37. Join customers and partners building blockchain apps on Azure Partners Customers
  • 38. © Copyright Microsoft Corporation. All rights reserved. Thank You and Q&A!
  • 39. Blockchain for Java Developers Scan this QR-code to access free educational resources, step-by-step learning guides as well as get practical experience in Blockchain! https://aka.ms/AAa4exo Don’t forget to add Microsoft Azure as a skill to your LinkedIn account to stay connected with our developer community! + Microsoft Azure We post the latest announcements about free events for developers on our official Twitter account! twitter.com/MSDev
  • 40.
  • 41.
  • 42. Corda – Key concepts CORDA BY R3
  • 43. Corda – The ledger CORDA BY R3
  • 44. Corda – Transactions and flows CORDA BY R3  Transactions  Flows
  • 45. Corda – Consensus algorithms CORDA BY R3  Verification Consensus  Unique Consensus
  • 46. Corda – Example cash transfer flow CORDA BY R3
  • 47.
  • 48. Corda – Blocks diagram CORDA BY R3
  • 49. Corda – Network components CORDA BY R3  A CORDA network has:
  • 50. Corda – Network components CORDA BY R3  A Corda network has:
  • 51. Corda – Network architecture CORDA BY R3
  • 52. Corda – Cloud network topology CORDA BY R3  A Corda network is:
  • 53. CORDA – Business network (consortium) CORDA BY R3  A Corda consortium is: business client app CorDapp nodes org Doorman Notary  Oracles  Possibly messaging Gateways
  • 54.
  • 55. History of Corda on Azure 2016 Corda solution added to Azure Marketplace 2017 Partnership announced between R3 and Microsoft 2018 Onboarded Insurwave consortium on Azure 2019 Introduced Corda Logic Apps and Flow to help with integration
  • 57. Deploy a Corda Node with VMs Marketplace
  • 58. Corda – Blueprint architecture with VMs on Azure
  • 59.
  • 60. Hyperledger Fabric – Transaction Flow HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION Client Application Fabric SDK Keys Membership Service Peers Endorser Simulates TX World State Committer Effect changes Ordering Service Certificate Authority Federated Identity 4.0 - Deliver TX Batch Validate Signatures and Authorization Membership Services container Peer container Orderer container Orders TXs into batches according to consensus Container Legend Dev Code 3.0 - Submit Endorsed TX Includes RWset and endorser signatures Ledger 5.0 – Writes ledger block 5.1 - Updates State 6.0 – Commit Notification Fabric Code Smart contract container Smart Contract (Chaincode)
  • 61.
  • 62. Hyperledger Fabric - Architecture HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION Distributed Ledger Technology Services APIs, Events, SDKs SMART CONTRACT Chain-code Services AP Membership Services Enrollment Attributes Consensus Services Distributed Ledger Ordering Service Network Protocol Endorsement Validation Secure Container Secure Registry TRANSACTIONSLEDGERIDENTITY Security and Crypto Services
  • 63. Hyperledger Fabric - Architecture HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  • 64. Hyperledger Fabric - Block HYPERLEDGER FABRIC BY HYPERLEDGER FOUNDATION
  • 65.
  • 66. June 18, 2019 | Microsoft News Center
  • 67. Hyperledger on Azure Marketplace Hyperledger Fabric Consortium on Azure Kubernetes Service

Editor's Notes

  1. Hello, my name is Juarez Junior and today I want to talk with you about how you can capitalize on the value of blockchain with Microsoft Azure Blockchain.   Let’s get started.
  2. Note: This slide is animated and requires a click through. Blockchain revolutionizes the establishment of trust by acting as a secure, shared source of trust that exists between cross-party organizations. <click> Blockchain does this by storing a record of every transaction on a ledger, similarly to how someone records data in a spreadsheet or database. <click> But unlike a typical spreadsheet or database, everyone on the blockchain network has their own identical copy of the ledger. And if someone wants to update the record? <click> Before any transaction is added, altered, or deleted, every network member must agree to the change. This immutability makes it theoretically impossible to fraudulently alter data, since all changes must be approved by network consensus. T: By providing a platform for cross-party consensus, blockchain helps enterprise ensure that their data is always telling the truth. <click>
  3. Before we get into how the network does its magic, let’s clear up some complexity. There are 3 types of blockchain network, there are actually just 2, but for the sake of completeness we have 3 here. The first is a public network, this is Bitcoin and Ethereum and Ethereum Classic and Ripple and any other network that some one creates and other join anonymously. The key is openness, anyone can join, no permission required. And anonymity, no one knows who you are and whether your intentions are good or not. The other type is private or consortium. These are essentially the same thing, except with private you might be within a single organisation or conglomerate, but if you can deem value from a blockchain in this case, you really should just call yourselves a consortium. In this model things aren’t open, you can’t just join the network and start mining blocks and making money. On-boarding new members usually entails a governance process of some sort and the consortium itself decides how the nodes on the network communicate. Do we use the open internet? Do we want our own private network over a VPN? The consortium decides. In private or consortium networks there is usually no need for economic incentives for the mining nodes. Some broader, strategic business incentive or return on investment exists to justify the cost of running the network and mining nodes.
  4. When have the ability to just join without permission, we call this Permissionless permissioned ledger, meaning it is a ledger accessible (for reading or for writing) only by known and pre-approved parties. This differs from a permissionless ledger, like Bitcoin and Ethereum, where anyone can read or write to the blockchain
  5. Right, let’s get into this blockchain stuff. To create a new blockchain network, we need the first block. It’s called the genesis block and it holds identifier and configuration information used by the network. But importantly, it holds the first hash, as previously mentioned. This genesis block is also required by any new nodes that need to join the network. They must be provided the genesis block so that they understand the configuration for the network, but also so that they have the first hash and can participate in mining. So this is at time 0, when I start the network, at this point nodes can accept transactions. These transactions could be the creation of accounts, the movement of ether, the creation of a smart contract, any transaction that could change the state of the blockchain. Then, at the time configured for the network, in this example 12 seconds. The network mines the next block. This block is a hash calculated by combining hashes of the transactions executed between the last block and now, plus the hash from the previous block and a nonce (if that is what the consensus algo. requires. The block is accepted by the network and so we have the first two links in our chain, block 0, no transactions and block 1, with 2 transactions and a unique hash that is based on those transactions and, importantly, the previous blocks hash. And so this continues, every 12 seconds in this case, whether there are transactions or not, a block will be generated.
  6. We can connect you with a partner to help stand up your POC or full-fledged blockchain application. Our rich ecosystem of partners have already helped these customers stand up a blockchain solution and they can help you too. T: The Microsoft Azure Blockchain portfolio simplifies your blockchain efforts. <CLICK>