Entity Beans Vs Hibernate

Can we use Hibernate and Entity beans together in any application?please help me.It is very urgent.
[120 byte] By [jjjjjjjjjjjja] at [2007-10-3 8:48:15]
# 1
Just a tip: a lot of people skip topics that use the word urgent.Also: Google is your friend: http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html
zadoka at 2007-7-15 3:57:22 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
why would you want to? what's the advantage of using many different persistence strategies?with jpa and ejb3, you can implement entity beans using hibernate.%
duffymoa at 2007-7-15 3:57:22 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
why would you want to use both?
MickeyOnJavaa at 2007-7-15 3:57:22 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
> why would you want to use both?Legacy app, maybe? It's not a stupid question.As others have already said, yes you can, but you'd be best off using an EJB3 container regardless of whether it's using Hibernate under the covers.
dcmintera at 2007-7-15 3:57:22 > top of Java-index,Other Topics,Patterns & OO Design...