This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Do we need a separate class for database connectivity? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Do we need a separate class for database connectivity?" Watch "Do we need a separate class for database connectivity?" New topic
Author

Do we need a separate class for database connectivity?

Sapumal Bandara
Ranch Hand

Joined: Oct 29, 2013
Posts: 31

Hi guys,
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 ?

Thanks,
Sapumal.


Be you.. not someone else.. in everything you do..
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

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.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do we need a separate class for database connectivity?