Back to Browse

How to Connect Java Servlet with MySQL using JNDI Data Source Connection

2.7K views
Mar 8, 2022
12:27

Hi, In this blog, you will learn How to configure JNDI DataSource for Database Connection Pooling in Eclipse. This video covers the steps like MySQL database and table creation, downloading java MySql connector, configuring context.xml JNDI File, and executing java servlet file to fetch the data from the data table. Here, you will learn how to configure your java dynamic web project to access the JNDI Data Source. Download MySQL Connector https://downloads.mysql.com/archives/c-j/ For Resources/Code used in the Video i.e. context.xml and ServletJNDIDemo.java File https://jcodebook.com/connecting-servlet-with-mysql-database-using-jndi-datasource-connection-pool/ or https://jcodebook.com/blog/ Recommended link How to Connect Servlet Program with MySQL Database https://youtu.be/SS7Lp1SkXxg How to Create and Run First Servlet Project in Eclipse https://youtu.be/LYSqzLEBkuk All the Best. Happy Learning!!

Download

1 formats

Video Formats

360pmp417.0 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to Connect Java Servlet with MySQL using JNDI Data Source Connection | NatokHD