Practical Web Service Design and Development. Revathi R Sonata Software. Topics Covered. Why Web Services? Web Services – Key perspectives Difference between Service Design and OO Design Different scenario Service Design Principles Web Service Development Framework
Why Web Services?
Web Services – Key perspectives
Difference between Service Design and OO Design
Service Design Principles
Web Service Development Framework
Web Service Design and Development Best Practices
Identified by a URI
Interfaces defined using XML
Can be DISCOVERED by other systems
Security is very expensive – One size fit all will not work!
Require authentication on every request
Authenticate once and use a token
Restrict token validity
JSON-RPC for light transfer across the network!
And there is POX!
Check the Business and Technology Goals and Convince yourself if Web Service is the only way to go!
Keep it Simple !
Prioritize the Design Principles.
Use Appropriate Messaging and Protocol Standards
Ensure WS-I Basic Profile Conformance
Follow Pre defined, understandable , Intuitive Naming Conventions
Always include a version parameter
Design Fault Messages for Possible Error Conditions
Improve Productivity by Using Tools
Reuse the Legacy!
Go for Late Binding only if absolutely necessary
Design your SOA with a foreknowledge of emerging speciﬁcations
After all Users need a service to be -