Skip to content

bootique/bootique-tapestry

Repository files navigation

build test deploy Maven Central

bootique-tapestry

Provides Apache Tapestry integration with Bootique. See usage example bootique-tapestry-demo.

Quick configuration:

Add the module to your Bootique app:

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>io.bootique.bom</groupId>
            <artifactId>bootique-bom</artifactId>
            <version>3.0-M4</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
...
<!-- Note that "bootique-tapestry" module bundles older Tapestry 5.4. 
     We recommend using "bootique-tapestry55" -->
<dependency>
    <groupId>io.bootique.tapestry</groupId>
    <artifactId>bootique-tapestry55</artifactId>
</dependency>

Configure Tapestry module in your app .yml (or via any other Bootique-compatible mechanism). E.g.:

tapestry:
  name: myapp          # The name of the T5 app module. Default is "tapestry".
  appPackage: com.foo  # default base package for the Tapestry app

Tapestry app can use its own injection and modules. Additionally services defined in Bootique are available via Tapestry injection.