harsh anajwala wrote:Hi...
I am a newbie for Spring and Hibernate.
What i want to know is how we should decide that which from the following we should choose for our application.
1.Only Hibernate.
2.Only Spring
3.Combination of Spring and Hibernate.
In my project i am supposed to provide Database portability so We chose Hibernate as ORM. now the thing is Should i implement Only Hibernate or Combination of Spring and Hibernate??
What will be pros and cones in both the option??
Thanks in advance.. :
They are two totally different products, so it isn't an either or question. So 1 and 2 doesn't make any sense to me.
The questions are
1) Do you want to use Spring? if yes, then use it.
2) Do you want to use Hibernate? If yes, then use it.
If you answered yes to the two above, then you are using both Spring and Hibernate.
Mark