SlideShare une entreprise Scribd logo
1  sur  7
Written By: Pankaj Srivastava
Email: - PankajShrivastav6@gmail.com
What are SOA, Services and Messages in
Software Development?
Before we talking about SOA and its Principal what will do we’ll move back
to 1980 where people talk in terms of functional Programming so people
coded in terms of functions and they also put down some best practices like
top down approach in another words always entered function like example
below:-
Functional Programming, top to down Approach 1980
function sum()
{
Int num1=Console.Readline();
Int num2=Console.Readline();
Console.WriteLine(AddNum(num1,num2))
}
function AddNum(int num1,int num2)
{
Int total=num1+num2;
}
//so here is always go to top to down function
Everything was good in functional Programming but there are big issues
with functional Programming.
First was Maintainability or I can say rather understanding somebody else
code.
Second was Reusability it is not the point is reusability was not there for
example if you take up a C language you can reuse a function by putting
that into c file and then using include keywords but it was physical include,
so in another words you need to include whole file with the main source
code which needs to basically reuse the program of the function so the
reusability was not so flexible and first important was maintainability .
So, People move towards 1990s and the reusability was the agenda
The Reusability Agenda 1990s, OOPS
So here people said let’s talk in terms of Object of real world, So here
people started thinking in terms of classes and Objects so basically you can
create a class and then reuse the class again and again by creating object of
that
Class for example:-
Students
Address
Collection of address
Classes
Student_Info.
So example here I can create object of Students Class and reuse it again and
again. Everything was well in 1990 but one of the point which we forget to think
about was that the classes should also needs to interact outside the application so
for example:-
You can make a class in .NET but if you want to call that class using java it was
very difficult because every company like .NET Belongs to MICROSOFT and JAVA
Class
Voucher
Class
Journals
Class
Database
Class
Print
Made In .NET
Accounting Application
Class
Voucher
Class
Journals
Class
Journals
Class
Journals
Invoicing Application
Made In JAVA
Need to Communicate
How ??
Belongs to Sun microsystem, So everybody have their own propriety the way of
Compiling Programs and Due to this it was very difficult to call classes made in
one language to another language so people said that defiantly this is the
problem and they said let’s think in terms of MESSAGES.
Issue with the OOP’s Approach is that cross interoperability between languages
does not exist.
So people started thinking in terms of Messages in 2000 era, people said let’s not
talk in terms of object, classes ,propriety compilers and so on ,let’s talk in terms
of message now this message can be in form of xml or in form of csv or in form of
JSON object, whatever it is
So basically if you want to call about .Net function or if you want to access the
Voucher class so the java application can send XML message and .NET can read
that xml Message and create an object of the Voucher class, So with this came in
loose coupling ,So now either .net or either Java don’t need to think in terms of
Class
Voucher
Class
Journals
Class
Database
Class
Print
Accounting Application
Class
Voucher
Class
Journals
Class
Journals
Class
Journals
Invoicing Application
XML/JSON
Messages
Made in JAVAMade in .NET
their classes,objects,dlls,and there compiling methodology they need to only
think in terms of messages and then the programming industry decided that lets
do one thing let’s take up this messages and make them more standardize so then
we can interopt between any Programming language.
One more thinking was change other that the messages which we need to think in
terms of Services.
So what are the Services??
Services are nothing it’s a logical encapsulation of self-contained business
functionality.
So here I have three Services
Now basically I can take up the kitchen and attached to a one bedroom Or I can
take up the kitchen and attached to some hotel Room, So in other words kitchen
is self-contained Business functionality, Second I can change the waiter without
even thinking about kitchen or either I can replace a waiter to another waiter
without changing kitchen .
So the other aspect of self-contained business functionality, we should be able to
change and modify those services without even without affecting other services
in isolated manner.
So important thing to understand that Services are not the classes or any
components or not a namespaces or not a group of classes.
But they are self contains working business functionality So these two terms
Services and messages are nothing it’s a building block of Service Oriented
Architecture.
Counter Kitchen Waiter
What are the Standard and characteristics Services and Messages Should
Follow?
1. Services should be self-contained and it should communicate using
messaged.
2. Services should be able to define themselves.
3. Service should be maintained in repository where we can find them
4. Message format should be standard and work across the platform
e.g. Microsoft follows SOAP
5. Message should be able to communicate async., reliably and in a secured
way
+
SERVICES  Self-Contained
 Communicate using messages
Messages
 Follow industry Standard
 Cross Platform
 Asynchronous
 Reliable
 Secured
 Describe and Discover Services.
=
THANKS!!!!!!
SOA
SOA is an architectural style for
building business applications using
loosely coupled services which act
like black boxes, and can be
arrange to achieve a specific
functionality by linking together.

Contenu connexe

Dernier

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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

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)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Service orented archtecture

  • 1. Written By: Pankaj Srivastava Email: - PankajShrivastav6@gmail.com What are SOA, Services and Messages in Software Development? Before we talking about SOA and its Principal what will do we’ll move back to 1980 where people talk in terms of functional Programming so people coded in terms of functions and they also put down some best practices like top down approach in another words always entered function like example below:- Functional Programming, top to down Approach 1980 function sum() { Int num1=Console.Readline(); Int num2=Console.Readline(); Console.WriteLine(AddNum(num1,num2)) } function AddNum(int num1,int num2) { Int total=num1+num2; } //so here is always go to top to down function
  • 2. Everything was good in functional Programming but there are big issues with functional Programming. First was Maintainability or I can say rather understanding somebody else code. Second was Reusability it is not the point is reusability was not there for example if you take up a C language you can reuse a function by putting that into c file and then using include keywords but it was physical include, so in another words you need to include whole file with the main source code which needs to basically reuse the program of the function so the reusability was not so flexible and first important was maintainability . So, People move towards 1990s and the reusability was the agenda The Reusability Agenda 1990s, OOPS So here people said let’s talk in terms of Object of real world, So here people started thinking in terms of classes and Objects so basically you can create a class and then reuse the class again and again by creating object of that Class for example:- Students Address Collection of address Classes Student_Info.
  • 3. So example here I can create object of Students Class and reuse it again and again. Everything was well in 1990 but one of the point which we forget to think about was that the classes should also needs to interact outside the application so for example:- You can make a class in .NET but if you want to call that class using java it was very difficult because every company like .NET Belongs to MICROSOFT and JAVA Class Voucher Class Journals Class Database Class Print Made In .NET Accounting Application Class Voucher Class Journals Class Journals Class Journals Invoicing Application Made In JAVA Need to Communicate How ??
  • 4. Belongs to Sun microsystem, So everybody have their own propriety the way of Compiling Programs and Due to this it was very difficult to call classes made in one language to another language so people said that defiantly this is the problem and they said let’s think in terms of MESSAGES. Issue with the OOP’s Approach is that cross interoperability between languages does not exist. So people started thinking in terms of Messages in 2000 era, people said let’s not talk in terms of object, classes ,propriety compilers and so on ,let’s talk in terms of message now this message can be in form of xml or in form of csv or in form of JSON object, whatever it is So basically if you want to call about .Net function or if you want to access the Voucher class so the java application can send XML message and .NET can read that xml Message and create an object of the Voucher class, So with this came in loose coupling ,So now either .net or either Java don’t need to think in terms of Class Voucher Class Journals Class Database Class Print Accounting Application Class Voucher Class Journals Class Journals Class Journals Invoicing Application XML/JSON Messages Made in JAVAMade in .NET
  • 5. their classes,objects,dlls,and there compiling methodology they need to only think in terms of messages and then the programming industry decided that lets do one thing let’s take up this messages and make them more standardize so then we can interopt between any Programming language. One more thinking was change other that the messages which we need to think in terms of Services. So what are the Services?? Services are nothing it’s a logical encapsulation of self-contained business functionality. So here I have three Services Now basically I can take up the kitchen and attached to a one bedroom Or I can take up the kitchen and attached to some hotel Room, So in other words kitchen is self-contained Business functionality, Second I can change the waiter without even thinking about kitchen or either I can replace a waiter to another waiter without changing kitchen . So the other aspect of self-contained business functionality, we should be able to change and modify those services without even without affecting other services in isolated manner. So important thing to understand that Services are not the classes or any components or not a namespaces or not a group of classes. But they are self contains working business functionality So these two terms Services and messages are nothing it’s a building block of Service Oriented Architecture. Counter Kitchen Waiter
  • 6. What are the Standard and characteristics Services and Messages Should Follow? 1. Services should be self-contained and it should communicate using messaged. 2. Services should be able to define themselves. 3. Service should be maintained in repository where we can find them 4. Message format should be standard and work across the platform e.g. Microsoft follows SOAP 5. Message should be able to communicate async., reliably and in a secured way + SERVICES  Self-Contained  Communicate using messages Messages  Follow industry Standard  Cross Platform  Asynchronous  Reliable  Secured  Describe and Discover Services.
  • 7. = THANKS!!!!!! SOA SOA is an architectural style for building business applications using loosely coupled services which act like black boxes, and can be arrange to achieve a specific functionality by linking together.