Title

An introduction to JDBC, JNDI and Spring JDBC with Tomcat

Spring JDBC Support

4.88 (4 reviews)
Udemy
platform
English
language
Software Engineering
category
instructor
An introduction to JDBC, JNDI and Spring JDBC with Tomcat
1β€―044
students
3.5 hours
content
Dec 2021
last update
$54.99
regular price

What you will learn

What is JDBC - Java Database Connectivity

What is the difference between regular Java JDBC and Spring JDBC

What is a JDBC Connection and an overview of the different types

How to set up a JDBC Datasource Connection

How to use the Spring JDBC Template to access a relational database

Understand JNDI and defining a DB Connection

Use Spring Boot to put together an Embedded Tomcat JDBC CRUD Application

Why take this course?

πŸ“˜ Spring JDBC Support: An Introduction to JDBC, JNDI, and Spring JDBC with Tomcat

Course Overview: Dive into the world of data access with our comprehensive course on Spring JDBC Support. This course is designed to provide you with a solid understanding of how to connect to databases using JDBC, manage database connections efficiently through JNDI, and integrate these functionalities within an embedded Tomcat server using Spring Framework.

What You'll Learn:

  • Course Introduction: Discover the history of JDBC and understand its importance through a real-world user story.
  • Our Spring JDBC Development Environment: Get familiar with the tools and environment you'll be working in.
  • Connecting to the Database: Learn the fundamentals of establishing and managing database connections.
  • DAO with Traditional JDBC vs Spring JDBC: Understand the differences and benefits of using Spring JDBC for data access object (DAO) design.
  • Full CRUD with Spring JDBC Template: Master the implementation of Create, Read, Update, and Delete operations with practical examples.

Why Learn Spring JDBC? πŸš€ Spring JDBC is a robust solution for database connectivity that's:

  • Widely Used: JDBC is a staple in many large companies worldwide.
  • Actively Maintained: With over 20 years of active maintenance, it's a reliable choice.
  • Easy to Integrate: Spring JDBC offers a "quick win" for dealing with legacy JDBC codebases.

Sample User Story: Imagine you're an expatriate living abroad, and you want to access a comprehensive online database of charities operating in your home country. You need to:

  • Find charities by their Tax ID.
  • Search for charities by category (e.g., Environment or Education).
  • Look up charities by program types.

Connecting to MariaDB with JDBC:

  • Establishing a Connection: Learn how to use DriverManager to establish a direct database connection.
  • Using Spring for Connection: Discover how to define a Spring DataSource bean and use it to manage your database connections.

Connecting to MariaDB with JNDI:

  • Using DataSource Objects: Register a DataSource object with a JNDI API, making it easier to retrieve database connections.
    • Launch an embedded Tomcat server from a Java main method.
    • Set up the DataSource and its properties.
    • Utilize the registered DataSource object for your application's needs.
    • Deploy your application using Maven.

Connecting to MariaDB in Embedded Tomcat:

  • Using Spring Application Context: Learn how to integrate JNDI with Spring by setting up a context listener and retrieving the Spring DataSource bean within your servlets.

Using Spring Annotation Config:

  • Annotation-based Configuration: Streamline your setup by defining the DataSource in a Spring configuration class and accessing it directly within your servlets.

By the end of this course, you'll be equipped with the knowledge to handle database connections securely, efficiently, and with best practices in mind. Whether you're working with traditional JDBC or leveraging the power of Spring JDBC, this course will set you on the path to mastering database interactions within a Tomcat environment. πŸ§™β€β™‚οΈπŸ’»

Join us and unlock the potential of your data access layer with Spring JDBC! πŸŽ‰

Charts

Price

An introduction to JDBC, JNDI and Spring JDBC with Tomcat - Price chart

Rating

An introduction to JDBC, JNDI and Spring JDBC with Tomcat - Ratings chart

Enrollment distribution

An introduction to JDBC, JNDI and Spring JDBC with Tomcat - Distribution chart

Coupons

DateDiscountStatus
29/11/2022100% OFF
expired

Related Topics

2481286
udemy ID
28/07/2019
course created date
03/01/2022
course indexed date
Bot
course submited by