Salut
I'm developing web services using AXIS, however using new DB connection for each Web Service is very deprecated,
i need help on how sharing one DB connction for all Web services.
-
Sharing same DB connection for all published Web Services (4 messages)
- Posted by: A A
- Posted on: April 24 2006 07:50 EDT
Threaded Messages (4)
- one detail by A A on April 24 2006 07:58 EDT
- why by candido lopez rodriguez on April 24 2006 12:15 EDT
- use database pools by Sergio Berna on May 05 2006 11:45 EDT
-
one detail[ Go to top ]
- Posted by: A A
- Posted on: April 24 2006 07:58 EDT
- in response to A A
using AXIS as webapps -
why[ Go to top ]
- Posted by: candido lopez rodriguez
- Posted on: April 24 2006 12:15 EDT
- in response to A A
is you data read only? if not this does not make sense -
Yes[ Go to top ]
- Posted by: A A
- Posted on: April 25 2006 03:49 EDT
- in response to candido lopez rodriguez
Data is read only, how can this question help me ? -
use database pools[ Go to top ]
- Posted by: Sergio Berna
- Posted on: May 05 2006 11:45 EDT
- in response to A A
By all means if you are accesing databases from webservices running on an application server use and define a databasepool and retrieve a connection through the datasource.
If you are using tomcat just grab some opensource database poool implementation such as dbcp or c3p0. But never create a new jdbc connection inside an application server without using database pools.
Sergio Berna
Open-VA, a fully accessible open source Validation Authority
www.open-va.org