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

Building and Deploying Microservices

With an understanding of what makes a microservice, we can now take a deep pe into bundling microservices and deploying them. We will make use of the containerization solutions available and see how they can be used when working with this architectural style.

Java EE has a rich set of APIs for building various types of applications. With decades of experience in distributed applications, Java EE is a promising platform for use with microservices. Enterprise features such as transactions, security, web sockets, persistence, messaging, asynchronous processing, Restful APIs, and an ever-growing set of open source tools and libraries, make it a compelling choice.

Here's what we will cover in this chapter:

  • Fat JAR
  • Skinny WAR
  • Examples using Payara Micro
  • MicroProfile:
    • Java EE already has support
    • WildFly Swarm
    • Spring Cloud
  • Docker containers:
    • Working with distributed teams
    • Building custom images
    • Running multiple containers
    • Fat JAR or Skinny WAR with Docker

When building microservices, we have two packaging choices for deploying our service:

  • Fat JAR: An Uber JAR approach which bundles the server runtime in it
  • Skinny WAR: Traditional slim war which is deployed on a server
主站蜘蛛池模板: 左权县| 石阡县| 万源市| 潍坊市| 海口市| 舟曲县| 育儿| 桦川县| 巩义市| 宜城市| 新兴县| 柳江县| 安丘市| 图木舒克市| 馆陶县| 姚安县| 武胜县| 扬州市| 通渭县| 苍山县| 宜兰市| 汶上县| 中宁县| 陵川县| 阳山县| 肇东市| 凤冈县| 虎林市| 新巴尔虎左旗| 南康市| 昌吉市| 永济市| 靖江市| 仁寿县| 永宁县| 沧源| 泰来县| 红安县| 贵定县| 乐东| 大埔区|