Hi friends, In what kind of applications, we prefer entity beans? Please tell me real time example...Also tell me the reason why not we choose session bean in that case.. Awaiting for your reply...
Session beans and Entity Beans have different purposes, they are not interchangeable. Entity Beans are an ORM technology, Session beans are more for business logic. So though you can access a data store from a session bean its primary purpose is not that.
When would you go for Entity Beans? Never. I'd recommend JPA instead. [ June 07, 2007: Message edited by: Paul Sturrock ]
For me, I wait till I get extremely hungry, you know the point where you could eat anything, then I will be able to eat an entity bean. I just don't like vegetables.
Originally posted by Paul Sturrock: Session beans and Entity Beans have different purposes, they are not interchangeable. Entity Beans are an ORM technology, Session beans are more for business logic. So though you can access a data store from a session bean its primary purpose is not that.
When would you go for Entity Beans? Never. I'd recommend JPA instead.
Suganthi, be thankful you posted on this forum. Paul may have saved you from a fate worse than simple obsolescence. :-)