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

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.

主站蜘蛛池模板: 保靖县| 巴里| 淮滨县| 江达县| 浠水县| 蓝田县| 柯坪县| 玛沁县| 武安市| 枞阳县| 南和县| 金沙县| 习水县| 泸水县| 镇平县| 菏泽市| 九江市| 新乐市| 金塔县| 田东县| 白山市| 阿荣旗| 磐安县| 盐池县| 新田县| 侯马市| 大新县| 三穗县| 定边县| 双城市| 安西县| 东宁县| 渝北区| 绩溪县| 金阳县| 桦甸市| 陇西县| 温泉县| 仪征市| 平江县| 洞头县|