Glenn,

What requires you to have separate implementations for each
environment?  Is it configuration data that you could move into a
properties file that lives the in the classpath of your container?

Ben

On Fri, Mar 21, 2008 at 4:02 PM, Glenn Sudduth <[EMAIL PROTECTED]> wrote:
> (This seems like a pretty basic question, but I haven't been able to
>  ferret out the answer so here goes ...)
>
>  What is a good way to have Tapestry 5 IoC determine which implementation
>  of a particular service to load at runtime? With Spring I accomplish
>  this by creating multiple versions of the bean definition/config file.
>  Then have the (Maven) build process select the appropriate config based
>  on the build profile I specify (dev, test, prod) and copy it in place so
>  that Spring reads it when it starts up.
>  Thanks,
>  --
>  Glenn
>
>
>  ---------------------------------------------------------------------
>  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]

Reply via email to