Вопрос

I'm building a response-time critical multithreaded application in JSE v7 and I need/want to access an SQL Database (via JDBC) with optimal response time - the application is written using JSE for the most part and I want to ideally avoid putting the critical workload through it sat on an App Server. Can I achieve Connection Pooling without a Java EE Application Server or is this the only option?

I have three tables I want to Read, two to update and one to insert.

The desired response time is sub 500ms.

Это было полезно?

Решение

Yes. In no particular order, you might use HikariCP, BoneCP, or c3p0 or Apache DBCP. You may also find these benchmarks helpful (I would take them with a grain of salt).

Praid Salt Mine - The chapel from the saline - Romania

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top