简体   繁体   中英

How to run two spring boot application on a same jvm?

The problem is what the title has described.

I have googled a lot.But the solution I found are a little old and not very useful for me.

I want to see the demo code and know the principle.

Any one can help? Really Thx.

(1) Deploy 2 WARs in a web container

You could build both spring boot projects as WARs and deploy them in the same web container. Take a look at:

(2) Online tutorial on the matter

Otherwise, take a look at this tutorial : http://www.davidtanzer.net/running_multiple_spring_boot_apps_in_the_same_jvm

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM