How to Connect Java Servlet with MySQL using JNDI Data Source Connection
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!!
Видео How to Connect Java Servlet with MySQL using JNDI Data Source Connection автора Java Наставник
Видео How to Connect Java Servlet with MySQL using JNDI Data Source Connection автора Java Наставник
Информация
5 декабря 2023 г. 15:54:24
00:12:27
Похожие видео