이 콘텐츠는 선택한 언어로 제공되지 않습니다.
17.4. Connection Factories
In Red Hat JBoss Data Grid, all JDBC cache stores rely on a
ConnectionFactory
implementation to obtain a database connection. This process is also known as connection management or pooling.
A connection factory can be specified using the
ConnectionFactoryClass
configuration attribute. JBoss Data Grid includes the following ConnectionFactory
implementations:
- ManagedConnectionFactory
- SimpleConnectionFactory.
- PooledConnectionFactory.
17.4.1. About ManagedConnectionFactory 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
ManagedConnectionFactory
is a connection factory that is ideal for use within managed environments such as application servers. This connection factory can explore a configured location in the JNDI tree and delegate connection management to the DataSource
.
17.4.2. About SimpleConnectionFactory 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
SimpleConnectionFactory
is a connection factory that creates database connections on a per invocation basis. This connection factory is not designed for use in a production environment.