aspose file tools*
The moose likes JDBC and the fly likes integrating a web application with a database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "integrating a web application with a database" Watch "integrating a web application with a database" New topic
Author

integrating a web application with a database

Cathy Valdez
Greenhorn

Joined: Oct 22, 2003
Posts: 23
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: integrating a web application with a database