Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does JDO win over Entity beans

 
krithika desai
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just want to get my basics right! this statement is something that i see everywhere.
1. Both of them provide a Object view of the persistant store.
2. JDO is lightweight because it does not involve 3 interfaces ? :-) to represent.
3. Entity bean model essentially loses out on performance because of the life cycle methods that a container needs to invoke?
Can somebody confirm if 3) is one of the reasons an entity bean is slower than other mechanisms? If that is the case, can this call back specifications be refined to make it work faster?
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have missed the following thread, in which it said that JDO and EJB are not comparable... It's interesting too...
http://www.coderanch.com/t/158140/java-EJB-SCBCD/certification/JDO-EJB-Future
 
krithika desai
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ko Ko Naing:
I think you have missed the following thread, in which it said that JDO and EJB are not comparable... It's interesting too...
http://www.coderanch.com/t/158140/java-EJB-SCBCD/certification/JDO-EJB-Future

Well, i mentioned "Entity" beans specfically and not EJB. Are'nt Entity beans and JDO primarily designed for persistance?. Yeah the post is informative but does'nt address my question though :roll:
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic