Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within OCMJD
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Developer Certification (OCMJD)
Database Connector class
Jared Chapman
Ranch Hand
Posts: 81
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Really quick question.
I have a class that is used to establish a database connection. It has 2 static methods: one to establish a local connection, and one to establish a remote connection. My question is, which package should I place this class in?
1. suncertify.db
2. suncertify.gui
3. suncertify.remote
Thanks in advance.
B.S. University of Wisconsin<br />SCJP 1.4 (85%)<br />SCJD 1.4 (92%) B&S Contractors
James Clinton
Ranch Hand
Posts: 190
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I have all my db connection stuff in suncertify.db.dao. But this is because I have used the DAO
pattern
.
Its probably best given your package setup to stick it in suncertify.db
[ October 22, 2004: Message edited by: James Clinton ]
[ October 22, 2004: Message edited by: James Clinton ]
and POOF! You're gone! But look, this tiny ad is still here:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
database connections
on servlets and jdbc
how to connect java with oracle rdb
Database Connection Fails
SQLException: Io exception: There is no process to read data written to a pipe.
More...