Giter Club home page Giter Club logo

spring-framework-5's Introduction

Spring_Framework_5_denemeleri

1 - spring-framework dependency injection example

this project is about spring dependency injection. we are creating a maven project. We include the spring-context.jar in the pom.xml file. then we create and design the beans.xml file. We run latest the project

2 - spring-framework dependency injection example

this project is about spring dependency injection. we create and design the beans.xml and beans2.xml file. We run the latest project with beans.xml and beans2.xml respectively

3 - spring-annotations(a)

this project is about spring annotations(a). we create and design the beans.xml. then use init-methods and param methods in bean.xml

4 - spring-annotations(b)

this project is about spring annotations(b). @Autowired and @Qualifier("...") usage.

- first step: click context checkbox in beanx.xml->namespaces.
- second step : then we have to write
<beans>
    <!--we have to write this line <onctext...... -->
    <context:annotation-config></context:annotation-config> 
    ......
    ....
    ..
</beans> 

in beans.xml

5 - springmvc-RequestMapping

how to use @PathVariable | @RequestParam

6 - springmvc-FormHandling(a)

how to use <form:input ... />, <form:textarea .../>, form:checkboxes...../ for spring mvc....

7 - springmvc-FormHandling(b)

how to use <form:select ... />, <form:radiobutton ... />, <form:radiobuttons ... />, for spring mvc...

8 - springmvc-FormValidation(a)

how to use <form:errors .....> for Form Validation in spring mvc

9 - springmvc-FormValidation(b) (form validation with hibernate-validator)

Beginner level form validation with hibernate-validator. How to use @NotNull, @Email, @Size in pojo class and use @InitBinder in controller class

10 - springmvc-FormValidation(c) (form validation with hibernate-validator)

pre-intermediate form validation with hibernate-validator. How to use @NotEmpty, @Min, @Max in pojo class. How to use Filename.properties file for form validation

- spring-jdbc-1

how to delete, update, select data for spring framework in maven project

First step : write the sql query into mysql workbench for mysql database
SQL QUERY
CREATE DATABASE IF NOT EXISTS `ogrenci_schema`;

USE `ogrenci_schema`;

CREATE TABLE `student` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `first_name` varchar(45) DEFAULT NULL,
 `last_name` varchar(45) DEFAULT NULL,
 `email` varchar(45) DEFAULT NULL,
 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

INSERT INTO `student` VALUES 
(1,'fatih','Cetin','[email protected]'),
(2,'Ayse','Korkmaz','[email protected]'),
(3,'Mustafa','Agbaba','[email protected]'),
(4,'Veli','Sezer','[email protected]'),
(5,'Seda','sakin','[email protected]');
(6,'celal','aygar','[email protected]');
Second step : run the project

- spring-mvc-hibernate (Spring MVC Hibernate MySQL Integration CRUD)

Spring MVC Hibernate MySQL Integration CRUD Example. This project consist (insert, update and delete) methods with hibernate and spring framework 5.

First step : write the sql query into mysql workbench for mysql database
SQL QUERY
CREATE DATABASE IF NOT EXISTS `ogrenci_schema`;

USE `ogrenci_schema`;

CREATE TABLE `student` (
 `id` int(11) NOT NULL AUTO_INCREMENT,
 `first_name` varchar(45) DEFAULT NULL,
 `last_name` varchar(45) DEFAULT NULL,
 `email` varchar(45) DEFAULT NULL,
 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

INSERT INTO `student` VALUES 
(1,'fatih','Cetin','[email protected]'),
(2,'Ayse','Korkmaz','[email protected]'),
(3,'Mustafa','Agbaba','[email protected]'),
(4,'Veli','Sezer','[email protected]'),
(5,'Seda','sakin','[email protected]');
Second step : run the project with anything server like tomcat wildfly on eclipse

spring-framework-5's People

Contributors

celalaygar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.