Christian web host - Hibernate and Spring APPENDIX C n n n
Hibernate and Spring APPENDIX C n n n Hibernate and Spring APPENDIX C n n n The Spring Application Framework offers developers an environment that ties together numerous APIs into a coherent whole. Spring applies the philosophy of dependency injection by providing appropriate configurable wrapper classes for all sorts of popular Java libraries. The standard Spring API is immense, and its standardized approach to dependency management means that any existing API can in principle become a Spring API. If you want a good introduction to using Spring, then we recommend the excellent Pro Spring, by Rob Harrop and Jan Machacek (Apress, 2005). For an overview, visit the Spring web site at http://springframework.org. In view of its scope, we cannot and do not make any attempt to teach you even the basics of the Spring Framework in this appendix instead, we assume that you are already familiar with Spring in general, and offer a focused introduction to the Hibernate-related components. Throughout this appendix, we refer to a simple sample application that represents a newsstand of papers consisting of sets of articles. At the end of this appendix, we include the complete Spring bean configuration file for the example application; and as with all the examples in this book, the entire application itself can be downloaded from the Apress web site (www.apress.com). Spring Libraries The Spring Framework essentially provides wrappers and utility classes for working with various other frameworks, as well as some of its own implementations. For example, it provides its own model-view-controller (MVC) patterned web application framework, and also supports Struts and vanilla JSPs. Spring is distributed as a small set of JAR files that contain the Spring-specific functionality. The third-party components are made available with the including dependencies distribution of Spring, but can also be downloaded independently from their respective web sites. It is possible to copy all the libraries that Spring is capable of using into the classpath, but this is a somewhat inelegant approach. We prefer to pick the core Spring JARs and add to them only what is necessary to support the application being built. For our example application, we have therefore included the following sets of libraries: The Hibernate JAR and its required dependencies The Hibernate Annotations JAR and its required dependencies
You want to have a cheap webhost for your apache application, then check apache web hosting services.