• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

General question regarding Spring and Hibernate.

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
My manager has assigned me to a project which involves both Spring
and Hibernate. I know absolutely nothing of either. Please suggest which one to
start with. I am really confused, I don't even quite know if one of these is loosely
related or dependent on the other.
Currently I am familiar with core Java, Servlets, JSP and Oracle SQL, PL/SQL.
Thanks in advance.

Regards,
Ven.
 
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Both are open source frameworks and are different.
Spring is a DI (Dependency Injection) framework and Hibernate is an ORM (Object-Relational Mapping) framework.

Spring supports Hibernate so you can use it with Spring.

There are many online tutorials/articles on these.
Please search. A book can also help. (Books like Spring in Action, Hibernate in Action etc.)
 
ven jovovich
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Surendra, but would you suggest starting with one before the other?
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can start with anything. Both are independent. You need to understand both to integrate each other.
 
ven jovovich
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Noted. Thanks.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you familiar with Hibernate already? Are you familiar with JDBC? JPA?

I would suggest learning
1) Core Spring
2) JDBC
3) Hibernate
4) JPA
5) how Spring works with Hibernate
6) How Spring works with JPA
7) Spring Data
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic