.exe .rpm
static html css
dynamic c or c++ -> cgi-bin
applets -> java run in browser!
2006 - 1st iphone mobile phone
less ram low spec device!
2007 1st android phone! 2007 to 2010 -> google search from mobile devices! 2010 Erci schmidt -> Mobile First!
lots of frameworks!
JSON Standard! Java Console - JDK (.jar) Java Web - J2EE (.war) Spring Framework! -> Spring Core (Console based apps) and Spring MVC (Web Apps) -> Spring REST DI - dependency injection IoC - Inversion of control AOP - Aspect oriented programming!
Maintianable Scalable Readable
REST Api became standard!
Spring Boot! (Auto Configuration!)
Spring Cloud (Microservice)
Spring reactive!
java -jar 001springboot.jar --server.port=1234
2017
Application.java (Spring boot application entry point!) creates handle to the spring container!
Spring container is responsible for lifecycle of all beans!
it will look for components (all beans -> rest controllers, services, interfaces, dao classes, exception class, pojo classes, validation classes, utility classes!) in the same/child package as that of application.java
If beans are in seperate/sibling package, then path of package MUST be supplied to Application.java