jQuery in Action, 2nd edition*
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
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
Greenhorn

Joined: Oct 29, 2013
Posts: 26

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: 10068
    
163

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?