A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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 + ejb ?
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.
I agree. Here's the link:
subject: Do we need a separate class for database connectivity?
What's the best design approach when querying a database in a web app?
interesting question on conncection pooling
How to access connection object in user defined function inside a servlet
synchronize these methods ?
connection not closed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014