| Author |
database connection for n java files
|
lokesh rajarathnam
Ranch Hand
Joined: May 17, 2007
Posts: 35
|
|
Hello all... How can i give a connection for an 10 java files i an application only once. How can i use context.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26193
|
|
Lokesh, Why do you want to share an open connection across files? An initial context is typically used on an application server to share a datasource (and connection pool.)
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: database connection for n java files
|
|
|