The term “Microservices” has risen over the last few years describing a way to design software applications as independently deployable services.
When people say, “Spring Boot does everything”, it’s not clear what “everything” is.
If you are a java developer, there is a high probability that you have heard about spring or even used it in a few of your projects. Spring framework was created primarily as a Dependency Injection container but it is much more than that.
What is Spring ?
Spring is a framework that helps you to “wire” different components together. It is most useful in cases where you have a lot of components and you might decide to combine them in different ways, or wish to make it easy to swap out one component for another depending on different settings or environments.
In order for a computer to be able to store text and numbers that humans can understand, there needs to be a code that transforms characters into numbers. TheUnicode standard defines such a code by using character encoding.
Somebody asked a question : How to explain dependency injection to a 5-year old?
Well, sounds like that kid’s in for a hard life…
I suggest, start with “Once upon a time” 😛
Use Apache Tomcat. It is free.
I don’t understand why firms spend millions of dollars on Java application servers like Oracle Weblogic or IBM WebSphere Application Server. I get why firms spend money on Red Hat JBoss — they want …
Often, I here about an interview question being asked that is “What is composition and aggregation ?” Or “What is the difference between composition and aggregation ?”
And trust me if you don’t know already, a lot of people (sometimes experienced developers) get stuck on this question.
This is one of the basic question asked in interviews or in gatherings of professionals.
So here we go,
Main method is static in java because
This is just a convention. In fact, even the name main(), and the arguments passed in are purely convention.