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

  • 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.

主站蜘蛛池模板: 达州市| 南川市| 肥城市| 尼勒克县| 巴林左旗| 辉南县| 济南市| 平果县| 隆子县| 墨脱县| 四子王旗| 抚远县| 三江| 云霄县| 当涂县| 多伦县| 荣昌县| 南京市| 介休市| 凤翔县| 巴南区| 辽阳市| 平谷区| 新干县| 千阳县| 游戏| 湖南省| 浪卡子县| 德阳市| 苏尼特左旗| 阿克陶县| 邛崃市| 元江| 崇礼县| 禄劝| 乃东县| 伊通| 白朗县| 永新县| 深水埗区| 绥江县|