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

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.

主站蜘蛛池模板: 景德镇市| 改则县| 兴国县| 达拉特旗| 井陉县| 神木县| 永福县| 安多县| 景洪市| 揭西县| 淳安县| 晋州市| 高要市| 邹城市| 响水县| 新津县| 盱眙县| 泸溪县| 鄂州市| 社会| 梧州市| 大厂| 阳西县| 沈阳市| 富平县| 新巴尔虎右旗| 成都市| 南汇区| 安阳市| 白朗县| 隆化县| 余干县| 富裕县| 宁德市| 德格县| 乐业县| 铜梁县| 桂阳县| 库尔勒市| 舒兰市| 沈阳市|