Hibernate Team |
 |
Joined: Tue Aug 26, 2003 7:19 pm Posts: 2364 Location: Brisbane, Australia
|
1) Hibernate uses callbacks from the transaction manager for dealing wth the cache management issues, eg, hibernate.transaction.manager_lookup_class which is needed when JVM-level caching is enabled in a JTA environment.
2) Session effectively operated in its own world and contains its own cache of objects (session level cache) thus the instances are not shared across sessions.
3) Hibernate can be created several ways in JBoss.
o The servlet level.
o The EJB Level via either MBeans (as the examples in the docs show)
or by using a standard JCA container. JCA advantage is that you can
use it for other application servers.
4) Yes.
|
|