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

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.

主站蜘蛛池模板: 格尔木市| 华亭县| 临洮县| 融水| 高陵县| 和顺县| 大姚县| 凉城县| 扬州市| 呼和浩特市| 闸北区| 泉州市| 邯郸市| 稻城县| 两当县| 明水县| 哈密市| 潜山县| 郧西县| 积石山| 桐城市| 松溪县| 乐安县| 富裕县| 高邮市| 张北县| 建湖县| 巴林左旗| 铜山县| 都江堰市| 大方县| 阿拉善左旗| 台北市| 滁州市| 兴安县| 芜湖县| 塘沽区| 两当县| 清原| 阳高县| 陇川县|