Reputation: 11
I have four micro services as below(names changed),
However, while developing I am feeling difficulty in starting/deploying all the application.
Also there is a strong reason to do this. Our client has already purchased Weblogic 12c Enterprise Edition. He is reluctant to pay for infrastructure cost incur for deploying microservices. He wants us to follow Monolithic architecture and configure the cluster for the better performance.
Is there a way to put all above micro services(jars) into a war so that we deploy single war?
Thanks in advance.
Upvotes: 1
Views: 846
Reputation: 1905
Yes you can do that But Its look like you are moving away from the microservice
architecture
You can create new Spring boot application and add all microservice dependency into new application.
Take care below point as well
@ComponentScan(basePackages =
@EnableJpaRepositories(basePackages=
Upvotes: 1