Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This tutorial project explains spring-jdbc plus spring-webmvc concepts. First read my spring-jdbc-tutorial git project to understand data access layer and then read this codes to complete A-Z CRUD process from web server UI to data access. Here I used some JSP tag-libs for render Java ModelAndView objects in JSP pages and getting user inputs and…

License

NotificationsYou must be signed in to change notification settings

sdxcod/spring-jdbc-mvc-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Core features explained inspring-core-tutorial and Spring JDBC features mentioned inspring-jdbc-tutorial codes in my repository

This tutorial code used to explain Spring JDBC concepts:

  • addspring-context andspring-jdbc andmysql-connector-java plusspring-webmvc and dependencies
  • addjavax.servlet.jsp-api,javax.servlet-api andjstl dependencies for implementing Java server-side UI.
  • add DAO model, repository interface and repo implementations
  • add datasource bean definition with spring-resource loading configurations
  • add bean for Spring wrappers over Java JDBC drivers same asJdbcTemplate,NamedParameterJdbcTemplate,SimpleJdbcInsert.
  • add service controller(biz-layer) for getting UI request from Spring Dispatcher Servlet and wire with DAO layer to process web requests.
  • support using GET/POST HTTP requests to access CRUD services.
  • usingweb.xml to config Spring web application.
  • using tag libs in JSP view pages to iterate/post and formatting Java objects to HTML contents and pass HTML input forms to Java Object.
  • using @InitBinder to convert String date input to java.util.Date format.
  • add CustomSqlErrorCode translator with SpringSQLErrorCodeSQLExceptionTranslator parent class.

TIP: Database DDL and DML SQL queries is added todb_files folder

About

This tutorial project explains spring-jdbc plus spring-webmvc concepts. First read my spring-jdbc-tutorial git project to understand data access layer and then read this codes to complete A-Z CRUD process from web server UI to data access. Here I used some JSP tag-libs for render Java ModelAndView objects in JSP pages and getting user inputs and…

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp