Professional Documents
Culture Documents
Service Oriented Architecture: Java Web Services
Service Oriented Architecture: Java Web Services
MODULE-IV
SOAP.
XML-RPC.
JSON-RPC.
REST.
API Example
Eg:
void main()
{
int x,y,z;
Program
X=2,y=3 Logic
Z=x*y;
Printf(“%d”,z);
}
/*z= x+y;
Z=x-y;
Z=x/y;
Z=x% y;*/ ---- software programs
Cont..
Fig.A logical view of the basic relationship between the core parts of a Service-
Oriented Architecture
Relationship Between SOA Layers and Technologies
• We will see how service providers and service requestors within an SOA
can be designed, which leads us to define a service-level architecture.
Business logic
One unit of business logic being encapsulated by two
different service providers
The same unit of business logic facilitating a service provider
and acting on its own by communicating
independently with a separate component
Service Agents
Let's now explore SOA support provided by both J2EE and .NET
platforms.
Architecture components
Runtime environments
Programming languages
APIs
Service providers
Service requestors
Service agents
Platform extensions
SOA support in J2EE
Service Encapsulation
Loose Coupling
Messaging
Support for Service-Orientation Principles
• Anatomy
• Reusability
• Statelessness
• Discoverability
Contemporary SOA Support
• Based on Open Standards
• Supports Vendor Diversity
• Intrinsically Interoperable
• Promotes Federation
• Architecturally Composable
• Extensibility
• Supports Service-Oriented
• Business Modelling
• Logical Level Abstraction
• Organizational Agility and Enterprise
• Wide Loose Coupling
SOA support in .NET