O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required