A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Do we need a separate class for database connectivity?
Joined: Oct 29, 2013
Dec 09, 2013 20:32:55
I wanna know whether we need to have a separate class for database connection for a java-EE project which needs to be done using gwt rpc +
Be you.. not someone else.. in everything you do..
Joined: Jul 20, 2005
Dec 14, 2013 19:10:01
Sorry, I don't fully understand the question. You can of course write the database connectivity code in some existing class if that fits the application.
Have you checked out
subject: Do we need a separate class for database connectivity?
connection not closed
How to access connection object in user defined function inside a servlet
synchronize these methods ?
interesting question on conncection pooling
What's the best design approach when querying a database in a web app?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015