It's not a secret anymore!
The moose likes Spring and the fly likes Spring+ hibernate or JSF+EJB3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring+ hibernate or JSF+EJB3" Watch "Spring+ hibernate or JSF+EJB3" New topic

Spring+ hibernate or JSF+EJB3

jianming chen
Ranch Hand

Joined: Jul 21, 2009
Posts: 33
What is the benefit of using Spring + hibernate compare to JSF+EJB3?
David Newton

Joined: Sep 29, 2008
Posts: 12617

Anil Vupputuri
Ranch Hand

Joined: Oct 31, 2000
Posts: 527
jianming chen wrote:What is the benefit of using Spring + hibernate compare to JSF+EJB3?

You can follow this link, To Get Some Idea.

SCJP 1.5, SCEA, ICED (287,484,486)
Ahmad Reza Seddighi

Joined: Dec 15, 2009
Posts: 24
The main benefit of "Spring with Hibernate" over EJB3, is using many useful Spring services, including IoC and AOP, to decouple the application code and clean separation of concerns. Besides, with Spring and Hibernate you can still continue developing with JSF and JPA (Hibernate implemenation).

Spring Persistence with Hibernate

Ahmad Reza Seddighi
I agree. Here's the link:
subject: Spring+ hibernate or JSF+EJB3
It's not a secret anymore!