Solved - Static Resources(css/js/images) Not Found(404) Solved - Static Resources(css/js/images) Not Found(404)Problem Solution Add following config into /WEB-INF/spring-mvc-crud-demo-servlet.xml 12<!-- Add support for reading web resources: css, images 2021-02-08 Spring & Hibernate Hibernate SpringMVC Troubleshooting
Spring Security Spring Security - OverviewModel Spring Security defines a framework for Security. Implmented using Servlet filters in the background. Two methods of securing a Web app: Declarative and Programmatic. 2021-02-08 Spring & Hibernate SpringSecurity
Maven Overview Maven Overview Dependency Management Building and Running your project Standard directory structure POM FileProject Object Model file: POM file StructureProject Meta Data Project name, version Output 2021-01-21 Maven Maven
Solved - Cannot find javax.validation Problem [Solved]Cannot find javax.validation problemProblemHaving copied and pasted Hibernate Validation jar files into WEB-INF/lib, still cannot find @NotNull and @Size annotations, and cannot resovle these 2021-01-19 Spring & Hibernate Hibernate
Hibernate What is Hibernate?A framework for persisting / saving Java objects in a database. Benefits of Hibernate Handles all of the low-level SQL. Minimizes the amount of JDBC code you have to develop. Provide 2021-01-17 Spring & Hibernate Hibernate
Spring MVC Spring MVC Overview Framework for building web application in Java. Based on Model-View-Controller design pattern. Leverages features of the Core Spring Framework (IoC, DI). Components A set of web 2021-01-15 Spring & Hibernate Spring
Configure with Java Code Configure with Java Code Create a Java Class and annotate as @Configuration Add Component scanning support: @ComponentScan (Optional) Read Spring Java configuration class Retrieve bean from Spring con 2021-01-13 Spring & Hibernate Spring
Spring Bean Scopes and Lifecycle Spring Bean Scopes and LifecycleBean Scopes1234<bean id="myCoach" class="com.luv2code.spring.demo.TrackCoach" scope="prototype"></bean> Singleton - 2021-01-13 Spring & Hibernate Spring
Configure with Java Annotations Java AnnotationsMeta-data about the class. Processed aannotations at compile time and run time. Inversion of ControlDevelopment Process Enable component canning in Spring config file Spring will scan 2021-01-12 Spring & Hibernate Spring
Dependency Injection - XML Configuration Dependency InjectionDependency = Helper How Spring Processes the Config File Injection TypesConstructor Injection1. Define the dependency interface and class 2. Create a constructor in your class fo 2021-01-06 Spring & Hibernate Spring