Skip to content

A collection of materials and resources related to Java JSP, Servlet, Servlet MVC, Spring, Spring MVC, Spring AOP, Spring Security, Hibernate and more developed from a series of courses.

License

Notifications You must be signed in to change notification settings

mdbytes/JavaWebDevComplete

Repository files navigation

JavaWebDevComplete

This repository is a newer version of one which started years ago. With the advent of Jakarta EE, and now Spring 6 and Spring Boot 3, substantial updates have recently been completed. IntelliJ with Maven support was used for all the code and projects here.

A collection of materials and resources related to Java JSP, Servlet, Servlet MVC, Spring, Spring MVC, Spring AOP, Spring Security, Hibernate and more developed from a series of courses.

There are several complete applications written to synthesize learning throughout the material. Screenshots of each functioning application are included in each application folder. These applications are noted for each section below.

The code and applications in this repository utilized Bootstrap css and JavaScript for styling and functionality.

Topics covered within this repository include but are not limited to:

Part 1

JSP and Servlets, MVC Design Pattern with JDBC: Sections 1 - 7

  • Set up your JSP/Servlet development environment with Tomcat and Eclipse
  • Explore JSP scripting elements: Expressions, Scriptlets and Declarations
  • Read HTML form data with JSP and Servlets
  • Manage application state with Sessions to track unique user actions
  • Leverage Cookies to personalize a web site for a specific user
  • Integrate the JSP Standard Tag Library (JSTL) to minimize scriptlet code
  • Build a Multi-Lingual app using Internationalization and JSTL
  • Add database support with JDBC with DAO interface and implementation
  • Build sql prepared statements for: query, insert, update and delete
  • Structure enhanced security access of jsp files
  • Build an MVC application with JSP and Servlets

Part 2

Spring 6, Spring MVC, Spring Boot 3, JPA, Spring Data Rest:
Sections 8 - 15

  • Overview of inversion of control and dependency injection with Spring
  • Spring configuration with XML, Annotations, and no-XML
  • Spring bean scope and life cycle methods
  • Coverage of commonly used annotations include @Component, @Autowired and @Qualifier
  • Implementation of interfaces with dependency injection through constructor, setter methods, and attributes
  • Overview of MVC design pattern implementation with Spring
  • Spring MVC configuration and setup using XML
  • Spring MVC form tag library and validations with Hibernate validator
  • Hibernate basic configuration
  • Hibernate create, read, update and delete (CRUD) operations
  • Hibernate mappings; one to one, one to many and many to many.
  • Spring MVC web application with Hibernate
  • Spring REST (with full database CRUD real-time project)
  • Spring Boot REST (with full database CRUD real-time project)
  • Spring Boot with JPA and Spring Data JPA
  • Spring Boot with Spring Data REST
  • Spring Boot with Thymeleaf

Credit to instructor Chad Darby for introducing so many of these topics and covering them so well in his various courses. Much of the material here is an outgrowth of what Chad has shared.

I highly recommend Chad's courses, all of which can be found here.

While grateful to Chad's courses, all of the code in this repository differs, in part of in some cases in whole, from that provided in the course work. Any errors that exist here are solely mine.

Recently, for example, Section 10 has been expanded substantially for command line testing of database access with Spring JPA Repositories and Service layers.

Update: Getting to some new material the next few weeks related to MVC, Advanced Data Mappings, and AOP.

2008.12.08

About

A collection of materials and resources related to Java JSP, Servlet, Servlet MVC, Spring, Spring MVC, Spring AOP, Spring Security, Hibernate and more developed from a series of courses.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published