Skip to main content

Spring Framework Introduction & Architecture

Learn Spring Framework Introduction & Architecture (Spring Framework Fundamentals, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What Problem Was Spring Written to Solve? Spring did not appear because someone wanted another framework. It appeared because the official way of building enterprise Java in 2002 had become unusable. That official way was EJB 2 (Enterprise JavaBeans). To write one component that saved a customer to a database, you had to write a home interface, a remote interface, a bean class, and an XML deployment descriptor - four files before a single line of business logic. The bean class had to implement a container interface, so it could only run inside a full application server. You could not test it...

More lessons in Spring Framework Fundamentals