The Java Spring Tutorial: Learn Java's Popular Web Framework

BY
Udemy

Master Spring MVC and Hibernate, two of the most popular and in-demand web development tools, and the most popular Java web framework.

Mode

Online

Fees

₹ 649 2499

Quick Facts

particular details
Medium of instructions English
Mode of learning Self study
Mode of Delivery Video and Text Based

Course overview

It is an inversion of the control container and application framework for the Java platform. All Java programs can take advantage of the framework's fundamental features, and it has special enhancements for creating web applications on top of the Java EE platform. The framework's popularity in the Java community stems from its role as an extension of the enterprise Java Beans model, despite the fact that it does not mandate a particular programming model. It's free to use and modify the Spring Framework. The inversion of the control container is at the heart of the Spring Framework because it offers a standardized approach to configuring and managing Java objects through reflection. The Java Spring Tutorial: Learn Java's Popular Web Framework certification is made available by Udemy to candidates who aspire to learn the Java web framework, including how to code for the web.

The Java Spring Tutorial: Learn Java's Popular Web Framework online training includes 28  hours of video, four articles, 166 downloadable resources, and a digital certificate upon course completion.

The Java Spring Tutorial: Learn Java's Popular Web Framework online classes consisting of spring, bean configuration, auto wiring, annotation, SPEL, databases, web applications, web forms, AOP, spring security, apache tiles, logging, hibernate, web flow, JSON, AJAX, and spring mail.

The highlights

  • Full Lifetime Access
  • 28 Hours of Video
  • Four Articles
  • 166 Downloadable Resources
  • Access on Mobile and TV
  • Certificate of Completion

Program offerings

  • Online course
  • Learning resources
  • 30-day money-back guarantee
  • Unlimited access

Course and certificate fees

Fees information
₹ 649  ₹2,499
certificate availability

Yes

certificate providing authority

Udemy

What you will learn

Database knowledge

The Java Spring Tutorial: Learn Java's Popular Web Framework certification course, the aspirant will acquire knowledge in the widely used web spring framework, and learn how to use spring and dependency injection to connect the Java objects. Students will gain knowledge in spring framework fundamentals, including how to configure a development environment, use Maven, connect to and manipulate databases with spring and hibernate, and build web applications with Spring MVC. The student will learn about aspect-oriented programming (AOP), Log4J, and JUnit, as well as how to use spring security, JDBC, web forms, apache tiles, and JUnit for managing user accounts in Java.

The syllabus

Getting Started

  • What is Spring?
  • About Spring 4, and bug fix for final project
  • Setting Up Your System
  • Introducing Maven
  • Using Maven on the Command Line
  • Spring "Hello World"
  • Class Path Contexts

Basic Bean Configuration

  • Constructor Arguments
  • Setting Bean Properties
  • Dependency Injection
  • Bean Scope
  • Init and Destroy Methods
  • Factory Beans and Methods
  • The P Namespace
  • Setting List Properties
  • Lists of Beans
  • Inner Beans
  • Property Maps
  • Arbitrary Maps as Bean Properties

Autowiring

  • Autowiring by Type
  • Autowiring by Name
  • Autowiring by Constructor
  • Default Autowiring
  • Removing Autowire Ambiguities

Wiring with Annotations

  • Adding Support for Annotation-Based Wiring
  • The "Autowired" Annotation
  • Optional Beans
  • Using Qualifiers
  • The Resource Annotation (JSR-250)
  • Annotation-Based Init and Destroy Methods
  • The Inject annotation (JSR-330)
  • Automatic Bean Discovery
  • Setting Property Values via Annotations

Spring Expression Language (SPEL)

  • Introducing SPEL
  • Using SPEL with Annotations
  • Some useful SPEL Operators

Working with Databases

  • Creating a Database with MySQL
  • Using Property Files
  • Implementing the DAO Pattern
  • Downloading a Connector Jar
  • Configuring Connection Pooling with Apache DBCP
  • JDBC Templates
  • Querying the Database
  • Database Exceptions
  • Named Parameters
  • Update Statements
  • Getting Placeholder Values from Beans
  • Adding an Update Method to the DAO
  • Batch Updates: Prepared Statements
  • Transactions

Web Application Basics with Spring MVC

  • A Basic Non-Spring Web App
  • Bringing in Maven
  • The Dispatcher Servlet
  • Adding a Controller
  • View Resolvers
  • Adding Data to the Session
  • Using Spring Data Models
  • Using JSTL (JSP Standard Tag Library)
  • Configuring a JNDI Data Source
  • Bringing in the DAO Code
  • Loading Bean Containers with ContextLoaderListener
  • Creating a Datasource Bean
  • Adding a Service Layer
  • Adding a New Controller
  • Getting URL Parameters

Working with Web Forms

  • Creating a Form
  • Getting Form Values
  • Adding CSS Styles
  • Serving Static Resources
  • Adding Hibernate Form Validation Support
  • More Form Validation Tags
  • Making Forms Remember Values
  • Displaying Form Validation Errors
  • Creating a Custom Validation Annotation
  • Hooking Up the Controller and Database Code
  • Exception Handling in Spring MVC

Aspect-Oriented Programming (AOP)

  • A Base Project for Working with Aspects
  • A Simple Aspect Example
  • Annotation-Based Aspects
  • Wildcards in Pointcut Expressions
  • Advice Types: After, Around and Others
  • Proxies, Interfaces and Aspects
  • The “Within” Pointcut Designator
  • “This”, “Target” and Matching Subpackages
  • Annotation-Specific PCDs
  • The “Bean” PCD
  • The “Args” PCD
  • Getting Target Method Arguments
  • Getting Arguments Using “Args”
  • Combining Pointcuts
  • Introductions: Adding Functionality Using Aspects

Spring Security and Managing Users

  • Servlets Filters: A Review
  • Adding a Spring Security Filter
  • Adding a Spring Login Form
  • Serving Static Resources: Access Rules
  • Customising the Login Form
  • Displaying Login Errors
  • Authorising Users from a Database
  • Adding a “Create Account” Form
  • Making the “Create Account” Form Work
  • Adding Validation to the User Form
  • Dealing with Duplicate Usernames
  • Storing Validation Messages in a Property File
  • Using JQuery to verify the password
  • Using Property File Values in JSPs
  • Adding a Logout Link
  • Working With Roles
  • Outputting Text Based on Authentication Status
  • Row Mapping with BeanPropertyRowMapper
  • Using Custom Authentication Queries: Case Sensitive Usernames
  • Method-Level Access Control
  • Catching Secure Annotation Violations
  • Adding “Remember Me” Functionality
  • Encrypting Passwords

Apache Tiles and Spring MVC

  • Tiles Dependencies
  • “Hello World” Apache Tiles
  • Adding Headers and Footers
  • Formatting the Offers Application
  • Creating Tiles from JSP Files

Logging and Testing

  • Adding Log4J Logging
  • Resolving Logging Conflicts
  • Using Logging
  • Creating a MySQL Test Database
  • Using Spring Profiles
  • Creating JUnit Tests
  • Coding the JUnit DAO Tests

Improving the "Offers" Web Application

  • Normalizing the Database
  • Querying Tables with Foreign Keys and Refactoring the DAO Layer
  • Refactoring the Web Layer
  • Getting the Username of the Logged-In User
  • Deleting from Tables with Foreign Keys and a Little Bugfix
  • Custom RowMappers
  • Conditional Database-Dependent Text in JSPs
  • Editing Database Objects with Forms
  • Multiple Form Submits and Optional Parameters
  • Adding a Confirm Dialog with JQuery

Hibernate

  • Introducing Hibernate
  • A Simple Hibernate Query
  • Saving Objects
  • Validation Groups and Password Encryption
  • Translating Hibernate Exceptions to Spring Exceptions
  • Queries with Criteria
  • Mapping Many-to-One Relationships
  • Restrictions on Joined Tables
  • Multiple Criteria
  • Updating Objects
  • Deleting Objects
  • Completing the Offers DAO

Spring Webflow

  • Introducing Webflow
  • Creating a Flow Registry
  • Hooking Up URLs to Webflows
  • Connecting Webflow and Apache Tiles
  • Creating a “Messages” Table
  • Creating a “Message” Class
  • Adding a Message Form
  • Transitions
  • Action States
  • Linking to Webflows
  • Validating Webflow Forms
  • Accessing User Details in Webflow

JSON and AJAX

  • Creating a JSON Server
  • Updating Dynamically with jQuery
  • Generating Pages with Javascript
  • Adding Reply Boxes
  • Showing and Hiding the Reply Forms
  • Stopping and Starting the Timer
  • Getting the Text from the Right TextArea
  • Posting Back JSON Data
  • Giving the User Feedback
  • Sending Email with Springmail

Outro

  • Some Final Words …

Appendix

  • Database SQL
  • All-in-one source code zip
  • Frequently Asked Questions: Problems? Check here ...
  • Recommended Books

Instructors

Mr John Purcell

Mr John Purcell
Software Development Trainer
Freelancer

Articles

Popular Articles

Latest Articles

Trending Courses

Popular Courses

Popular Platforms

Learn more about the Courses

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

Careers360 App
150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books