img
.
Dependency
JAR Files
Description
Group
Spring provides wrapper classes around Velocity to
velocity
velocity-1.5.0.jar
DI-enable it and also to reduce the amount of code
you need to write to use Velocity in your application.
In addition to this, Spring provides classes to support
the use of Velocity as the view provider in the web tier.
If you are using any of these features, you need to
include the Velocity JAR file in your distribution.
As you can see, Spring's dependencies are quite varied, and for most applications, you need only a
fraction of the full dependency set. It is worthwhile spending the time to pick out exactly what
dependencies you need and only adding those to your application. In this way, you can keep the size of
your application down; this is a particular benefit to those of you who frequently need to deploy to remote
locations. Keeping the size of your application as small as possible is especially important if you plan to
distribute your application over the Web to people who may be downloading with a slow Internet
connection.
The Sample Applications
An area where many open source, and indeed commercial, products fail is in providing enough well-
documented sample code to make it easy for people to get started. Thankfully, Spring comes with a
complete set of nifty sample applications that demonstrate a wide selection of the features in Spring.
The sample applications are treated as first-class citizens of the framework by the development team,
and they are constantly being improved and worked on by the team. For this reason, you will generally
find that, after you get what you can from the test suite, the samples are a great place to get started when
you are looking at new features.
Obtaining Spring Samples Source Code
All Spring samples source code (except the spring-mvc-showcase project) are hosted on SpringSource's
SVN repository. To get the source code, invoke the following command in any empty directory:
svn co https://src.springframework.org/svn/spring-samples/
Figure 2-3 shows a sample applications folder upon checkout from this link.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home