1 Reply Latest reply on Mar 15, 2016 3:13 AM by Lyle Wang

    Jboss EAP 6.4 - Micro service pattern suppport

    Kesava Kota Newbie

      Hi, I am trying first time JBOSS EAP with 6.4. I have to develop micro services in our organization, however want to know if JBOSS supports. If such is there a way to attain it by standalone server or by single jvm server.

      I know micro services are self sustained,independent,isolated containers. Is there any way I can achieve it using JBOSS.

      I heard of docker, which i have never tried, should i really have to use docker for micro service pattern or is it possible with out it.

      Please suggest.

        • 1. Re: Jboss EAP 6.4 - Micro service pattern suppport
          Lyle Wang Novice

          Here is a architecture ref. talking about building microservices app. with EAP 6, along with a detailed example:

          Building microservices with Red Hat JBoss EAP 6 

          (hit the "Download" button on right hand side)

           

          >> I heard of docker, which i have never tried, should i really have to use docker for micro service pattern or is it possible with out it.

          It is totally up to you (your actual requirement / design) whether to adopt Docker or not. It is a way of doing virtualization but you don't necessarily have to use Docker to build up your environment.

          As in the ref. :

          General characteristics of microservices include:

          • Applications are developed as a suite of small services, each running as an independent process in its own logical machine1 (or Linux container)

          • Services are built around capabilities2 : single responsibility principle

          • One can independently replace / upgrade / scale / deploy services

          • Standard lightweight communication is used, often REST calls over HTTP

          • Potentially heterogeneous environments are supported

           

          Virtualization reduces the overhead cost of each logical machine by sharing host resources and is often an acceptable environment for microservices. However, Linux containers and Docker technology in particular have improved on the benefits of virtualization by avoiding the full cost of an operating system and sharing some of host services that would be unnecessarily duplicated in each virtual machine. Docker containers are emerging as the preferred units of deployment for microservices.

           

           

           

          Some more examples you can check how to build microservices with JBoss (EAP) and  Docker

           

          JBoss on Docker At a Glance – Red Hat Developer Blog

          (Watch the video of that "Virtual JBUG" at bottom of this article, hand-on demo starts from 23:50)

           

          Also this one

          https://github.com/bgeorges/microservices/tree/master/eap