Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about struts,hibernate,spring

 
shield kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hear about struts,hibernate,spring , can anyone help me understand (briefly) what all this is about.
Please also suggest which one I should start learning first
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
punit pa wrote:I hear about struts,hibernate,spring , can anyone help me understand (briefly) what all this is about.
Please also suggest which one I should start learning first


Well we could spend weeks trying to answer you post completely. So here is a abridged version

1. Struts is a web framework using the MVC2 patter.
2. Hibernate is an Object Relational Mapping api for mapping Java Objects to database tables, and in writing Queries with Java objects
3. Spring is really a big set of "frameworks" and apis, so you can't really say much other than SpringSource is a company.
There is the Spring Framework which is for Dependency Injection and more, there is Spring MVC, which is like Struts, Spring Security, Spring Webflow, Spring Remoting etc.

What you learn first is up to you, what are you most interested in? And the answer isn't what will make you more money, because it won't work that way.

I learned Hibernate first, then I learned Struts, then more recent Spring, but that is just how it ended up working out for me, not by any planning.

Mark
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As Mark suggested, for me I suggest you to begin from Spring Framework, because it's much more general than Struts and Hibernate.

Struts is a web MVC framework, Hibernate is an ORM tool, while Spring is an IoC container which you can use in any applications, needn't web applications, needn't use RDBMS.
 
shield kumar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you all
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic