Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JPA and DAO

 
Mohammad Jaber
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All ,
is using DAO tier makes any sense in case of using ORM/JPA , i mean if i used Session Facade like pattern , all i need is the "EntityManager" in my Statless Session Bean in order to get my things done why deligating this to DAO tier and send it the "EntityManager" instance , using DAO might be unnecessary unoverhead , what do you think guys !!!

Regards ,
 
Mohammad Jaber
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i found a good article talking about it , Thank you Debu Panda

http://www.theserverside.com/tt/articles/article.tss?l=MigratingJDBC
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!