Note: public static void main() is only needed for stand-alone applications and not for web applications.
Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. It can isolate
- Session Factory maintains Connection Pooling.
- Connection pooling means that connections are reused rather than created each time a connection is requested. To facilitate connection reuse, a memory cache of database connections, called a connection pool, is maintained by a connection pooling module as a layer on top of any standard JDBC driver product.
3 Layers for any Application
- @Controller Layer - Accept/Take values
- @Service Layer - Business Logic
- @DB Layer - Database Manipulation
More like a set of conventions rather than a module. Useful for interactions with the RDBMS.
- Spring Core (IOC, DI)
- Spring Annotations (@Controller, @RequestMapping)
- Spring DAO
- Spring MVC (Web Application)
- Maven (Build tool)
- Spring Boot
- Spring Boot WebService (@RestController)
- Spring Boot with JPA
- Spring Boot with DataJPA
-
Inversion of Control (IOC) Giving control to the container to get an instance of the object, IOC means instead of you creating object using the new operator, let the container do that for you.
-
Dependency Injection (DI) Way of injecting properties to an object. Spring has 2 ways i.e. Constructor Injection & Setter Injection categorized on the basis of the method that is calling the object.
- @Autowired
- @Controller
- @RequestMapping
- @SpringBootApplication
- Spring Jar files version
- More configurations steps for DB
- Tomcat Server installation and configuration
- No need for jar files,
- No configuration files required, only application.properties file,
- Working with Annotations,
- Can work with stand-alone Applications,
SpringBoot Utilizes:
- Maven
- Eclipse STS
- Tomcat Server
- @RestController (for HTTP methods)
- PBL Lectures & implement employee management full app
- Refer Home Insurance App for standards
- Create documents
- Analyze modules (major features)
- Assign modules both Spring and Angular
- Start with Spring Boot - Data JPA backend & Test with Postman
- After awhile start Angular development
Final Requirements
- Documentation (All diagrams as well)
- class diagrams
- sequence and flow diagrams