Solved

connectionpool jar file

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
check java version using powershell 13 441
iterator/ListIterator approach 17 65
servlet and mdb, jms error 1 79
spring maven example issues 3 93
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

738 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