• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF With Hibernate

 
gunjan bohra
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you provide me some good url on
JSF with Hibernate .

Actually I would not make relation between faces-config.xml and hiibernate.cfg.xml file
i.e. How my JSF Code know that it should use Hibernate .
With Thanks
Gunjan
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think there's anything in Hibernate that needs to know directly about JSF configuration or vice versa. Although Spring works well as a support framework for Hibernate in JSF and there is a small blit of glue that goes into the JSF config that pulls in a bridge to Spring for resolving bean names.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tim Holloway:
I don't think there's anything in Hibernate that needs to know directly about JSF configuration or vice versa. Although Spring works well as a support framework for Hibernate in JSF and there is a small blit of glue that goes into the JSF config that pulls in a bridge to Spring for resolving bean names.


Tim is right. And you really don't even have to glue Spring and JSF together if you don't want to. Completely optional.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!