File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Importance of ServiceRegistry in Hibernate 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Importance of ServiceRegistry in Hibernate 4" Watch "Importance of ServiceRegistry in Hibernate 4" New topic
Author

Importance of ServiceRegistry in Hibernate 4

vivek dhiman
Ranch Hand

Joined: Aug 05, 2011
Posts: 119

Hi

I am not able to understand the use of service registry in hibernate 4, why buildSessionFactory() is deprecated in hibernate4. I have gone through the jboss docs but it was not well explanatory for me.
if anyone can explain with good real scenario then it would be more clear.

Thanks
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1648
    
    7

If you follow the 'required for' links in the following ticket you will see that a lot of things required them to do a major refactor on how they built and managed services.

https://hibernate.onjira.com/browse/HHH-5991


[How To Ask Questions][Read before you PM me]
Hanuma Deepak Muvvala
Ranch Hand

Joined: Nov 20, 2005
Posts: 158
I found this more explanatory:

https://hibernate.onjira.com/browse/HHH-2578
 
jQuery in Action, 2nd edition
 
subject: Importance of ServiceRegistry in Hibernate 4