Where do I put my beans? What beans? Coffee beans? Java beans? No - Spring beans!
When running a servlet container, such as Apache Tomcat, you must define all your java beans in such a way as to facilitate the separation of the live and development sy… more »
Tag: "junit"
When using hibernate inside a container like Tomcat or JBoss the transaction manager is set up as part of the container’s configuration. The container handles the transaction synchronisation and tells the application when to start and stop the… more »
When writing unit tests you often need to check to see if a method throws a particular type of exception under a particular set of conditions.
In the package org.springframework.test there is a handy helper class to help you do this.
Codenew… more »