![cloud native java josh long code cloud native java josh long code](https://i.ytimg.com/vi/5z4GXrAmx_I/maxresdefault.jpg)
- Cloud native java josh long code full version#
- Cloud native java josh long code code#
- Cloud native java josh long code zip#
And then I’ll create a mockMvc object which I can use to interact with my REST API without actually having to stand up the whole service. I’ll tell Spring to provide that object as a collaborating object like so. I’ll say private web application context. And naturally this has got to be tested. And all I’m going to do is expose an endpoint that responds to the HTTP verb called GET and responds at forward slash hi. And we’re going to build a simple endpoint here. I just want to have something at which we can iterate. It doesn’t really matter what you use here.
![cloud native java josh long code cloud native java josh long code](https://marvel-b1-cdn.bc0a.com/f00000000156946/www.jrebel.com/sites/rebel/files/image/2019-11/image-blog-building-bootiful-microservices.jpg)
All I’m going to do is I’m going to open a token strawman REST API here.
![cloud native java josh long code cloud native java josh long code](https://res.cloudinary.com/practicaldev/image/fetch/s--EqVitqhI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn-images-1.medium.com/max/1024/1*am2R0KHSgYdw8KOTPk37Hg.png)
Cloud native java josh long code zip#
We’ve got a little zip - a little project here. So we’re going to go ahead and open this up. What, like, cruel and - and war seeking bastards will choose war? But second, who will actually want to choose war. No results? What do you mean no results? This is a big part of my overarching personal guiding philosophy of make jar not war. But if you’re here, with me, in two thousand and sixteen, then choose dot jar. If by some freak fluke of physics, you find yourself stuck in the very, very distant past, far beyond modern help, then choose dot war. And here is a question, a choice that people struggle with, very often, very frequently, I’m going to do my level-headed best to explain when and where to choose which option, right here, right now. In two thousand and sixteen, anything else besides one dot eight isn’t a great choice. So here, for example, we have the version of the JVM we’d like to use. You could make those choices but - but don’t. These are choices in the same way that stripping naked and running in traffic is a choice. And then here, finally, we have what I call non choices. So Scala, Java, Groovy, Kotlin, et cetera. We also have a choice of language, and again, any language with objects and annotations on the JVM will work just fine. We don’t want to choose anything else beyond the web technology. Different things that we could use to support different technologies and use cases.
Cloud native java josh long code full version#
And of course we could elect, if we want, to go down here to switch to the full version and where upon we’ll be given a list of checkboxes. We’re going to use Spring’s web support here. We’re going to call it cdlive and we’re going to take advantage of some technologies that support building applications quickly. What we’re going to do is going to build a very, very simple service. And if you suffer from indigestion and seek relief, start dot spring dot io. If your children are restless and can’t sleep, start dot spring dot io. If you want for inspiration in the early mornings before your cup of tea or coffee, start dot spring dot io. So we’re going to start our journey here at start dot spring dot io. If you haven’t gone, you should go, bring the kids, bring the family. If you aren’t already in production, you should definitely be in production. This is my second favorite place on the internet. We’ll begin out journey to production with start dot spring dot io.
![cloud native java josh long code cloud native java josh long code](https://sylvainleroy.com/wp-content/uploads/2018/09/jvisualvm.png)
Do your thing and then we’ll - we’ll take it further. So first - and that’s the first time I can actually tell it to you to microphone and not shouting from the crowd. What you’re doing in this talk is awesome but it’s not enough. In 10 minutes because you’re so sharp and also because I brought him here to actually say one thing. Instead of 45 minutes, he’s going to do it in 10 seconds. So what Josh is going to do now is the same talk that he does a lot about Spring Boot and microservices.
Cloud native java josh long code code#
Code is very important, so we’ll go to my second favorite place on the internet. So the goal here is to move to a place where we have the ability to go quickly, right, and we’re going to start with code. But as we’ll see soon enough that isn’t nearly enough. And I usually focus on just the application development so we’ll start with that. So what we’re going to do, I think at first, the whole point of this discussion, the whole point of, you know, Baruch and I are all very, very much interested in agility and helping developers get results quickly and so what we’re going to do is we’re going to build a very, very simple application today.