difference b/w the hybernate and entity bean
Answers were Sorted based on User's Feedback
Answer / masum
Entity Bean is a component API ,which can interact with
different kinds of Backends such as RDBMS ,DB2,etc.,
Hibernate is a framework which bridge the Component and
Backend. It interact with RDBMS only.
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / purushotham
Entity beans depends on Container.
Hibernate is not. we can use for Swings and awt also.
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sakthivel
1) Hibernate supports multi level cacheing, where as Entity
Beans doesn't.
2) Entity Beans does not support OOPS concepts where as
Hibernate does
3) Entity bean is a heavy component and hibernate is light
component.
4) In Entity Bean at a time we can interact with only one
data Base. Where as in Hibernate we can able to establishes
the connections to more than One Data Base. Only thing we
need to write one more configuration file.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ravikiran(aptech mumbai)
hibernate is a tool which will interact witht the rdbms with
object relational mapping
Entity beans are the persistent storage object which will
interact with any persistent storage as a 3 tiered architecture
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / afzal
In simple way, Entity Bean has a overhead of handling
RDBMS, For Handling this Hybernate comes into picture.
Is This Answer Correct ? | 2 Yes | 5 No |
Answer / anil mishra
=> Hibernate is Not Distributed
=> Entity Benas is Distributed
Is This Answer Correct ? | 0 Yes | 3 No |
how to set the relationship between tables in ejb
What is the difference between @requestparam and @pathvariable?
How stateful session beans will maintain consistency, across transaction updates?
Can you be deported if you are stateless?
Where is ejb used?
how can u integrate ejb and hibernate? How can u call hibernateDAO methods in session bean?
What is persistence?
abstract methods in SessionBean?
In bean managed transactions, how session bean can be configured?
Who took over ejb?
What is an ejb container?
What transaction attributes does Java Bean containers support?