Quick Thoughts on Enterprise Service Bus
Join the DZone community and get the full member experience.Join For Free
there's no perfect definition for esb: the scope and role may vary depending on the needs at hand. one of the most important things that you can do via esb is to
decouple the client from the service providers
esb helps to have:
- a service location transparency
- sharing of services accross the enterprise
- separate the business service from service implementation
the ability to redirect a client request to a particular service provider based on deterministic or variable routing criteria.
types of routing to consider:
- static or deterministic routing
- content based routing
- policy based routing
- complex rules based routing
the ability to transform the client request to the format the service provider expects it. most used transformations are:
- xml -> xml
- xml -> cobol
- object -> xml xml -> json etc.
the ability to enrich,enhance the message that comes as request as the service provide requires.types of message enforcement:
- date format conversion
- data conversion (ex: transform spaces to 0)
- rule based enhancements. (ex: if message is from x add some information to the request)etc.
the ability to accept from the consumer one type of protocol as input (ex soap/jms) and communicate to the service provider other protocol (ex: iiop)
the ability to translate a business service into the corresponding service implementation and provide binding and location information
the ability to manage the coordination of multiple implementation services.
the ability to provide a single unit of work for a business service
request by providing a framework for the coordination of multiple
resources across multiple disparate services
(see more ws – coordination)
the ability to protect enterprise services from unauthorized access
esb should provide 4a’s of security :
Published at DZone with permission of Cristian Chiovari, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.