From the course: Creating Spring Boot Microservices
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Build, deploy, and launch the microservice - Spring Boot Tutorial
From the course: Creating Spring Boot Microservices
Build, deploy, and launch the microservice
- [Instructor] So here is our IDE and we're on branch 02_03. And here all of our code is there. So let's actually build this. Make sure you're in the proper folder. I'm going to explorecali-JPA. And now, let's compile it. It's going to build, it's going to run the built-in J unit test, which we'll talk about another time. And it built to success. Let's look in the target folder. And there's our jar, this is a fat jar. Everything is in that one jar file that we need to run. So let's run it. We will run that, so we see a message about spring. A lot of thing, initializing going on here. Move this out of the way, we see a message that Tomcat, which is our web server, is started on port 8080. That's what I was saying, the Tomcat web server is bundled within the application within the JVM of this jar. And the last message we know is a started explore cali application. I'm going to go to another terminal, and I'm going to issue the curl command and localhost 8080. So this is a port within…