├── .gitignore ├── Spring_MVC ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ └── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ ├── web.xml │ │ ├── view │ │ ├── login.jsp │ │ └── home.jsp │ │ └── spring-servlet.xml ├── target │ ├── m2e-wtp │ │ └── web-resources │ │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.spring.mvc │ │ │ └── Spring_MVC │ │ │ └── pom.properties │ └── classes │ │ └── com │ │ └── spring │ │ └── mvc │ │ └── controller │ │ └── HomeController.class └── .project ├── 6_Spring_MVC_Form ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ │ ├── view │ │ │ └── home.jsp │ │ │ ├── web.xml │ │ │ └── spring-servlet.xml │ │ └── java │ │ └── com │ │ └── springmvc │ │ └── HomeController.java ├── target │ ├── classes │ │ └── com │ │ │ └── springmvc │ │ │ ├── entity │ │ │ └── User.class │ │ │ └── HomeController.class │ └── m2e-wtp │ │ └── web-resources │ │ └── META-INF │ │ ├── MANIFEST.MF │ │ └── maven │ │ └── com.springmvc │ │ └── 6_Spring_MVC_Form │ │ └── pom.properties └── pom.xml ├── 8_SpringMVC_ORM ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── WEB-INF │ │ │ ├── resources │ │ │ │ ├── js │ │ │ │ │ └── script.js │ │ │ │ ├── img │ │ │ │ │ └── a.png │ │ │ │ └── css │ │ │ │ │ └── style.css │ │ │ ├── view │ │ │ │ ├── error.jsp │ │ │ │ ├── success.jsp │ │ │ │ ├── file_success.jsp │ │ │ │ └── file_upload.jsp │ │ │ └── web.xml │ │ └── index.jsp │ │ └── java │ │ └── com │ │ └── springmvc │ │ ├── service │ │ ├── UserService.java │ │ └── UserServiceImpl.java │ │ ├── dao │ │ └── UserDao.java │ │ └── exception │ │ └── CustomExceptionHandler.java └── target │ ├── classes │ └── com │ │ └── springmvc │ │ ├── dao │ │ └── UserDao.class │ │ ├── entity │ │ └── User.class │ │ ├── service │ │ ├── UserService.class │ │ └── UserServiceImpl.class │ │ ├── controller │ │ └── Homcontroller.class │ │ └── exception │ │ └── CustomExceptionHandler.class │ └── m2e-wtp │ └── web-resources │ └── META-INF │ ├── MANIFEST.MF │ └── maven │ └── com.springmvc │ └── 8_SpringMVC_ORM │ └── pom.properties ├── Enotes_Tracker ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ │ ├── resources │ │ │ ├── img │ │ │ │ ├── nts.jpg │ │ │ │ └── nts2.png │ │ │ └── component │ │ │ │ └── all_link.jsp │ │ │ ├── view │ │ │ ├── profile.jsp │ │ │ └── home.jsp │ │ │ └── web.xml │ │ └── java │ │ └── com │ │ └── becoder │ │ ├── dao │ │ └── UserDao.java │ │ └── config │ │ └── AuthHandler.java ├── target │ ├── classes │ │ └── com │ │ │ └── becoder │ │ │ ├── dao │ │ │ ├── UserDao.class │ │ │ └── UserDaoImpl.class │ │ │ ├── entity │ │ │ ├── User.class │ │ │ └── Notes.class │ │ │ ├── config │ │ │ └── AuthHandler.class │ │ │ └── controller │ │ │ ├── HomeController.class │ │ │ └── UserController.class │ └── m2e-wtp │ │ └── web-resources │ │ └── META-INF │ │ ├── MANIFEST.MF │ │ └── maven │ │ └── com.becoder │ │ └── Enotes_Tracker │ │ └── pom.properties └── .project ├── 10_Emp_Crud_Project ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ │ ├── view │ │ │ └── profile.jsp │ │ │ └── web.xml │ │ └── java │ │ └── com │ │ └── becoder │ │ └── dao │ │ ├── UserDao.java │ │ └── EmpDao.java └── target │ ├── classes │ └── com │ │ └── becoder │ │ ├── dao │ │ ├── EmpDao.class │ │ ├── UserDao.class │ │ ├── EmpDaoImpl.class │ │ └── UserDaoImpl.class │ │ ├── entity │ │ ├── Emp.class │ │ └── User.class │ │ ├── controller │ │ └── HomeController.class │ │ └── intecpetor │ │ └── AuthInterceptor.class │ └── m2e-wtp │ └── web-resources │ └── META-INF │ ├── MANIFEST.MF │ └── maven │ └── com.becoder │ └── 10_Emp_Crud_Project │ └── pom.properties ├── 7_Register_Form_JDBC ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ │ ├── view │ │ │ ├── home.jsp │ │ │ └── success.jsp │ │ │ └── web.xml │ │ └── java │ │ └── com │ │ └── springmvc │ │ ├── service │ │ ├── UserService.java │ │ └── UserServiceImpl.java │ │ └── dao │ │ └── UserDao.java └── target │ ├── classes │ └── com │ │ └── springmvc │ │ ├── dao │ │ └── UserDao.class │ │ ├── entity │ │ └── User.class │ │ ├── service │ │ ├── UserService.class │ │ └── UserServiceImpl.class │ │ └── controller │ │ └── HomeController.class │ └── m2e-wtp │ └── web-resources │ └── META-INF │ ├── MANIFEST.MF │ └── maven │ └── com.springmvc │ └── 7_Register_Form_JDBC │ └── pom.properties ├── 9_Spring_Inteceptor ├── .settings │ ├── org.eclipse.wst.jsdt.ui.superType.name │ ├── org.eclipse.wst.validation.prefs │ ├── org.eclipse.wst.jsdt.ui.superType.container │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.wst.common.project.facet.core.xml │ ├── org.eclipse.jdt.core.prefs │ ├── .jsdtscope │ └── org.eclipse.wst.common.component ├── src │ └── main │ │ ├── webapp │ │ ├── WEB-INF │ │ │ ├── resources │ │ │ │ ├── js │ │ │ │ │ └── script.js │ │ │ │ ├── img │ │ │ │ │ └── a.png │ │ │ │ └── css │ │ │ │ │ └── style.css │ │ │ ├── web.xml │ │ │ └── view │ │ │ │ ├── profile.jsp │ │ │ │ └── home.jsp │ │ └── index.jsp │ │ └── java │ │ └── com │ │ └── springmvc │ │ └── controller │ │ ├── User.java │ │ ├── Homcontroller.java │ │ └── UserController.java ├── target │ ├── m2e-wtp │ │ └── web-resources │ │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.springmvc │ │ │ └── 9_Spring_Inteceptor │ │ │ └── pom.properties │ └── classes │ │ └── com │ │ └── springmvc │ │ └── controller │ │ ├── User.class │ │ ├── Homcontroller.class │ │ ├── UserController.class │ │ └── AuthHandlerInceptor.class └── pom.xml ├── AAA ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── jdbc │ │ │ ├── StudentDao.java │ │ │ ├── JavaConfig.java │ │ │ ├── Student.java │ │ │ └── config.xml │ │ │ ├── Action.java │ │ │ ├── config │ │ │ ├── Address.java │ │ │ ├── Student.java │ │ │ ├── App.java │ │ │ └── Config.java │ │ │ ├── orm │ │ │ ├── StudentDao.java │ │ │ ├── App.java │ │ │ └── Student.java │ │ │ ├── App.java │ │ │ └── Shyam.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── App.class │ │ │ │ ├── Ram.class │ │ │ │ ├── Shyam.class │ │ │ │ ├── Action.class │ │ │ │ ├── orm │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ └── StudentDao.class │ │ │ │ ├── config │ │ │ │ ├── App.class │ │ │ │ ├── Address.class │ │ │ │ ├── Config.class │ │ │ │ └── Student.class │ │ │ │ └── jdbc │ │ │ │ ├── App$1.class │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ ├── JavaConfig.class │ │ │ │ ├── StudentDao.class │ │ │ │ └── config.xml │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── AAA │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── .project └── .classpath ├── ORM ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── xml │ │ │ │ └── App.class │ │ │ │ ├── model │ │ │ │ └── Student.class │ │ │ │ └── javaconfig │ │ │ │ └── config.class │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── 5_Spring_ORM │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── .project ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── xml │ │ │ └── App.java │ │ │ └── model │ │ │ └── Student.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java └── .classpath ├── 1_Spring_Core ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── App.class │ │ │ │ ├── ci │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ ├── Certificate.class │ │ │ │ └── config.xml │ │ │ │ ├── ref │ │ │ │ ├── App.class │ │ │ │ ├── Address.class │ │ │ │ ├── Student.class │ │ │ │ └── config.xml │ │ │ │ ├── collection │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ └── config.xml │ │ │ │ └── primitive │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ └── config.xml │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── Spring_Core │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── App.java │ │ │ ├── ref │ │ │ ├── Address.java │ │ │ ├── Student.java │ │ │ ├── App.java │ │ │ └── config.xml │ │ │ ├── ci │ │ │ ├── App.java │ │ │ ├── Certificate.java │ │ │ └── config.xml │ │ │ ├── collection │ │ │ ├── App.java │ │ │ ├── config.xml │ │ │ └── Student.java │ │ │ └── primitive │ │ │ ├── App.java │ │ │ ├── Student.java │ │ │ └── config.xml │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath ├── 4_Spring_JDBC ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ │ └── com.becoder │ │ │ │ └── 4_Spring_JDBC │ │ │ │ └── pom.properties │ │ └── com │ │ │ └── becoder │ │ │ ├── xml │ │ │ └── App.class │ │ │ ├── dao │ │ │ ├── StudentDao.class │ │ │ ├── StudentDaoImpl$1.class │ │ │ ├── StudentDaoImpl$2.class │ │ │ └── StudentDaoImpl.class │ │ │ ├── javaconfig │ │ │ ├── App.class │ │ │ └── config.class │ │ │ └── model │ │ │ └── Student.class │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── dao │ │ │ └── StudentDao.java │ │ │ └── model │ │ │ └── Student.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath ├── 5_Spring_ORM ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── App.class │ │ │ │ ├── Student.class │ │ │ │ └── dao │ │ │ │ ├── StudentDao.class │ │ │ │ └── StudentDaoImpl.class │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── 5_Spring_ORM │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── dao │ │ │ └── StudentDao.java │ │ │ └── Student.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath ├── Spring_App ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ │ └── com.becoder │ │ │ │ └── Spring_App │ │ │ │ └── pom.properties │ │ └── com │ │ │ └── becoder │ │ │ └── Spring_App │ │ │ ├── App.class │ │ │ ├── Ram.class │ │ │ ├── Action.class │ │ │ ├── Shyam.class │ │ │ └── config.xml │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── Spring_App │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ └── Spring_App │ │ │ ├── Action.java │ │ │ ├── Shyam.java │ │ │ ├── Ram.java │ │ │ ├── config.xml │ │ │ └── App.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── Spring_App │ │ └── AppTest.java ├── .project └── .classpath ├── 2_Spring_Lifecycle ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ │ └── com.becoder │ │ │ │ └── Spring_Lifecycle │ │ │ │ └── pom.properties │ │ └── com │ │ │ └── becoder │ │ │ ├── App.class │ │ │ ├── annot │ │ │ ├── Test.class │ │ │ ├── Student.class │ │ │ └── config.xml │ │ │ ├── impl │ │ │ ├── Test.class │ │ │ ├── Student.class │ │ │ └── config.xml │ │ │ └── xml │ │ │ ├── Test.class │ │ │ ├── Student.class │ │ │ └── config.xml │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── App.java │ │ │ ├── impl │ │ │ ├── config.xml │ │ │ ├── Test.java │ │ │ └── Student.java │ │ │ ├── xml │ │ │ ├── Test.java │ │ │ ├── config.xml │ │ │ └── Student.java │ │ │ └── annot │ │ │ ├── Test.java │ │ │ ├── config.xml │ │ │ └── Student.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath ├── 3_Spring_Autowiring ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── App.class │ │ │ │ ├── spel │ │ │ │ ├── Test.class │ │ │ │ ├── Student.class │ │ │ │ └── config.xml │ │ │ │ ├── javaconfig │ │ │ │ ├── App.class │ │ │ │ ├── Emp.class │ │ │ │ ├── Address.class │ │ │ │ └── config.class │ │ │ │ ├── sterotype │ │ │ │ ├── App.class │ │ │ │ ├── Emp.class │ │ │ │ └── config.xml │ │ │ │ └── autowire │ │ │ │ ├── xml │ │ │ │ ├── App.class │ │ │ │ ├── Address.class │ │ │ │ └── Student.class │ │ │ │ └── annot │ │ │ │ ├── App.class │ │ │ │ ├── Address.class │ │ │ │ ├── Student.class │ │ │ │ └── config.xml │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── 3_Spring_Autowiring │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── App.java │ │ │ ├── javaconfig │ │ │ ├── Address.java │ │ │ ├── App.java │ │ │ ├── config.java │ │ │ └── Emp.java │ │ │ ├── autowire │ │ │ ├── xml │ │ │ │ ├── App.java │ │ │ │ ├── Address.java │ │ │ │ └── Student.java │ │ │ └── annot │ │ │ │ ├── App.java │ │ │ │ ├── Address.java │ │ │ │ ├── Student.java │ │ │ │ └── config.xml │ │ │ ├── sterotype │ │ │ ├── App.java │ │ │ ├── Emp.java │ │ │ └── config.xml │ │ │ └── spel │ │ │ ├── config.xml │ │ │ ├── Test.java │ │ │ └── Student.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath ├── First_Spring_App ├── .settings │ ├── org.eclipse.m2e.core.prefs │ ├── org.eclipse.core.resources.prefs │ └── org.eclipse.jdt.core.prefs ├── target │ ├── classes │ │ ├── com │ │ │ └── becoder │ │ │ │ ├── App.class │ │ │ │ ├── Ram.class │ │ │ │ ├── Action.class │ │ │ │ ├── Shyam.class │ │ │ │ └── config.xml │ │ └── META-INF │ │ │ ├── MANIFEST.MF │ │ │ └── maven │ │ │ └── com.becoder │ │ │ └── First_Spring_App │ │ │ └── pom.properties │ └── test-classes │ │ └── com │ │ └── becoder │ │ └── AppTest.class ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── becoder │ │ │ ├── Action.java │ │ │ ├── Ram.java │ │ │ ├── Shyam.java │ │ │ ├── config.xml │ │ │ └── App.java │ └── test │ │ └── java │ │ └── com │ │ └── becoder │ │ └── AppTest.java ├── .project └── .classpath └── Servers ├── .settings └── org.eclipse.wst.server.core.prefs └── .project /.gitignore: -------------------------------------------------------------------------------- 1 | /.metadata/ 2 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/resources/js/script.js: -------------------------------------------------------------------------------- 1 | //alert("done"); -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.wst.jsdt.ui.superType.name: -------------------------------------------------------------------------------- 1 | Window -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/resources/js/script.js: -------------------------------------------------------------------------------- 1 | //alert("done"); -------------------------------------------------------------------------------- /6_Spring_MVC_Form/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | <% response.sendRedirect("home"); %> 2 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> -------------------------------------------------------------------------------- /Spring_MVC/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> 5 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> 5 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | <% 3 | response.sendRedirect("home"); 4 | %> 5 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.wst.validation.prefs: -------------------------------------------------------------------------------- 1 | disabled=06target 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.wst.jsdt.ui.superType.container: -------------------------------------------------------------------------------- 1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary -------------------------------------------------------------------------------- /AAA/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ORM/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/jdbc/StudentDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.jdbc; 2 | 3 | public class StudentDao { 4 | 5 | 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/Ram.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/Ram.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/Shyam.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/Shyam.class -------------------------------------------------------------------------------- /1_Spring_Core/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /4_Spring_JDBC/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /5_Spring_ORM/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/Action.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/Action.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/orm/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/orm/App.class -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /ORM/target/classes/com/becoder/xml/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/ORM/target/classes/com/becoder/xml/App.class -------------------------------------------------------------------------------- /Spring_App/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/config/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/config/App.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/App$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/jdbc/App$1.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/jdbc/App.class -------------------------------------------------------------------------------- /First_Spring_App/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/5_Spring_ORM/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.m2e.core.prefs: -------------------------------------------------------------------------------- 1 | activeProfiles= 2 | eclipse.preferences.version=1 3 | resolveWorkspaceProjects=true 4 | version=1 5 | -------------------------------------------------------------------------------- /AAA/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/jdbc/Student.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/orm/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/orm/Student.class -------------------------------------------------------------------------------- /AAA/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /ORM/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /ORM/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/ORM/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/config/Address.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/config/Address.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/config/Config.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/config/Config.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/config/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/config/Student.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/JavaConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/jdbc/JavaConfig.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/StudentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/jdbc/StudentDao.class -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/orm/StudentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/AAA/target/classes/com/becoder/orm/StudentDao.class -------------------------------------------------------------------------------- /ORM/target/classes/com/becoder/model/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/ORM/target/classes/com/becoder/model/Student.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ci/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ci/App.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ref/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ref/App.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/xml/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/xml/App.class -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/com/becoder/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/5_Spring_ORM/target/classes/com/becoder/Student.class -------------------------------------------------------------------------------- /First_Spring_App/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/First_Spring_App/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /First_Spring_App/target/classes/com/becoder/Ram.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/First_Spring_App/target/classes/com/becoder/Ram.class -------------------------------------------------------------------------------- /ORM/target/classes/com/becoder/javaconfig/config.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/ORM/target/classes/com/becoder/javaconfig/config.class -------------------------------------------------------------------------------- /Servers/.settings/org.eclipse.wst.server.core.prefs: -------------------------------------------------------------------------------- 1 | #Sat Mar 18 20:53:17 IST 2023 2 | org.eclipse.wst.server.core.isServerProject=true 3 | eclipse.preferences.version=1 4 | -------------------------------------------------------------------------------- /Spring_App/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ci/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ci/Student.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/App.class -------------------------------------------------------------------------------- /AAA/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /First_Spring_App/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /First_Spring_App/target/classes/com/becoder/Action.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/First_Spring_App/target/classes/com/becoder/Action.class -------------------------------------------------------------------------------- /First_Spring_App/target/classes/com/becoder/Shyam.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/First_Spring_App/target/classes/com/becoder/Shyam.class -------------------------------------------------------------------------------- /ORM/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ref/Address.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ref/Address.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ref/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ref/Student.class -------------------------------------------------------------------------------- /1_Spring_Core/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /4_Spring_JDBC/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /5_Spring_ORM/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/5_Spring_ORM/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/resources/img/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/src/main/webapp/WEB-INF/resources/img/a.png -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/dao/UserDao.class -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/entity/User.class -------------------------------------------------------------------------------- /Spring_App/target/classes/com/becoder/Spring_App/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_App/target/classes/com/becoder/Spring_App/App.class -------------------------------------------------------------------------------- /Spring_App/target/classes/com/becoder/Spring_App/Ram.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_App/target/classes/com/becoder/Spring_App/Ram.class -------------------------------------------------------------------------------- /1_Spring_Core/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ci/Certificate.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/ci/Certificate.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/collection/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/collection/App.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/primitive/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/primitive/App.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/annot/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/annot/Test.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/impl/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/impl/Test.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/xml/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/xml/Test.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/spel/Test.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/spel/Test.class -------------------------------------------------------------------------------- /4_Spring_JDBC/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/dao/StudentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/dao/StudentDao.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/javaconfig/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/javaconfig/App.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/model/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/model/Student.class -------------------------------------------------------------------------------- /5_Spring_ORM/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/com/becoder/dao/StudentDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/5_Spring_ORM/target/classes/com/becoder/dao/StudentDao.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/resources/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "ISO-8859-1"; 2 | 3 | body { 4 | background-color: black !important; 5 | } 6 | 7 | h1{ 8 | color: white; 9 | } -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/dao/UserDao.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/entity/User.class -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/Action.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | public interface Action { 4 | 5 | public void doEat(); 6 | 7 | public void doRead(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/resources/img/nts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/src/main/webapp/WEB-INF/resources/img/nts.jpg -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/resources/img/nts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/src/main/webapp/WEB-INF/resources/img/nts2.png -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/entity/Notes.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/entity/Notes.class -------------------------------------------------------------------------------- /Enotes_Tracker/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /First_Spring_App/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/First_Spring_App/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /Spring_App/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /Spring_App/target/classes/com/becoder/Spring_App/Action.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_App/target/classes/com/becoder/Spring_App/Action.class -------------------------------------------------------------------------------- /Spring_App/target/classes/com/becoder/Spring_App/Shyam.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_App/target/classes/com/becoder/Spring_App/Shyam.class -------------------------------------------------------------------------------- /Spring_MVC/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/dao/EmpDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/dao/EmpDao.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/dao/UserDao.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/entity/Emp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/entity/Emp.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/entity/User.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/primitive/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/primitive/Student.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/impl/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/impl/Student.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/xml/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/xml/Student.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/javaconfig/config.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/javaconfig/config.class -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/com/becoder/dao/StudentDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/5_Spring_ORM/target/classes/com/becoder/dao/StudentDaoImpl.class -------------------------------------------------------------------------------- /6_Spring_MVC_Form/target/classes/com/springmvc/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/6_Spring_MVC_Form/target/classes/com/springmvc/entity/User.class -------------------------------------------------------------------------------- /6_Spring_MVC_Form/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/resources/img/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/9_Spring_Inteceptor/src/main/webapp/WEB-INF/resources/img/a.png -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/dao/UserDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/dao/UserDaoImpl.class -------------------------------------------------------------------------------- /First_Spring_App/.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/main/java=UTF-8 3 | encoding//src/test/java=UTF-8 4 | encoding/=UTF-8 5 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/dao/EmpDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/dao/EmpDaoImpl.class -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/collection/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/1_Spring_Core/target/classes/com/becoder/collection/Student.class -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/annot/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/2_Spring_Lifecycle/target/classes/com/becoder/annot/Student.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/javaconfig/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/javaconfig/App.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/javaconfig/Emp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/javaconfig/Emp.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/spel/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/spel/Student.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/sterotype/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/sterotype/App.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/sterotype/Emp.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/sterotype/Emp.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/test-classes/com/becoder/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/test-classes/com/becoder/AppTest.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl$1.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl$2.class -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/4_Spring_JDBC/target/classes/com/becoder/dao/StudentDaoImpl.class -------------------------------------------------------------------------------- /6_Spring_MVC_Form/target/classes/com/springmvc/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/6_Spring_MVC_Form/target/classes/com/springmvc/HomeController.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/classes/com/springmvc/dao/UserDao.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/7_Register_Form_JDBC/target/classes/com/springmvc/dao/UserDao.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/classes/com/springmvc/entity/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/7_Register_Form_JDBC/target/classes/com/springmvc/entity/User.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Built-By: Pabitra 3 | Build-Jdk: 1.8.0_281 4 | Created-By: Maven Integration for Eclipse 5 | 6 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/resources/css/style.css: -------------------------------------------------------------------------------- 1 | @charset "ISO-8859-1"; 2 | 3 | /* body { 4 | background-color: white !important; 5 | } 6 | 7 | h1{ 8 | color: white; 9 | } */ -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/config/AuthHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/config/AuthHandler.class -------------------------------------------------------------------------------- /First_Spring_App/src/main/java/com/becoder/Action.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | public interface Action { 4 | 5 | public void eat(); 6 | 7 | public void sleep(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /Spring_App/target/test-classes/com/becoder/Spring_App/AppTest.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_App/target/test-classes/com/becoder/Spring_App/AppTest.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/dao/UserDaoImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/dao/UserDaoImpl.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/App.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/App.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/App.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/javaconfig/Address.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/javaconfig/Address.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/javaconfig/config.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/javaconfig/config.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/service/UserService.class -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/classes/com/springmvc/controller/User.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/9_Spring_Inteceptor/target/classes/com/springmvc/controller/User.class -------------------------------------------------------------------------------- /Spring_MVC/target/classes/com/spring/mvc/controller/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Spring_MVC/target/classes/com/spring/mvc/controller/HomeController.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/Address.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/Address.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/xml/Student.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/service/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/service/UserServiceImpl.class -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/controller/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/controller/HomeController.class -------------------------------------------------------------------------------- /Enotes_Tracker/target/classes/com/becoder/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/Enotes_Tracker/target/classes/com/becoder/controller/UserController.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/Address.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/Address.class -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/Student.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/Student.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/classes/com/springmvc/service/UserService.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/7_Register_Form_JDBC/target/classes/com/springmvc/service/UserService.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/controller/Homcontroller.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/controller/Homcontroller.class -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/jdbc/JavaConfig.java: -------------------------------------------------------------------------------- 1 | package com.becoder.jdbc; 2 | 3 | import org.springframework.context.annotation.Configuration; 4 | 5 | @Configuration 6 | public class JavaConfig { 7 | 8 | } 9 | -------------------------------------------------------------------------------- /Spring_App/src/main/java/com/becoder/Spring_App/Action.java: -------------------------------------------------------------------------------- 1 | package com.becoder.Spring_App; 2 | 3 | public interface Action { 4 | 5 | public void doEat(); 6 | 7 | public void doRead(); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/controller/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/controller/HomeController.class -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/classes/com/becoder/intecpetor/AuthInterceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/10_Emp_Crud_Project/target/classes/com/becoder/intecpetor/AuthInterceptor.class -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App { 8 | public static void main(String[] args) { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/classes/com/springmvc/service/UserServiceImpl.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/7_Register_Form_JDBC/target/classes/com/springmvc/service/UserServiceImpl.class -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/classes/com/springmvc/controller/Homcontroller.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/9_Spring_Inteceptor/target/classes/com/springmvc/controller/Homcontroller.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/classes/com/springmvc/controller/HomeController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/7_Register_Form_JDBC/target/classes/com/springmvc/controller/HomeController.class -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/classes/com/springmvc/controller/UserController.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/9_Spring_Inteceptor/target/classes/com/springmvc/controller/UserController.class -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/classes/com/springmvc/exception/CustomExceptionHandler.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/8_SpringMVC_ORM/target/classes/com/springmvc/exception/CustomExceptionHandler.class -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/classes/com/springmvc/controller/AuthHandlerInceptor.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/becoderpavy/spring_framework/HEAD/9_Spring_Inteceptor/target/classes/com/springmvc/controller/AuthHandlerInceptor.class -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/java/com/springmvc/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.service; 2 | 3 | import com.springmvc.entity.User; 4 | 5 | public interface UserService { 6 | 7 | public int registerUser(User user); 8 | 9 | } 10 | -------------------------------------------------------------------------------- /Servers/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Servers 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/src/main/java/com/becoder/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.dao; 2 | 3 | import com.becoder.entity.User; 4 | 5 | public interface UserDao { 6 | 7 | public int saveUser(User user); 8 | 9 | public User loginUser(String email, String passsword); 10 | 11 | } 12 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | /** 4 | * Hello world! 5 | * 6 | */ 7 | public class App 8 | { 9 | public static void main( String[] args ) 10 | { 11 | System.out.println( "Hello World!" ); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/java/com/springmvc/service/UserService.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.service; 2 | 3 | import com.springmvc.dao.UserDao; 4 | import com.springmvc.entity.User; 5 | 6 | public interface UserService { 7 | 8 | public int saveUser(User user); 9 | 10 | 11 | } 12 | -------------------------------------------------------------------------------- /AAA/target/classes/META-INF/maven/com.becoder/AAA/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:52 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=AAA 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\AAA 7 | artifactId=AAA 8 | -------------------------------------------------------------------------------- /ORM/target/classes/META-INF/maven/com.becoder/5_Spring_ORM/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:53 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=ORM 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\ORM 7 | artifactId=5_Spring_ORM 8 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Spring_App/src/main/java/com/becoder/Spring_App/Shyam.java: -------------------------------------------------------------------------------- 1 | package com.becoder.Spring_App; 2 | 3 | public class Shyam implements Action{ 4 | 5 | public void doEat() { 6 | System.out.println("Shyam is Eating"); 7 | } 8 | 9 | public void doRead() { 10 | System.out.println("Shyam is Reading"); 11 | } 12 | 13 | 14 | } 15 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.wst.common.project.facet.core.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Spring_App/target/classes/META-INF/maven/com.becoder/Spring_App/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:53 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=Spring_App 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\Spring_App 7 | artifactId=Spring_App 8 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/config/Address.java: -------------------------------------------------------------------------------- 1 | package com.becoder.config; 2 | 3 | public class Address { 4 | private String name; 5 | 6 | public Address(String name) { 7 | super(); 8 | this.name = name; 9 | } 10 | 11 | @Override 12 | public String toString() { 13 | return "Address [name=" + name + "]"; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/META-INF/maven/com.becoder/Spring_Core/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:42 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=1_Spring_Core 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\1_Spring_Core 7 | artifactId=Spring_Core 8 | -------------------------------------------------------------------------------- /5_Spring_ORM/target/classes/META-INF/maven/com.becoder/5_Spring_ORM/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 30 11:07:10 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=5_Spring_ORM 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\5_Spring_ORM 7 | artifactId=5_Spring_ORM 8 | -------------------------------------------------------------------------------- /4_Spring_JDBC/target/classes/META-INF/maven/com.becoder/4_Spring_JDBC/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:43 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=4_Spring_JDBC 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\4_Spring_JDBC 7 | artifactId=4_Spring_JDBC 8 | -------------------------------------------------------------------------------- /Spring_MVC/target/m2e-wtp/web-resources/META-INF/maven/com.spring.mvc/Spring_MVC/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:24 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.spring.mvc 5 | m2e.projectName=Spring_MVC 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\Spring_MVC 7 | artifactId=Spring_MVC 8 | -------------------------------------------------------------------------------- /First_Spring_App/target/classes/META-INF/maven/com.becoder/First_Spring_App/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:53 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=First_Spring_App 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\First_Spring_App 7 | artifactId=First_Spring_App 8 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/META-INF/maven/com.becoder/Spring_Lifecycle/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:42 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=2_Spring_Lifecycle 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\2_Spring_Lifecycle 7 | artifactId=Spring_Lifecycle 8 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/javaconfig/Address.java: -------------------------------------------------------------------------------- 1 | package com.becoder.javaconfig; 2 | 3 | public class Address { 4 | 5 | private String name; 6 | 7 | public Address(String name) { 8 | super(); 9 | this.name = name; 10 | } 11 | 12 | @Override 13 | public String toString() { 14 | return "Address [name=" + name + "]"; 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/src/main/webapp/WEB-INF/view/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |

Home page

11 | Register 12 | 13 | -------------------------------------------------------------------------------- /Enotes_Tracker/target/m2e-wtp/web-resources/META-INF/maven/com.becoder/Enotes_Tracker/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:23 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=Enotes_Tracker 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\Enotes_Tracker 7 | artifactId=Enotes_Tracker 8 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/webapp/WEB-INF/view/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |

Home page

11 | Register 12 | 13 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/META-INF/maven/com.becoder/3_Spring_Autowiring/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Sun Apr 09 20:14:43 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=3_Spring_Autowiring 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\3_Spring_Autowiring 7 | artifactId=3_Spring_Autowiring 8 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/target/m2e-wtp/web-resources/META-INF/maven/com.springmvc/8_SpringMVC_ORM/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:22 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.springmvc 5 | m2e.projectName=8_SpringMVC_ORM 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\8_SpringMVC_ORM 7 | artifactId=8_SpringMVC_ORM 8 | -------------------------------------------------------------------------------- /Spring_App/src/main/java/com/becoder/Spring_App/Ram.java: -------------------------------------------------------------------------------- 1 | package com.becoder.Spring_App; 2 | 3 | public class Ram implements Action { 4 | 5 | public Ram() { 6 | System.out.println("Ram call"); 7 | } 8 | 9 | public void doEat() { 10 | System.out.println("Ram is Eating"); 11 | } 12 | 13 | public void doRead() { 14 | System.out.println("Ram is Reading"); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/target/m2e-wtp/web-resources/META-INF/maven/com.springmvc/6_Spring_MVC_Form/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:21 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.springmvc 5 | m2e.projectName=6_Spring_MVC_Form 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\6_Spring_MVC_Form 7 | artifactId=6_Spring_MVC_Form 8 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/target/m2e-wtp/web-resources/META-INF/maven/com.becoder/10_Emp_Crud_Project/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:21 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.becoder 5 | m2e.projectName=10_Emp_Crud_Project 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\10_Emp_Crud_Project 7 | artifactId=10_Emp_Crud_Project 8 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/java/com/springmvc/controller/User.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.controller; 2 | 3 | public class User { 4 | private String name; 5 | 6 | public User(String name) { 7 | super(); 8 | this.name = name; 9 | } 10 | 11 | public String getName() { 12 | return name; 13 | } 14 | 15 | public void setName(String name) { 16 | this.name = name; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /First_Spring_App/src/main/java/com/becoder/Ram.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | public class Ram implements Action { 4 | 5 | public Ram() { 6 | System.out.println("RAM Object is created"); 7 | } 8 | 9 | public void eat() { 10 | System.out.println("Ram is Eating"); 11 | 12 | } 13 | 14 | public void sleep() { 15 | System.out.println("Ram is sleeping"); 16 | 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/view/error.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 9 | 10 |

11 | Something wrong on server
Please try again after sometime 12 |

13 | 14 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/target/m2e-wtp/web-resources/META-INF/maven/com.springmvc/9_Spring_Inteceptor/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:23 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.springmvc 5 | m2e.projectName=9_Spring_Inteceptor 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\9_Spring_Inteceptor 7 | artifactId=9_Spring_Inteceptor 8 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/target/m2e-wtp/web-resources/META-INF/maven/com.springmvc/7_Register_Form_JDBC/pom.properties: -------------------------------------------------------------------------------- 1 | #Generated by Maven Integration for Eclipse 2 | #Tue May 16 19:54:21 IST 2023 3 | version=0.0.1-SNAPSHOT 4 | groupId=com.springmvc 5 | m2e.projectName=7_Register_Form_JDBC 6 | m2e.projectLocation=D\:\\Youtube\\Tutorial\\spring_boot\\workspace\\7_Register_Form_JDBC 7 | artifactId=7_Register_Form_JDBC 8 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/src/main/java/com/becoder/dao/EmpDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.becoder.entity.Emp; 6 | 7 | public interface EmpDao { 8 | 9 | public int saveEmp(Emp emp); 10 | 11 | public Emp getEmpById(int id); 12 | 13 | public List getAllEmp(); 14 | 15 | public void update(Emp emp); 16 | 17 | public void deleteEmp(int id); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /First_Spring_App/src/main/java/com/becoder/Shyam.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | public class Shyam implements Action { 4 | 5 | public Shyam() { 6 | System.out.println("Shyam Object is created"); 7 | } 8 | 9 | public void eat() { 10 | System.out.println("Shayam is eating"); 11 | 12 | } 13 | 14 | public void sleep() { 15 | 16 | System.out.println("Shayam is sleeping"); 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/view/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@page isELIgnored="false" %> 4 | 5 | 6 | 7 | 8 | Insert title here 9 | 10 | 11 |

User Login successfully=${userObj.fullname }

12 | 13 | 14 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/src/main/webapp/WEB-INF/view/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@page isELIgnored="false"%> 4 | 5 | 6 | 7 | 8 | Insert title here 9 | 10 | 11 |

Hello , ${loginuser.fullname }

12 | Logout 13 | 14 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/config/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.config; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | 5 | public class Student { 6 | 7 | @Autowired 8 | private Address add; 9 | 10 | public Address getAddress() { 11 | return add; 12 | } 13 | 14 | public void setAddress(Address address) { 15 | System.out.println("Setter call"); 16 | this.add = address; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Spring_App/src/main/java/com/becoder/Spring_App/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Spring_App/target/classes/com/becoder/Spring_App/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /4_Spring_JDBC/src/main/java/com/becoder/dao/StudentDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.becoder.model.Student; 6 | 7 | public interface StudentDao { 8 | 9 | public int insert(Student student); 10 | 11 | public int updateDetails(Student student); 12 | 13 | public int delete(int id); 14 | 15 | public Student getStudentById(int id); 16 | 17 | public List getAllStudent(); 18 | 19 | } 20 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ref/Address.java: -------------------------------------------------------------------------------- 1 | package com.becoder.ref; 2 | 3 | public class Address { 4 | 5 | private int id; 6 | 7 | private String city; 8 | 9 | public int getId() { 10 | return id; 11 | } 12 | 13 | public void setId(int id) { 14 | this.id = id; 15 | } 16 | 17 | public String getCity() { 18 | return city; 19 | } 20 | 21 | public void setCity(String city) { 22 | this.city = city; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /First_Spring_App/src/main/java/com/becoder/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /First_Spring_App/target/classes/com/becoder/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /AAA/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /ORM/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /Spring_App/src/main/java/com/becoder/Spring_App/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.Spring_App; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/Spring_App/config.xml"); 10 | 11 | System.out.println(context); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /1_Spring_Core/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /4_Spring_JDBC/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /Spring_App/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /First_Spring_App/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 3 | org.eclipse.jdt.core.compiler.compliance=1.5 4 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 5 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 6 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 7 | org.eclipse.jdt.core.compiler.release=disabled 8 | org.eclipse.jdt.core.compiler.source=1.5 9 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ci/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.ci; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/ci/config.xml"); 9 | 10 | Student st = context.getBean("st", Student.class); 11 | System.out.println(st); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ci/Certificate.java: -------------------------------------------------------------------------------- 1 | package com.becoder.ci; 2 | 3 | public class Certificate { 4 | 5 | private int id; 6 | 7 | private String certificateName; 8 | 9 | public Certificate(int id, String certificateName) { 10 | super(); 11 | this.id = id; 12 | this.certificateName = certificateName; 13 | } 14 | 15 | @Override 16 | public String toString() { 17 | return "Certificate [id=" + id + ", certificateName=" + certificateName + "]"; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ref/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.ref; 2 | 3 | public class Student { 4 | 5 | private String name; 6 | 7 | private Address address; 8 | 9 | public String getName() { 10 | return name; 11 | } 12 | 13 | public void setName(String name) { 14 | this.name = name; 15 | } 16 | 17 | public Address getAddress() { 18 | return address; 19 | } 20 | 21 | public void setAddress(Address address) { 22 | this.address = address; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /5_Spring_ORM/src/main/java/com/becoder/dao/StudentDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.becoder.Student; 6 | 7 | public interface StudentDao { 8 | 9 | public int saveStudent(Student student); 10 | 11 | public Student getStudent(int id); 12 | 13 | public List getAllStudent(); 14 | 15 | public void updateStudent(Student student); 16 | 17 | public void deleteStudent(int id); 18 | 19 | public Student getStudentBy(String em, int id); 20 | } 21 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/config/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.config; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.annotation.AnnotationConfigApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | ApplicationContext context = new AnnotationConfigApplicationContext(Config.class); 10 | 11 | Student st = context.getBean("getStudent", Student.class); 12 | System.out.println(st.getAddress()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/javaconfig/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.javaconfig; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.annotation.AnnotationConfigApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | ApplicationContext context = new AnnotationConfigApplicationContext(config.class); 10 | 11 | Emp em = context.getBean("emps", Emp.class); 12 | System.out.println(em); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/collection/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.collection; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/collection/config.xml"); 9 | 10 | Student st = context.getBean("st1", Student.class); 11 | 12 | System.out.println(st); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/xml/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.xml; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/autowire/xml/config.xml"); 9 | 10 | Student st = context.getBean("st", Student.class); 11 | 12 | System.out.println(st); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/config/Config.java: -------------------------------------------------------------------------------- 1 | package com.becoder.config; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.Configuration; 5 | 6 | @Configuration 7 | public class Config { 8 | 9 | @Bean 10 | public Student getStudent() { 11 | return new Student(); 12 | } 13 | 14 | @Bean 15 | public Address address() { 16 | return new Address("First Bean"); 17 | } 18 | 19 | @Bean 20 | public Address add() { 21 | return new Address("second Bean"); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/java/com/springmvc/service/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.service; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.stereotype.Service; 5 | 6 | import com.springmvc.dao.UserDao; 7 | import com.springmvc.entity.User; 8 | 9 | @Service 10 | public class UserServiceImpl implements UserService { 11 | 12 | @Autowired 13 | private UserDao userDao; 14 | 15 | public int saveUser(User user) { 16 | int i = userDao.save(user); 17 | return i; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/annot/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.annot; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/autowire/annot/config.xml"); 10 | 11 | Student student = context.getBean("st", Student.class); 12 | System.out.println(student); 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/java/com/springmvc/service/UserServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.service; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.stereotype.Service; 5 | 6 | import com.springmvc.dao.UserDao; 7 | import com.springmvc.entity.User; 8 | 9 | @Service 10 | public class UserServiceImpl implements UserService { 11 | 12 | @Autowired 13 | private UserDao userDao; 14 | 15 | public int registerUser(User user) { 16 | int i = userDao.saveUser(user); 17 | return i; 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ref/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.ref; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/ref/config.xml"); 10 | Student st = context.getBean("st", Student.class); 11 | 12 | System.out.println(st.getName()); 13 | System.out.println(st.getAddress().getCity()); 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/view/success.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@page isELIgnored="false"%> 4 | 5 | 6 | 7 | 8 | Insert title here 9 | 10 | 11 | 12 |

Register Sucessfully

13 |
14 |

Name : ${user.fullName }

15 |

Email : ${user.email }

16 |

Password : ${user.password }

17 |

Image Name : ${user.image }

18 | 19 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/java/com/becoder/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.dao; 2 | 3 | import java.util.List; 4 | 5 | import com.becoder.entity.Notes; 6 | import com.becoder.entity.User; 7 | 8 | public interface UserDao { 9 | 10 | public int saveUser(User user); 11 | 12 | public User login(String email, String password); 13 | 14 | public int saveNotes(Notes notes); 15 | 16 | public List getNotesByUser(User user); 17 | 18 | public Notes getNotesById(int id); 19 | 20 | public void deleteNotes(int id); 21 | 22 | public void updateNotes(Notes n); 23 | 24 | } 25 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/webapp/WEB-INF/view/success.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@page isELIgnored="false"%> 4 | 5 | 6 | 7 | 8 | Insert title here 9 | 10 | 11 | 12 |

Register Sucessfully

13 |
14 |

Name : ${user.fullName }

15 |

Email : ${user.email }

16 |

Password : ${user.password }

17 |

Image Name : ${user.image }

18 | 19 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | spring 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | 13 | 14 | spring 15 | / 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | spring 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | 13 | 14 | spring 15 | / 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | spring 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | 13 | 14 | spring 15 | / 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | spring 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | 13 | 14 | spring 15 | / 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | spring 10 | org.springframework.web.servlet.DispatcherServlet 11 | 12 | 13 | 14 | spring 15 | / 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/orm/StudentDao.java: -------------------------------------------------------------------------------- 1 | package com.becoder.orm; 2 | 3 | import javax.transaction.Transactional; 4 | 5 | import org.springframework.orm.hibernate5.HibernateTemplate; 6 | 7 | public class StudentDao { 8 | 9 | private HibernateTemplate hiberTemp; 10 | 11 | public HibernateTemplate getHiberTemp() { 12 | return hiberTemp; 13 | } 14 | 15 | public void setHiberTemp(HibernateTemplate hiberTemp) { 16 | this.hiberTemp = hiberTemp; 17 | } 18 | 19 | @Transactional 20 | public Integer saveData(Student st) { 21 | return (Integer) hiberTemp.save(st); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Spring_MVC/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | 10 | spring 11 | org.springframework.web.servlet.DispatcherServlet 12 | 13 | 14 | 15 | spring 16 | / 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/javaconfig/config.java: -------------------------------------------------------------------------------- 1 | package com.becoder.javaconfig; 2 | 3 | import org.springframework.context.annotation.Bean; 4 | import org.springframework.context.annotation.ComponentScan; 5 | import org.springframework.context.annotation.Configuration; 6 | import org.springframework.context.annotation.Primary; 7 | 8 | @Configuration 9 | public class config { 10 | 11 | @Bean 12 | public Address add() { 13 | return new Address("First bean"); 14 | } 15 | 16 | @Bean(name = {"emps"}) 17 | public Emp getEmp() { 18 | return new Emp(add()); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | Archetype Created Web Application 7 | 8 | 9 | 10 | spring 11 | org.springframework.web.servlet.DispatcherServlet 12 | 13 | 14 | 15 | spring 16 | / 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /First_Spring_App/src/main/java/com/becoder/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | public static void main(String[] args) { 8 | 9 | /* 10 | * Action ac=new Ram(); ac.eat(); ac.sleep(); 11 | */ 12 | 13 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/config.xml"); 14 | System.out.println(context); 15 | 16 | Ram sh=context.getBean("person",Ram.class); 17 | sh.eat(); 18 | sh.sleep(); 19 | 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/java/com/springmvc/controller/Homcontroller.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.controller; 2 | 3 | import javax.servlet.http.HttpSession; 4 | 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | @Controller 9 | public class Homcontroller { 10 | 11 | @RequestMapping("/home") 12 | public String home() { 13 | return "home"; 14 | } 15 | 16 | @RequestMapping("/login") 17 | public String login(HttpSession session) { 18 | session.setAttribute("loginUser", new User("Becoder")); 19 | return "home"; 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/impl/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/impl/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/xml/Address.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.xml; 2 | 3 | public class Address { 4 | 5 | private String city; 6 | 7 | private String state; 8 | 9 | public String getCity() { 10 | return city; 11 | } 12 | 13 | public void setCity(String city) { 14 | this.city = city; 15 | } 16 | 17 | public String getState() { 18 | return state; 19 | } 20 | 21 | public void setState(String state) { 22 | this.state = state; 23 | } 24 | 25 | @Override 26 | public String toString() { 27 | return "Address [city=" + city + ", state=" + state + "]"; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/annot/Address.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.annot; 2 | 3 | public class Address { 4 | 5 | private String city; 6 | 7 | private String state; 8 | 9 | public String getCity() { 10 | return city; 11 | } 12 | 13 | public void setCity(String city) { 14 | this.city = city; 15 | } 16 | 17 | public String getState() { 18 | return state; 19 | } 20 | 21 | public void setState(String state) { 22 | this.state = state; 23 | } 24 | 25 | @Override 26 | public String toString() { 27 | return "Address [city=" + city + ", state=" + state + "]"; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /AAA/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AAA 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /ORM/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ORM 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/xml/Test.java: -------------------------------------------------------------------------------- 1 | package com.becoder.xml; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.AbstractApplicationContext; 5 | import org.springframework.context.support.ClassPathXmlApplicationContext; 6 | 7 | public class Test { 8 | public static void main(String[] args) { 9 | 10 | AbstractApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/xml/config.xml"); 11 | 12 | context.registerShutdownHook(); 13 | 14 | Student student = context.getBean("st", Student.class); 15 | System.out.println(student); 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /5_Spring_ORM/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5_Spring_ORM 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /Spring_App/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Spring_App 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /1_Spring_Core/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1_Spring_Core 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/primitive/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.primitive; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | 8 | public static void main(String[] args) { 9 | 10 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/primitive/config.xml"); 11 | 12 | Student st = context.getBean("st1", Student.class); 13 | 14 | /* Student st2 = context.getBean("st2", Student.class); */ 15 | 16 | System.out.println(st); 17 | /* System.out.println(st2); */ 18 | 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/annot/Test.java: -------------------------------------------------------------------------------- 1 | package com.becoder.annot; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.AbstractApplicationContext; 5 | import org.springframework.context.support.ClassPathXmlApplicationContext; 6 | 7 | public class Test { 8 | public static void main(String[] args) { 9 | 10 | AbstractApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/annot/config.xml"); 11 | 12 | context.registerShutdownHook(); 13 | 14 | Student student = context.getBean("st", Student.class); 15 | System.out.println(student); 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/impl/Test.java: -------------------------------------------------------------------------------- 1 | package com.becoder.impl; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.AbstractApplicationContext; 5 | import org.springframework.context.support.ClassPathXmlApplicationContext; 6 | 7 | public class Test { 8 | public static void main(String[] args) { 9 | 10 | AbstractApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/impl/config.xml"); 11 | 12 | context.registerShutdownHook(); 13 | 14 | Student student = context.getBean("st", Student.class); 15 | System.out.println(student); 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/sterotype/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.sterotype; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | public class App { 7 | 8 | public static void main(String[] args) { 9 | 10 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/sterotype/config.xml"); 11 | 12 | Emp em = context.getBean("employee", Emp.class); 13 | System.out.println(em.hashCode()); 14 | 15 | 16 | Emp em2 = context.getBean("employee", Emp.class); 17 | System.out.println(em2.hashCode()); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /4_Spring_JDBC/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4_Spring_JDBC 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /ORM/src/main/java/com/becoder/xml/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.xml; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | import org.springframework.orm.hibernate5.HibernateTemplate; 6 | 7 | public class App { 8 | public static void main(String[] args) { 9 | System.out.println("Hello World!"); 10 | 11 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/xml/config.xml"); 12 | 13 | HibernateTemplate temp = context.getBean("hiberTemp", HibernateTemplate.class); 14 | System.out.println(temp.getSessionFactory()); 15 | 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/javaconfig/Emp.java: -------------------------------------------------------------------------------- 1 | package com.becoder.javaconfig; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.stereotype.Component; 5 | 6 | public class Emp { 7 | 8 | private Address address; 9 | 10 | public Emp(Address address) { 11 | super(); 12 | this.address = address; 13 | } 14 | 15 | public Address getAddress() { 16 | return address; 17 | } 18 | 19 | public void setAddress(Address address) { 20 | this.address = address; 21 | } 22 | 23 | @Override 24 | public String toString() { 25 | return "Emp [address=" + address + "]"; 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /First_Spring_App/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | First_Spring_App 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 2_Spring_Lifecycle 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | 3_Spring_Autowiring 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.m2e.core.maven2Builder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.m2e.core.maven2Nature 22 | 23 | 24 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/java/com/springmvc/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.dao; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.orm.hibernate5.HibernateTemplate; 5 | import org.springframework.stereotype.Repository; 6 | import org.springframework.transaction.annotation.Transactional; 7 | 8 | import com.springmvc.entity.User; 9 | 10 | @Repository 11 | public class UserDao { 12 | 13 | @Autowired 14 | private HibernateTemplate hibernateTemplate; 15 | 16 | @Transactional 17 | public int save(User user) 18 | { 19 | int i=(Integer)hibernateTemplate.save(user); 20 | return i; 21 | } 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/xml/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/xml/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/java/com/springmvc/controller/UserController.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.controller; 2 | 3 | import javax.servlet.http.HttpSession; 4 | 5 | import org.springframework.stereotype.Controller; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | @Controller 9 | @RequestMapping("/user") 10 | public class UserController { 11 | 12 | @RequestMapping("/profile") 13 | public String profile(HttpSession session) { 14 | return "profile"; 15 | } 16 | 17 | @RequestMapping("/logout") 18 | public String logout(HttpSession session) { 19 | 20 | session.removeAttribute("loginUser"); 21 | 22 | return "redirect:/home"; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.8 12 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.8 12 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 4 | org.eclipse.jdt.core.compiler.compliance=1.5 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 7 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 8 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 9 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 10 | org.eclipse.jdt.core.compiler.release=disabled 11 | org.eclipse.jdt.core.compiler.source=1.5 12 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/java/com/springmvc/exception/CustomExceptionHandler.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.exception; 2 | 3 | import org.springframework.web.bind.annotation.ControllerAdvice; 4 | import org.springframework.web.bind.annotation.ExceptionHandler; 5 | 6 | @ControllerAdvice 7 | public class CustomExceptionHandler { 8 | 9 | @ExceptionHandler(NumberFormatException.class) 10 | public String numberExcption() { 11 | return "error"; 12 | } 13 | 14 | @ExceptionHandler(NullPointerException.class) 15 | public String nullExcption() { 16 | return "error"; 17 | } 18 | 19 | @ExceptionHandler(Exception.class) 20 | public String allExcption() { 21 | return "error"; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/src/main/java/com/springmvc/dao/UserDao.java: -------------------------------------------------------------------------------- 1 | package com.springmvc.dao; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.jdbc.core.JdbcTemplate; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import com.springmvc.entity.User; 8 | 9 | @Repository 10 | public class UserDao { 11 | 12 | @Autowired 13 | private JdbcTemplate jdbcTemplate; 14 | 15 | public int saveUser(User user) { 16 | String sql = "insert into user(name,email,password,image) values(?,?,?,?)"; 17 | int i = jdbcTemplate.update(sql, user.getFullName(), user.getEmail(), user.getPassword(), user.getImage()); 18 | return i; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/.jsdtscope: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/view/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 4 | <%@page isELIgnored="false"%> 5 | 6 | 7 | 8 | 9 | Insert title here 10 | <%@include file="/WEB-INF/resources/component/all_link.jsp"%> 11 | 12 | 13 | <%@include file="/WEB-INF/resources/component/navbar.jsp"%> 14 |
15 | notes_img" 16 | width="100%" height="800px"> 17 |
18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/view/profile.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@page isELIgnored="false"%> 4 | 5 | 6 | 7 | 12 | 13 | Insert title here 14 | 15 | 16 |
17 |

Hello, ${loginUser.name }

18 | Logout 19 |
20 | 21 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import org.springframework.context.support.AbstractApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | 6 | /** 7 | * Hello world! 8 | * 9 | */ 10 | public class App { 11 | 12 | public static void main(String[] args) { 13 | 14 | AbstractApplicationContext context = new ClassPathXmlApplicationContext("config.xml"); 15 | 16 | /* 17 | * Ram r=context.getBean("r1", Ram.class); System.out.println(r); 18 | */ 19 | /* 20 | * Shyam sh = context.getBean("s1", Shyam.class); System.out.println(sh); 21 | */ 22 | 23 | Ram r = context.getBean("r", Ram.class); 24 | System.out.println(r); 25 | 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/orm/App.java: -------------------------------------------------------------------------------- 1 | package com.becoder.orm; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | import org.springframework.orm.hibernate5.HibernateTemplate; 6 | 7 | public class App { 8 | public static void main(String[] args) { 9 | 10 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/orm/config.xml"); 11 | StudentDao dao = context.getBean("dao", StudentDao.class); 12 | 13 | // tem.setCheckWriteOperations(false); 14 | 15 | Student st = new Student(1, "becoder", "Uk"); 16 | 17 | Integer i = dao.saveData(st); 18 | System.out.println("Insert sucess=" + i); 19 | 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /ORM/src/main/java/com/becoder/model/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.model; 2 | 3 | import javax.persistence.Entity; 4 | import javax.persistence.Id; 5 | 6 | @Entity 7 | public class Student { 8 | 9 | @Id 10 | private int id; 11 | 12 | private String name; 13 | 14 | private String address; 15 | 16 | public int getId() { 17 | return id; 18 | } 19 | 20 | public void setId(int id) { 21 | this.id = id; 22 | } 23 | 24 | public String getName() { 25 | return name; 26 | } 27 | 28 | public void setName(String name) { 29 | this.name = name; 30 | } 31 | 32 | public String getAddress() { 33 | return address; 34 | } 35 | 36 | public void setAddress(String address) { 37 | this.address = address; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/xml/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.xml; 2 | 3 | public class Student { 4 | 5 | private Address address; 6 | 7 | public Student() { 8 | super(); 9 | // TODO Auto-generated constructor stub 10 | } 11 | 12 | public Student(Address address) { 13 | super(); 14 | this.address = address; 15 | System.out.println("constructor Injection"); 16 | } 17 | 18 | public Address getAddress() { 19 | return address; 20 | } 21 | 22 | public void setAddress(Address address) { 23 | System.out.println("Setter Injection"); 24 | this.address = address; 25 | } 26 | 27 | @Override 28 | public String toString() { 29 | return "Student [address=" + address + "]"; 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /10_Emp_Crud_Project/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/xml/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.xml; 2 | 3 | public class Student { 4 | 5 | private int id; 6 | 7 | private String name; 8 | 9 | public int getId() { 10 | return id; 11 | } 12 | 13 | public void setId(int id) { 14 | this.id = id; 15 | } 16 | 17 | public String getName() { 18 | return name; 19 | } 20 | 21 | public void setName(String name) { 22 | this.name = name; 23 | } 24 | 25 | @Override 26 | public String toString() { 27 | return "Student [id=" + id + ", name=" + name + "]"; 28 | } 29 | 30 | public void init() { 31 | System.out.println("init call : Initilization Started"); 32 | } 33 | 34 | public void destroy() { 35 | System.out.println("Destroy call : Destroy Object"); 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /4_Spring_JDBC/src/main/java/com/becoder/model/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.model; 2 | 3 | public class Student { 4 | 5 | private int id; 6 | 7 | private String name; 8 | 9 | private String addres; 10 | 11 | public int getId() { 12 | return id; 13 | } 14 | 15 | public void setId(int id) { 16 | this.id = id; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public String getAddres() { 28 | return addres; 29 | } 30 | 31 | public void setAddres(String addres) { 32 | this.addres = addres; 33 | } 34 | 35 | @Override 36 | public String toString() { 37 | return "Student [id=" + id + ", name=" + name + ", addres=" + addres + "]"; 38 | } 39 | 40 | } 41 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/view/file_success.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 4 | <%@page isELIgnored="false"%> 5 | 6 | 7 | 8 | 9 | Insert title here 10 | 15 | 16 | 17 |
18 |

File Upload Sucessfully

19 | 20 |
21 | 22 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/webapp/WEB-INF/resources/component/all_link.jsp: -------------------------------------------------------------------------------- 1 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /Enotes_Tracker/src/main/java/com/becoder/config/AuthHandler.java: -------------------------------------------------------------------------------- 1 | package com.becoder.config; 2 | 3 | import javax.servlet.http.HttpServletRequest; 4 | import javax.servlet.http.HttpServletResponse; 5 | 6 | import org.springframework.web.servlet.HandlerInterceptor; 7 | 8 | import com.becoder.entity.User; 9 | 10 | public class AuthHandler implements HandlerInterceptor { 11 | 12 | @Override 13 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) 14 | throws Exception { 15 | 16 | User user = (User) request.getSession().getAttribute("userObj"); 17 | if (user != null) { 18 | return true; 19 | } else { 20 | // response.sendRedirect("/login"); 21 | response.getWriter().print("

Please Login

"); 22 | return false; 23 | } 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Spring_MVC/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/annot/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.autowire.annot; 2 | 3 | import org.springframework.beans.factory.annotation.Autowired; 4 | import org.springframework.beans.factory.annotation.Qualifier; 5 | 6 | public class Student { 7 | 8 | @Autowired 9 | @Qualifier("ad2") 10 | private Address address; 11 | 12 | /* 13 | * public Student(Address address) { super(); this.address = address; 14 | * System.out.println("constructor Injection"); } 15 | */ 16 | public Address getAddress() { 17 | return address; 18 | } 19 | 20 | public void setAddress(Address address) { 21 | System.out.println("Setter Injection"); 22 | this.address = address; 23 | } 24 | 25 | @Override 26 | public String toString() { 27 | return "Student [address=" + address + "]"; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /AAA/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Enotes_Tracker/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ORM/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ref/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /1_Spring_Core/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ref/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /4_Spring_JDBC/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /5_Spring_ORM/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/annot/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /First_Spring_App/src/test/java/com/becoder/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/target/classes/com/becoder/annot/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /7_Register_Form_JDBC/.settings/org.eclipse.wst.common.component: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Spring_App/src/test/java/com/becoder/Spring_App/AppTest.java: -------------------------------------------------------------------------------- 1 | package com.becoder.Spring_App; 2 | 3 | import junit.framework.Test; 4 | import junit.framework.TestCase; 5 | import junit.framework.TestSuite; 6 | 7 | /** 8 | * Unit test for simple App. 9 | */ 10 | public class AppTest 11 | extends TestCase 12 | { 13 | /** 14 | * Create the test case 15 | * 16 | * @param testName name of the test case 17 | */ 18 | public AppTest( String testName ) 19 | { 20 | super( testName ); 21 | } 22 | 23 | /** 24 | * @return the suite of tests being tested 25 | */ 26 | public static Test suite() 27 | { 28 | return new TestSuite( AppTest.class ); 29 | } 30 | 31 | /** 32 | * Rigourous Test :-) 33 | */ 34 | public void testApp() 35 | { 36 | assertTrue( true ); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /5_Spring_ORM/src/main/java/com/becoder/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import javax.persistence.Entity; 4 | import javax.persistence.Id; 5 | 6 | @Entity 7 | public class Student { 8 | 9 | @Id 10 | private int id; 11 | 12 | private String name; 13 | 14 | private String address; 15 | 16 | public int getId() { 17 | return id; 18 | } 19 | 20 | public void setId(int id) { 21 | this.id = id; 22 | } 23 | 24 | public String getName() { 25 | return name; 26 | } 27 | 28 | public void setName(String name) { 29 | this.name = name; 30 | } 31 | 32 | public String getAddress() { 33 | return address; 34 | } 35 | 36 | public void setAddress(String address) { 37 | this.address = address; 38 | } 39 | 40 | @Override 41 | public String toString() { 42 | return "Student [id=" + id + ", name=" + name + ", address=" + address + "]"; 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /Spring_MVC/src/main/webapp/WEB-INF/view/login.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="java.util.List"%> 2 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 3 | pageEncoding="ISO-8859-1"%> 4 | <%@page isELIgnored="false" %> 5 | 6 | 7 | 8 | 9 | Insert title here 10 | 11 | 12 |

Login Page

13 | 14 | <%-- <% 15 | String className=(String)request.getAttribute("Class"); 16 | Integer regNum=(Integer)request.getAttribute("regnumber"); 17 | List nameList=(List)request.getAttribute("nameList"); 18 | %> 19 | 20 | 21 |

Class : <%=className %>

22 |

Reg Num : <%=regNum %>

23 |

Name: <%=nameList %>

--%> 24 | 25 | 26 |

Class : ${className }

27 |

Reg Num : ${regnumber }

28 |

Name: ${nameList }

29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/spel/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/spel/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /5_Spring_ORM/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=1.8 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 13 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore 14 | org.eclipse.jdt.core.compiler.release=disabled 15 | org.eclipse.jdt.core.compiler.source=1.8 16 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/spel/Test.java: -------------------------------------------------------------------------------- 1 | package com.becoder.spel; 2 | 3 | import org.springframework.context.ApplicationContext; 4 | import org.springframework.context.support.ClassPathXmlApplicationContext; 5 | import org.springframework.expression.spel.standard.SpelExpressionParser; 6 | 7 | public class Test { 8 | 9 | public static void main(String[] args) { 10 | ApplicationContext context = new ClassPathXmlApplicationContext("com/becoder/spel/config.xml"); 11 | 12 | Student st = context.getBean("student", Student.class); 13 | //System.out.println(st.terinaryCheck); 14 | 15 | //System.out.println(st.num); 16 | //System.out.println(st.result); 17 | 18 | 19 | SpelExpressionParser parser=new SpelExpressionParser(); 20 | org.springframework.expression.Expression ex=parser.parseExpression("'Hello world'"); 21 | System.out.println(ex.getValue()); 22 | 23 | 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/spel/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.spel; 2 | 3 | import org.springframework.beans.factory.annotation.Value; 4 | import org.springframework.stereotype.Component; 5 | 6 | @Component 7 | public class Student { 8 | 9 | @Value("#{2+3}") 10 | public int sum; 11 | 12 | @Value("#{5-3}") 13 | public int sub; 14 | 15 | @Value("#{2*3}") 16 | public int mul; 17 | 18 | @Value("#{15/3}") 19 | public int div; 20 | 21 | @Value("#{1 lt 3}") 22 | public boolean equalvalid; 23 | 24 | public static String call() 25 | { 26 | return "Method Call"; 27 | } 28 | 29 | 30 | @Value("#{1==3 || 2==2}") 31 | public boolean checkStatus; 32 | 33 | 34 | @Value("#{2<3 ? 'Yes' : 'NO'}") 35 | public String terinaryCheck; 36 | 37 | @Value("#{T(java.lang.Math).PI}") 38 | public int num; 39 | 40 | 41 | @Value("#{T(com.becoder.spel.Student).call()}") 42 | public String result; 43 | 44 | } 45 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/impl/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.impl; 2 | 3 | import org.springframework.beans.factory.DisposableBean; 4 | import org.springframework.beans.factory.InitializingBean; 5 | 6 | public class Student implements InitializingBean,DisposableBean{ 7 | 8 | private int id; 9 | 10 | private String name; 11 | 12 | public int getId() { 13 | return id; 14 | } 15 | 16 | public void setId(int id) { 17 | this.id = id; 18 | } 19 | 20 | public String getName() { 21 | return name; 22 | } 23 | 24 | public void setName(String name) { 25 | this.name = name; 26 | } 27 | 28 | @Override 29 | public String toString() { 30 | return "Student [id=" + id + ", name=" + name + "]"; 31 | } 32 | 33 | public void destroy() throws Exception { 34 | System.out.println("Destroy Object"); 35 | 36 | } 37 | 38 | public void afterPropertiesSet() throws Exception { 39 | System.out.println("Initlization Object"); 40 | 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/primitive/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.primitive; 2 | 3 | public class Student { 4 | 5 | private int id; 6 | 7 | private String name; 8 | 9 | private String address; 10 | 11 | @Override 12 | public String toString() { 13 | return "Student [id=" + id + ", name=" + name + ", address=" + address + "]"; 14 | } 15 | 16 | public int getId() { 17 | return id; 18 | } 19 | 20 | public void setId(int id) { 21 | 22 | System.out.println("setter injection : id"); 23 | 24 | this.id = id; 25 | } 26 | 27 | public String getName() { 28 | return name; 29 | } 30 | 31 | public void setName(String name) { 32 | 33 | System.out.println("setter injection : name"); 34 | this.name = name; 35 | } 36 | 37 | public String getAddress() { 38 | return address; 39 | } 40 | 41 | public void setAddress(String address) { 42 | 43 | System.out.println("setter injection : Address"); 44 | this.address = address; 45 | } 46 | 47 | } 48 | -------------------------------------------------------------------------------- /8_SpringMVC_ORM/src/main/webapp/WEB-INF/view/file_upload.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | 4 | 5 | 6 | 7 | Insert title here 8 | 13 | 14 | 15 | 16 |
17 |

File Uploading Example

18 |
19 |
20 | 21 |
22 |
23 | 24 |
25 |
26 |
27 | 28 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/orm/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.orm; 2 | 3 | import javax.persistence.Entity; 4 | import javax.persistence.Id; 5 | 6 | @Entity 7 | public class Student { 8 | 9 | @Id 10 | private int id; 11 | 12 | private String name; 13 | 14 | private String addres; 15 | 16 | public Student() { 17 | super(); 18 | // TODO Auto-generated constructor stub 19 | } 20 | 21 | public Student(int id, String name, String addres) { 22 | super(); 23 | this.id = id; 24 | this.name = name; 25 | this.addres = addres; 26 | } 27 | 28 | public int getId() { 29 | return id; 30 | } 31 | 32 | public void setId(int id) { 33 | this.id = id; 34 | } 35 | 36 | public String getName() { 37 | return name; 38 | } 39 | 40 | public void setName(String name) { 41 | this.name = name; 42 | } 43 | 44 | public String getAddres() { 45 | return addres; 46 | } 47 | 48 | public void setAddres(String addres) { 49 | this.addres = addres; 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/ci/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | java 25 | python 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/ci/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | java 25 | python 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/src/main/java/com/springmvc/HomeController.java: -------------------------------------------------------------------------------- 1 | package com.springmvc; 2 | 3 | import org.springframework.stereotype.Controller; 4 | import org.springframework.web.bind.annotation.ModelAttribute; 5 | import org.springframework.web.bind.annotation.RequestMapping; 6 | import org.springframework.web.bind.annotation.RequestMethod; 7 | import org.springframework.web.bind.annotation.RequestParam; 8 | 9 | import com.springmvc.entity.User; 10 | 11 | @Controller 12 | public class HomeController { 13 | 14 | @RequestMapping("/home") 15 | public String home() { 16 | return "home"; 17 | } 18 | 19 | @RequestMapping("/register") 20 | public String signup() { 21 | return "register"; 22 | } 23 | 24 | @RequestMapping(path = "/createUser", method = RequestMethod.POST) 25 | public String registerUser(@ModelAttribute User user,@RequestParam("img") String img) { 26 | System.out.println("Image Name="+img); 27 | System.out.println(user); 28 | return "register"; 29 | } 30 | 31 | } 32 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/src/main/java/com/becoder/annot/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.annot; 2 | 3 | import javax.annotation.PostConstruct; 4 | import javax.annotation.PreDestroy; 5 | 6 | import org.springframework.beans.factory.DisposableBean; 7 | import org.springframework.beans.factory.InitializingBean; 8 | 9 | public class Student { 10 | 11 | private int id; 12 | 13 | private String name; 14 | 15 | public int getId() { 16 | return id; 17 | } 18 | 19 | public void setId(int id) { 20 | this.id = id; 21 | } 22 | 23 | public String getName() { 24 | return name; 25 | } 26 | 27 | public void setName(String name) { 28 | this.name = name; 29 | } 30 | 31 | @Override 32 | public String toString() { 33 | return "Student [id=" + id + ", name=" + name + "]"; 34 | } 35 | 36 | @PostConstruct 37 | public void init() { 38 | System.out.println("Initlization Object"); 39 | 40 | } 41 | 42 | @PreDestroy 43 | public void destroy() throws Exception { 44 | System.out.println("Destroy Object"); 45 | 46 | } 47 | 48 | } 49 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/jdbc/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.jdbc; 2 | 3 | public class Student { 4 | 5 | private int id; 6 | 7 | private String name; 8 | 9 | private String address; 10 | 11 | public int getId() { 12 | return id; 13 | } 14 | 15 | public void setId(int id) { 16 | this.id = id; 17 | } 18 | 19 | public String getName() { 20 | return name; 21 | } 22 | 23 | public void setName(String name) { 24 | this.name = name; 25 | } 26 | 27 | public String getAddress() { 28 | return address; 29 | } 30 | 31 | public void setAddress(String address) { 32 | this.address = address; 33 | } 34 | 35 | @Override 36 | public String toString() { 37 | return "Student [id=" + id + ", name=" + name + ", address=" + address + "]"; 38 | } 39 | 40 | public Student(int id, String name, String address) { 41 | super(); 42 | this.id = id; 43 | this.name = name; 44 | this.address = address; 45 | } 46 | 47 | public Student() { 48 | super(); 49 | // TODO Auto-generated constructor stub 50 | } 51 | 52 | 53 | 54 | 55 | } 56 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/collection/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | india 16 | Usa 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 123 25 | 345 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/collection/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | india 16 | Usa 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 123 25 | 345 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/primitive/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /1_Spring_Core/target/classes/com/becoder/primitive/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/src/main/webapp/WEB-INF/spring-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/src/main/webapp/WEB-INF/view/home.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 2 | pageEncoding="ISO-8859-1"%> 3 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 4 | <%@page isELIgnored="false"%> 5 | 6 | 7 | 8 | 9 | 10 | Insert title here 11 | 16 | 17 | 18 | 19 |
20 |

Home page

21 | 22 | Login 23 | 24 | 25 | 26 | Profile 27 | 28 | 29 | Logout 30 | 31 | 32 | 33 |
34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /Spring_MVC/src/main/webapp/WEB-INF/spring-servlet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 15 | 17 | 18 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/sterotype/Emp.java: -------------------------------------------------------------------------------- 1 | package com.becoder.sterotype; 2 | 3 | import java.util.List; 4 | 5 | import org.springframework.beans.factory.annotation.Value; 6 | import org.springframework.context.annotation.Scope; 7 | import org.springframework.stereotype.Component; 8 | 9 | @Component("employee") 10 | @Scope("prototype") 11 | public class Emp { 12 | 13 | @Value("1") 14 | private int id; 15 | 16 | @Value("Becoder") 17 | private String name; 18 | 19 | @Value("#{ad}") 20 | private List address; 21 | 22 | public int getId() { 23 | return id; 24 | } 25 | 26 | public void setId(int id) { 27 | this.id = id; 28 | } 29 | 30 | public String getName() { 31 | return name; 32 | } 33 | 34 | public void setName(String name) { 35 | this.name = name; 36 | } 37 | 38 | public List getAddress() { 39 | return address; 40 | } 41 | 42 | public void setAddress(List address) { 43 | this.address = address; 44 | } 45 | 46 | @Override 47 | public String toString() { 48 | return "Emp [id=" + id + ", name=" + name + ", address=" + address + "]"; 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/autowire/annot/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/autowire/annot/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /AAA/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /ORM/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /1_Spring_Core/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /4_Spring_JDBC/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /5_Spring_ORM/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Spring_App/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /2_Spring_Lifecycle/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /First_Spring_App/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Spring_MVC/src/main/webapp/WEB-INF/view/home.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="java.util.List"%> 2 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" 3 | pageEncoding="ISO-8859-1"%> 4 | <%@page isELIgnored="false"%> 5 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> 6 | 7 | 8 | 9 | 10 | Insert title here 11 | 12 | 13 |

Welcome to home page

14 | 15 | <%-- <% 16 | String name = (String) request.getAttribute("name"); 17 | Integer roll = (Integer) request.getAttribute("roll"); 18 | List nameList=(List)request.getAttribute("nameList"); 19 | 20 | 21 | %> 22 | 23 |

Name : <%=name%>

24 |

Roll :<%=roll%>

25 |

Name List : 26 | 27 | <% for(String s:nameList) 28 | {%> 29 |

<%=s %>

30 | <%}%> 31 | 32 | --%> 33 | 34 |

Name : ${name}

35 |

Roll :${roll }

36 |

Name List :

37 | 38 | 39 |

40 |
41 | 42 | 43 | login 44 | 45 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/src/main/java/com/becoder/sterotype/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /3_Spring_Autowiring/target/classes/com/becoder/sterotype/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 13 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /1_Spring_Core/src/main/java/com/becoder/collection/Student.java: -------------------------------------------------------------------------------- 1 | package com.becoder.collection; 2 | 3 | import java.util.List; 4 | import java.util.Map; 5 | import java.util.Set; 6 | 7 | public class Student { 8 | 9 | private String name; 10 | 11 | private List address; 12 | 13 | private Set phno; 14 | 15 | private Map course; 16 | 17 | public String getName() { 18 | return name; 19 | } 20 | 21 | public void setName(String name) { 22 | this.name = name; 23 | } 24 | 25 | public List getAddress() { 26 | return address; 27 | } 28 | 29 | public void setAddress(List address) { 30 | this.address = address; 31 | } 32 | 33 | public Set getPhno() { 34 | return phno; 35 | } 36 | 37 | public void setPhno(Set phno) { 38 | this.phno = phno; 39 | } 40 | 41 | public Map getCourse() { 42 | return course; 43 | } 44 | 45 | public void setCourse(Map course) { 46 | this.course = course; 47 | } 48 | 49 | @Override 50 | public String toString() { 51 | return "Student [name=" + name + ", address=" + address + ", phno=" + phno + ", course=" + course + "]"; 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /6_Spring_MVC_Form/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | com.springmvc 6 | 6_Spring_MVC_Form 7 | war 8 | 0.0.1-SNAPSHOT 9 | 6_Spring_MVC_Form Maven Webapp 10 | http://maven.apache.org 11 | 12 | 13 | org.springframework 14 | spring-webmvc 15 | 5.3.25 16 | 17 | 18 | 19 | javax.servlet 20 | jstl 21 | 1.2 22 | 23 | 24 | junit 25 | junit 26 | 3.8.1 27 | test 28 | 29 | 30 | 31 | 6_Spring_MVC_Form 32 | 33 | 34 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/Shyam.java: -------------------------------------------------------------------------------- 1 | package com.becoder; 2 | 3 | import javax.annotation.PostConstruct; 4 | import javax.annotation.PreDestroy; 5 | 6 | public class Shyam { 7 | 8 | private int id; 9 | 10 | private String shName; 11 | 12 | public int getId() { 13 | return id; 14 | } 15 | 16 | public void setId(int id) { 17 | this.id = id; 18 | } 19 | 20 | public String getShName() { 21 | return shName; 22 | } 23 | 24 | public void setShName(String shName) { 25 | this.shName = shName; 26 | } 27 | 28 | @Override 29 | public String toString() { 30 | return "Shyam [id=" + id + ", shName=" + shName + "]"; 31 | } 32 | 33 | /* 34 | * public Shyam() { super(); // TODO Auto-generated constructor stub } 35 | * 36 | * public int getId() { return id; } 37 | * 38 | * public void setId(int id) { this.id = id; } 39 | * 40 | * public void doEat() { System.out.println("Shyam is Eating"); } 41 | * 42 | * public void doRead() { System.out.println("Shyam is Reading"); } 43 | * 44 | * @PostConstruct public void init() { System.out.println("inti"); } 45 | * 46 | * 47 | * @PreDestroy public void destroy() { System.out.println("destroy"); } 48 | */ 49 | } 50 | -------------------------------------------------------------------------------- /9_Spring_Inteceptor/pom.xml: -------------------------------------------------------------------------------- 1 | 4 | 4.0.0 5 | com.springmvc 6 | 9_Spring_Inteceptor 7 | war 8 | 0.0.1-SNAPSHOT 9 | 9_Spring_Inteceptor Maven Webapp 10 | http://maven.apache.org 11 | 12 | 13 | org.springframework 14 | spring-webmvc 15 | 5.3.27 16 | 17 | 18 | 19 | javax.servlet 20 | jstl 21 | 1.2 22 | 23 | 24 | junit 25 | junit 26 | 3.8.1 27 | test 28 | 29 | 30 | 31 | 9_Spring_Inteceptor 32 | 33 | 34 | -------------------------------------------------------------------------------- /AAA/src/main/java/com/becoder/jdbc/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 13 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /AAA/target/classes/com/becoder/jdbc/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 13 | 15 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /Spring_MVC/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Spring_MVC 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.m2e.core.maven2Builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.jdt.core.javanature 33 | org.eclipse.m2e.core.maven2Nature 34 | org.eclipse.wst.common.project.facet.core.nature 35 | org.eclipse.wst.jsdt.core.jsNature 36 | 37 | 38 | -------------------------------------------------------------------------------- /Enotes_Tracker/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | Enotes_Tracker 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.wst.common.project.facet.core.builder 15 | 16 | 17 | 18 | 19 | org.eclipse.m2e.core.maven2Builder 20 | 21 | 22 | 23 | 24 | org.eclipse.wst.validation.validationbuilder 25 | 26 | 27 | 28 | 29 | 30 | org.eclipse.jem.workbench.JavaEMFNature 31 | org.eclipse.wst.common.modulecore.ModuleCoreNature 32 | org.eclipse.jdt.core.javanature 33 | org.eclipse.m2e.core.maven2Nature 34 | org.eclipse.wst.common.project.facet.core.nature 35 | org.eclipse.wst.jsdt.core.jsNature 36 | 37 | 38 | --------------------------------------------------------------------------------