Thanks. That makes sense. Pooling for the duration of that single web service
call is not our main goal. However, JAX-RS allows me to persist objects in
memory across web service calls, so I can keep a collection of DataSource
instances (e.g., by database name, in a ConcurrentHashMap). No proble
2014-10-26 1:49 GMT+04:00 Ric Bernat :
>> There is no such method to be called like on the above line.
>> "DataSource(PoolConfiguration)" is a constructor. To call a constructor you
>> need the keyword "new".
>
> My bad: I copied some code around and dropped the "new." You are quite right:
> I am
> First of all, let me apologize for typos and comprehension errors. I'm
writing
> without glasses (magnification on screen is 200% and I'm taking frequent
breaks).
I am sorry to hear this is a burden for you. I appreciate you effort.
> I'm not sure why you're not using JNDI and letting Tomcat m
> There is no such method to be called like on the above line.
> "DataSource(PoolConfiguration)" is a constructor. To call a constructor you
> need the keyword "new".
My bad: I copied some code around and dropped the "new." You are quite right: I
am calling the constructor.
> No. A constructor
2014-10-25 23:12 GMT+04:00 Ric Bernat :
> I am using Tomcat 7.0.53, and I am using Tomcat JDBC connection pooling to
> connect to multiple PostgreSQL (9.3) databases. My application is a JAX-RS
> (Jersey) web server application that provides a set RESTful web services (no
> UI). My data layer uses
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/25/2014 12:12 PM, Ric Bernat wrote:
> I am using Tomcat 7.0.53, and I am using Tomcat JDBC connection
> pooling to connect to multiple PostgreSQL (9.3) databases. My
> application is a JAX-RS (Jersey) web server application that
> provides a set
I have a tomcat webpage with a websocket server written in java to
communicate with the webpage. I want this websocket server to be able to
communicate with an external java program without an sockets, so something
like this
webpage<>websocket server<>external java
I am using Tomcat 7.0.53, and I am using Tomcat JDBC connection pooling
to connect to multiple PostgreSQL (9.3) databases. My application is a
JAX-RS (Jersey) web server application that provides a set RESTful web
services (no UI). My data layer uses the Spring JdbcTemplate library.
First, let