daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Feb 19th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Why?
  2. ----
  3. Historically, Hibernate relied on standard class-loading paradigms that targeted JSE and JEE deployment environments.  However, with the growth of OSGi and other modular systems those same approaches no longer always work.  So Hibernate needed a new approach that would allow it operate in all possible deployment environments.  
  4.  
  5. How?
  6. ----
  7. In Hibernate 4 we leverage the ServiceRegsitry to define a pluggable service for providing interaction with the class-loading of the semantics of the environment in which Hibernate will be run. Specifically, the idea is to allow external entities (the user, the environment developers, etc) to define and "plug in" a custom scheme for class path interactions.  For example, an OSGi container could choose to provide Hibernate (either directly or as its JPA provider) and install a custom service for class loader interactions to override the default one.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top