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

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.

主站蜘蛛池模板: 册亨县| 平远县| 梓潼县| 开封市| 航空| 德化县| 乐至县| 长治县| 民县| 越西县| 行唐县| 都昌县| 徐闻县| 尼玛县| 连南| 漳浦县| 奈曼旗| 溧阳市| 邹城市| 宜州市| 成武县| 阿克苏市| 枣强县| 襄汾县| 陵川县| 波密县| 柳州市| 常州市| 泸定县| 福清市| 吐鲁番市| 中江县| 喀喇沁旗| 凭祥市| 特克斯县| 冷水江市| 晴隆县| 元朗区| 中超| 屏南县| 绥宁县|