Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

integrating a web application with a database

 
Cathy Valdez
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OS=Windows98, Tomcat v. 4.1.27.exe, J2SE/JDK v. 1.3.1
contents of AUTOEXEC.BAT:
set PATH=c:\jdk1.3.1\bin;%PATH%
set CLASSPATH=%CLASSPATH%;.;c:\ServletDevel;c:\Tomcat\common\lib\servlet.jar
set JAVA_HOME=c:\jdk1.3.1

I'm new to servlets. I want to know how this integrating web applications with databases done. What is that web container that should be installed in my PC? And what is that database management system that should be installed in my PC?
Below are tasks that should be completed in integrating a web application with a database:
- Develop a servlet context listener to initialize a connection pool and place it in a global naming context.
- Configure the deployment descriptor to declare the servlet context listener and set the servlet context initialization parameters
- Deploy the Web application
- Activate the Web application
How are tasks above done? Can anybody there help?
Any information would be greatly appreciated.
Thanks in advance.

Regards,
Cathy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic