Hi,
I am new to JSP/Java development and I am starting to learn how to use it.
So in the page http://www.javaworld.com/jw-01-2001/jw-0119-jspframe.html I get the basic idea of my application architecture.
On this very good article it does not talk about the database access. It just put this on a class and do not access a database on it, just simulate this.
I know the data access will be on a JavaBean. I already did a test with it and it is working.
But on each method I am starting a JDBC connection to the database.
My questions are :
- How to poll the database connections ?
- I can do it just with Tomcat or I will need use a application server (like JBoss) to do it ?
- Any tutorial/examples on this question ?
Danilo.
-
Database access (newbie) (2 messages)
- Posted by: Danilo Rheinheimer
- Posted on: April 07 2002 11:58 EDT
Threaded Messages (2)
- Database access (newbie) by Tim McNamara on April 07 2002 23:37 EDT
- Database access (newbie) by Danilo Rheinheimer on April 08 2002 15:41 EDT
-
Database access (newbie)[ Go to top ]
- Posted by: Tim McNamara
- Posted on: April 07 2002 23:37 EDT
- in response to Danilo Rheinheimer
PoolMan is a good place to start (http://sourceforge.net/projects/poolman/) -
Database access (newbie)[ Go to top ]
- Posted by: Danilo Rheinheimer
- Posted on: April 08 2002 15:41 EDT
- in response to Tim McNamara
This seems to be a good project but it is dead.
I was looking on the jndi how to of Tomcat :
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html
I did a sucessfull test with this.
But my question is :
- How many question Tomcat will open to the database ?
- How this will scale ?