Configuring Turbine

Instructions on where to get Turbine libraries and how to install them can be found in Appendix C. But before you can use the Turbine facilities themselves, you need to set up your application for Turbine. You also need to create a property file with some specific initialization values for the db pool in it, specifically for the application that you intend to build. Listing 7.2 is an example of what it looks like.

Listing 7.2. /TomCat/webapps/bfg/TurbineResources.properties
 # ------------------------------------------------------------------- # # S E R V I C E S # # ------------------------------------------------------------------- # Classes for Turbine Services should be defined here. # Format: services.[name].classname=[implementing ...

Get MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.