ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Hibernate for Java SE
Subject:   Hibernate and Spring outside the container
Date:   2005-11-29 10:28:27
From:   JohnSanda
Jason,


You raised some interesting points in your article, but there are others that are somewhat questionable. Why would you choose to open and manage your own JDBC connection and then populate the Hibernate Configuration with redundant information? It seems a bit backwards. Why not get your connection from the Session? Why would you avoid using Spring outside the container considering it still has numerous benefits when used outside the container? I have found that it is easier to learn both Hibernate and Spring by using them outside a container. Even when I do use Hibernate and/or Spring in a container, I still use them outside the container for unit testing.


1 to 1 of 1
  1. Hibernate and Spring outside the container
    2005-11-29 10:46:40  Jason-Lee [View]

1 to 1 of 1