Java Reference
In-Depth Information
Using Third-Party Libraries with Stripes
Stripes has very few dependencies. However, as you build
more sophisticated applications, you'll probably want to add
other libraries—to manage database transactions, for exam-
ple. Instead of being a full-stack framework, Stripes is designed
to integrate well with third-party libraries so that you are free to
choose the best tools for your applications.
• (Optional) Apache Ant, version 1.7.0: http://ant.apache.org , if you
want to use the build scripts that come with the topics sample
code.
• A text editor or an IDE to work with the source code. I'm sure
you already have some favorites. Mine are VIM 1 , Eclipse 2 , and
NetBeans 3 .
Once all the tools are installed, create a web application. This can
involve a wizard in your IDE or just creating a project directory with
subdirectories for the source code and web application files. If you want
the easy way out, just use the topics source code.
Stripes Framework and Dependencies
Next, get the Stripes distribution, version 1.5 or higher, from http://www.
stripesframework.org . You'll need to copy the required JAR files into the
WEB-INF/lib directory of your web application:
stripes.jar : The Stripes framework, of course
commons-logging.jar : Required by Stripes
You'll also need to copy StripesResources.properties to a location that's on
the web application's class path, such as the WEB-INF/classes directory.
The Java Standard Tag Library (JSTL) is not a Stripes requirement,
but it's very useful when developing Stripes applications with JSPs, as
you'll see throughout the topics examples. To install the JSTL, copy the
following two JARs from http://jakarta.apache.org/taglibs (or the topics
sample code) to your WEB-INF/lib directory:
jstl.jar
standard.jar
1.
http://www.vim.org
2.
http://www.eclipse.org
3.
http://www.netbeans.org
 
 
Search WWH ::




Custom Search