microservices - differentiate between maven multi module and Spring micro services? -


i reading spring micro services next project. tut said "the architecture style main application divided in set of sub applications called microservices. 1 large application divided multiple collaborating processes.". have framework maven multi module there separated project in experience. though is. why need micro services separate project?. please differentiate it. in advance..

every service in microservice architecture should isolated means team in charge of service able put continuous deployment in practice without need deploy other services. in practice, imho think can use 2 approaches using our favourite build tool such maven or gradle:

  • monoproject: domain, repositories, services , controllers in same project.

  • multiproject: domain, repositories, services , controllers can grouped in different modules. i.e domain , repositories in repository module , services in module same name , controllers in front module.

but, doesn't matter approach use project (mono or multi) should represent 1 service.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -