Sample data source context.xml file

  • jdbc/project: Connection name
  • Container: Authentication type
  • javax.sql.DataSource: Connection type
  • maxActive: Maximum active connection allowed
  • maxIdle: Maximum inactive connection allowed in the pool
  • username: Database username
  • password: Database password
  • driverClassName: Class name of the MySQL driver
  • url: URL of the database

Full stack Java Developer

   Buy me a coffee!

 

PayTM QR (INDIA)

Download file

Leave a Reply

avatar
  Subscribe  
Notify of
Close Menu