title: How to share java models between microservices in microservice architecture
body: <p>I am designing the architecture of my new app.I chose microservice architecture.In my architecture I noticed that I have models that are used by diffrent microservices. I want to know if  there is a way to share models code between microservices instaed of writing them in each microservice.</p>
  
  <p>By the way I am using the spring boot framework for my app.</p>