Rookie ask: What is a plant?
Abstract: Rookie ask: What is a plant?
EJB connection pool and the use of the time should be used factory class, which Big Brother can tell me what is the factory? The more detailed the better explanation, thank you!
Is used to manufacture products, the specific reference to the factory design pattern mode
For example, in tomcat in the server.xml configuration file when the connection pool:
Description = "User database that can be updated and saved"
Factory = "org.apache.catalina.users.MemoryUserDatabaseFactory"
Pathname = "conf / tomcat-users.xml" />
Of which: factory = "org.apache.catalina.users.MemoryUserDatabaseFactory" is to do what is the use?
Halo, is not familiar with the java began with a tomcat.
First learn j2se Zailong web bar.
We have followed the paste:)
Passing, friendship up!
Passing, friendship up!
A design model, you can look at the design pattern java, I understand it is an interface, its own module abstract it, and then extends it
Passing, friendship up!
Passing, friendship up!
↑ Back
Tags: what java
Releated Java Articles
February 28, 2007 | Filed Under Getting Started |






