I had one doubt , here we are connecting to the single database . What if i had to configure the database dynamically and want to run my query on particular database . In this case if User A comes and connect to database DB1 , then if second user comes and want to connect to DB2 and run the query . in these 2 scenarios new connection will be created initially . But after this , if any user comes and tries to connect to DB1 or DB2 then we have to use the previously connected database objects . Here we need to reuse the already created database objects and also want to pool the database connections . What approach do you follow ?
it’s not strictly necessary to learn Servlets and JSP before Spring Boot, having some knowledge of them can be beneficial. If you’re eager to get started with modern web development in Java, you can begin with Spring Boot and learn the older technologies as needed.
Please Subscribe and Support me
gud 1.
Nice video. Please make videos on these kinda things and educate us 😊.
Sure 😊
I had one doubt , here we are connecting to the single database . What if i had to configure the database dynamically and want to run my query on particular database . In this case if User A comes and connect to database DB1 , then if second user comes and want to connect to DB2 and run the query . in these 2 scenarios new connection will be created initially . But after this , if any user comes and tries to connect to DB1 or DB2 then we have to use the previously connected database objects . Here we need to reuse the already created database objects and also want to pool the database connections . What approach do you follow ?
Hey I need ur help as a beginner should I learn servlet JSP to learn spring boot or not
it’s not strictly necessary to learn Servlets and JSP before Spring Boot, having some knowledge of them can be beneficial. If you’re eager to get started with modern web development in Java, you can begin with Spring Boot and learn the older technologies as needed.