• 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic