Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Do we need a separate class for database connectivity?  RSS feed

 
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
Sheriff
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
Boost this thread!