失效链接处理 |
apache camel tutorial PDF 下载
本站整理下载:
相关截图:
主要内容:
Consider a situation where a large online grocery store in your town such as the Bigbasket
in India invites you to design an IT solution for them. The stable and scalable solution will
help them overcome the software maintenance problems they are facing today. This online
store has been running its business for the last decade. The store accepts online orders
for different categories of products from their customers and distributes those to the
respective suppliers. For example, suppose you order some soaps, oil and milk; these
three items will be distributed to the three respective suppliers. The three suppliers will
then send their supplies to a common distribution point from where the entire order will
be fulfilled by the delivery center. Now, let us look at the problem they are facing today.
When this store started its business, it was accepting orders in a comma-separated plain
text file. Over a period of time, the store switched to message-driven order placement.
Later, some software developer suggested an XML based order placement. Eventually, the
store even adapted a web service interface. Now, here comes the real problem. The orders
now come in different formats. Obviously, every time the company upgraded the order
acceptance format, it did not want to break the previously deployed interface so as not to
cause confusions in the customer’s mind.
At the same time, as the business kept on growing, the store periodically added new
suppliers to its repertoire. Each such supplier had its own protocol for accepting orders.
Once again, we face the integration issue; our application architecture must be scalable
to accommodate new suppliers with their unique order placement mechanism.
|