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

  • Spring Microservices
  • Rajesh RV
  • 133字
  • 2021-07-02 16:28:29

Moving from traditional web applications to microservices

Carefully examining the preceding RESTful service will reveal whether this really constitutes a microservice. At first glance, the preceding RESTful service is a fully qualified interoperable REST/JSON service. However, it is not fully autonomous in nature. This is primarily because the service relies on an underlying application server or web container. In the preceding example, a war was explicitly created and deployed on a Tomcat server.

This is a traditional approach to developing RESTful services as a web application. However, from the microservices point of view, one needs a mechanism to develop services as executables, self-contained JAR files with an embedded HTTP listener.

Spring Boot is a tool that allows easy development of such kinds of services. Dropwizard and WildFly Swarm are alternate server-less RESTful stacks.

主站蜘蛛池模板: 宣威市| 麟游县| 泾川县| 大田县| 巴中市| 渝北区| 香河县| 乌恰县| 江北区| 兰考县| 宝坻区| 溆浦县| 凯里市| 拜城县| 新竹县| 东城区| 沽源县| 平远县| 天峨县| 都江堰市| 拜城县| 关岭| 广河县| 仁怀市| 涟水县| 壶关县| 白朗县| 松滋市| 徐汇区| 当雄县| 保康县| 娄烦县| 静安区| 安多县| 建湖县| 靖远县| 新化县| 桃园市| 榆树市| 阳春市| 玛沁县|