Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

connectionpool jar file

Posted on 2002-06-28
2
Medium Priority
?
466 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 Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This video teaches viewers about errors in exception handling.
Suggested Courses

618 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