2

I have built a microservices architecture around many spring boot applications. I have 5+ applications. And I have to individually go to each application in eclipse and start them one after another in a specific order.

eclipse running a java application

Is there any way in which I can do this all at once in eclipse? . One click and many java applications run post the successful startup of the previous in a desired order.

Jagadesh
  • 2,104
  • 1
  • 16
  • 28
Saideep Ullal
  • 221
  • 3
  • 16
  • make a bash/shell script? Any reason you run it directly from Eclipse? – jhamon Jan 28 '20 at 10:43
  • Parallel running, on different ports? Or one after the other, ending with the start of the next? – Joop Eggen Jan 28 '20 at 10:43
  • I use eclipse to manage multiple applications more for ease of access. All of them are running on different ports. Not ending with the start of the next – Saideep Ullal Jan 28 '20 at 10:45
  • Consider using Docker and docker-compose. It helped me to launch a bunch of microservices fairly easily, ready for the delivery and also easy to develop in localhost with no dependency on an IDE. – Nikolas Charalambidis Jan 28 '20 at 11:13

1 Answers1

3

You can create a 'Launch group' under 'Run configurations' where you can concatenate them

enter image description here