为sybase设置jdbc连接池 [英] Setting up a jdbc connection pool for sybase

查看:157
本文介绍了为sybase设置jdbc连接池的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为每个jsp或servlet创建一个jdbc连接。

I am currently creating a jdbc connection for every jsp or servlet.

如何为sybase创建一个jdbc连接池,以便创建连接的需要每个jsp / servlet都可以避免,jsp / servlet可以直接获取连接并与数据库进行交易。

How can I create a jdbc connection pool for sybase such that the need for creating the connection for every jsp/servlet can be avoided and the jsp/servlet can directly get the connection and transact with the database.

任何人都可以提供设置的分步说明相同以及如何使用它。

Can anyone provide step-by-step instructions for setting up of the same and also how to use it.

并且游泳池应该能够处理商业网站。

And the pool should be able to handle a commercial website.

推荐答案

如评论中所述,您可以查看本文档

Like stated in comments, you can check THIS Documentation.

这篇关于为sybase设置jdbc连接池的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆