?
Solved

connectionpool jar file

Posted on 2002-06-28
2
Medium Priority
?
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
mraible earned 200 total points
ID: 7119549
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
ID: 7121552
Thanks Matt,

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

Rhonda
0

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Suggested Courses
Course of the Month11 days, 1 hour left to enroll

770 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