Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do we need a separate class for database connectivity?

 
Sapumal Bandara
Ranch Hand
Posts: 31
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic