Jason,
We use TurbineConfig for starting services mostly. In our unit tests for
our Turbine code ( torque code also ) we startup
Turbine with TurbineConfig in our base test case class.
We are also using the connection pooling code in our generic library for
other applications and use TurbineConfig there also for starting up our pool
service which extends turbine's ( along with the other services it needs,
like logging ).
-----------------------------------------------------------------
Throw away my code, but never, never throw away my tests.
-----------------------------------------------------------------
Jeffrey D. Brekke Quad/Graphics
[EMAIL PROTECTED] http://www.qg.com
-----------------------------------------------------------------
> -----Original Message-----
> From: Jason van Zyl [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 15, 2001 9:50 AM
> To: [EMAIL PROTECTED]
> Subject: TurbineConfig use cases
>
>
> Hi,
>
> I was just trying to get a feel of how people use the TurbineConfig
> class. I generally assumed that this was to allow applications
> to use the services provided in Turbine outside of a servlet
> context.
>
> I would be interested in hearing how people are using
> the turbine services. The services have now been separated
> and you no longer have to emulate a servlet enviroment
> in order to use the services that come with Turbine.
>
> Hopefully the services will eventually be entirely
> separate, they are almost there.
>
> I would be willing to work with anyone who wants to
> try the new setup as it would be valuable for testing.
> I have yet to try out running the services with TurbineConfig.
> I will probably have to make some changes to make it
> backward compatible which is why I'd like to test it with
> some people.
>
> I am hoping to make an example using Velocity: using
> the services framework with the VelocityServlet which
> is an application class in Velocity proper. Probably
> a simple example of how to use the DatabaseService
> with a typical VelocityServlet.
>
> It might also be neat to try out the DatabaseService
> in a Swing application if anyone currently using any
> of the Turbine services within a Swing app.
>
> BTW, there will also be some nifty services landing
> in the repository soon. A BSFService that will allow the
> execution of scripts in any language that the Bean Scripting
> Framework allows (been meaning to do this for a long time),
> a FlashService for dynamically generating Flash5 content,
> and a WeatherService for gathering weather info and making
> available to applications.
>
> So if anyone is interested in trying out the services
> in stand-alone mode let me know.
>
> --
>
> jvz.
>
> http://tambora.zenplex.org
> http://jakarta.apache.org/turbine
> http://jakarta.apache.org/velocity
> http://jakarta.apache.org/alexandria
> http://jakarta.apache.org/commons
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]