Great, this deserves a test drive!

2011/1/4 Ciaran Wood <ciar...@gamesys.co.uk>

> Hi All,
>
> I'm pleased to announce the release of my first Tapestry project:
> tapestry-service-cache. It's an annotations based caching library that makes
> it really easy to cache your Services without any boilerplate code! Here's a
> simple example:
>
> public class CachedService implements Service {
>
>  @CacheResult
>  public String expensiveOperation() {
>    //some expensive operation here
>  }
>
>  @CacheResult
>  public String expensiveOperation(@CacheKey Integer key) {
>    //This uses the key parameter as a discriminator in the cache key, so
>    //invocations with different parameters are cached under different keys.
>  }
> }
>
> Even better, I've created versions for both Tapestry 5.1 and the latest
> release, 5.2. The dependency is available in the central maven repository,
> just add the following to your pom.xml and you're ready to go:
>
> <dependency>
>    <groupId>com.ciaranwood</groupId>
>    <artifactId>tapestry-service-cache</artifactId>
>    <version>2.0.1</version>
> </dependency>
>
> (If you are using Tapestry 5.1, use version 1.0 of the library).
>
> Sources and documentation are available at the project's github page:
> http://github.com/ciaranw/tapestry-service-cache
>
> Cheers
> Ciaran Wood
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to