Solved

connectionpool jar file

Posted on 2002-06-28
2
458 Views
Last Modified: 2013-11-24
I am trying to compile my servlet but I keep getting an error.  "can't find connectionPool in the class myreminder".  I was told that I am missing the connectionPool jar, can anyone tell me where to get it???? I have been on the Java Sun site.  I need this rather quickly.  Thanks!!!!!!!!

This is part of my code:
package myreminder;

import ConnectionPool.*;
import java.sql.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;


public class myremLogic {
   //connection pool
  public void setConnectionPool(ConnectionPool pConnectionPool){
    connectionPool = pConnectionPool;
  }
0
Comment
Question by:oshe127
2 Comments
 
LVL 1

Accepted Solution

by:
mraible earned 50 total points
Comment Utility
This is no "ConnectionPool" class per say, but there are "Connection Pooling" mechanisms you can use (see below).  Also, most J2EE app servers will have this built-in.  For instance, in Tomcat and Weblogic, you just set it up in the server's administration, and then look the connection up via JNDI.  Your JDBC code will look the same.

Here are a couple connection pooling packages that I know of:

Tyrex:  http://tyrex.exolab.org
Poolman: http://sourceforge.net/projects/poolman/
DBCP from Jakarta: http://jakarta.apache.org/commons/index.html

HTH,

Matt
0
 

Author Comment

by:oshe127
Comment Utility
Thanks Matt,

I couldn't find the Jakarta component, you lead me straight to it.

Rhonda
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now