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

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.

主站蜘蛛池模板: 吉木萨尔县| 巩义市| 迭部县| 盖州市| 都江堰市| 武城县| 岳普湖县| 临澧县| 普定县| 宁都县| 许昌县| 济阳县| 当雄县| 富锦市| 万源市| 铅山县| 岢岚县| 囊谦县| 芦溪县| 新晃| 屏南县| 化德县| 阳信县| 年辖:市辖区| 阿合奇县| 阿克苏市| 黑龙江省| 专栏| 拉孜县| 六安市| 福贡县| 永年县| 安溪县| 舞阳县| 确山县| 溧阳市| 西城区| 当阳市| 鄢陵县| 望都县| 光山县|