官术网_书友最值得收藏!

Microservices are autonomous

Microservices are self-contained, independently deployable, and autonomous services that take full responsibility of a business capability and its execution. They bundle all dependencies including the library dependencies; execution environments, such as web servers and containers; or virtual machines that abstract the physical resources.

One of the major differences between microservices and SOA is in its level of autonomy. While most of the SOA implementations provide the service-level abstraction, microservices go further and abstract the realization and the execution environment.

In traditional application developments, we build a war or a ear, then deploy it into a JEE application server, such as JBoss, Weblogic, WebSphere, and more. We may deploy multiple applications into the same JEE container. In the microservices approach, each microservice will be built as a fat jar embedding all dependencies and run as a standalone Java process:

Microservices may also get their own containers for execution, as shown in the preceding diagram. Containers are portable, independently manageable, and lightweight runtime environments. Container technologies, such as Docker, are an ideal choice for microservices deployments.

主站蜘蛛池模板: 高邑县| 塔城市| 勐海县| 新化县| 中山市| 舒城县| 宝清县| 新绛县| 曲阳县| 吴堡县| 仪征市| 文水县| 玛沁县| 罗江县| 佳木斯市| 农安县| 巴楚县| 昌吉市| 永嘉县| 德格县| 朝阳区| 滕州市| 安西县| 桦南县| 青神县| 武邑县| 全州县| 吉木乃县| 寻甸| 新巴尔虎左旗| 白玉县| 南投县| 福海县| 皮山县| 稷山县| 定结县| 乐都县| 黄陵县| 类乌齐县| 佛冈县| 肇源县|