• Post Reply Bookmark Topic Watch Topic
  • New Topic

General question regarding Spring and Hibernate.  RSS feed

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
Noted. Thanks.
 
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!