Solved

connectionpool jar file

Posted on 2002-06-28
2
462 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 50 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
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…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

763 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