GithubHelp home page GithubHelp logo

astina-forks / spring-boot-tapestry-integration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sniffertine/spring-boot-tapestry-integration

0.0 1.0 0.0 47 KB

Integration Module for Tapestry 5 into Spring Boot

License: MIT License

Java 99.94% CSS 0.06%

spring-boot-tapestry-integration's Introduction

Spring Boot - Tapestry integration

Maven Central License

A simple integration module for Tapestry 5.7.x into Spring Boot

Originally copied from https://github.com/code8/tapestry-boot and refactored.

To use spring-boot-tapestry-integration:

  1. create a @SpringBootApplication class
  2. configure the Tapestry application through the Spring Boot environment (application.yml & friends)

All configuration properties are exposed to the Tapestry application:

tapestry:
  app-package: my.app
  execution-mode: dev
  # enables class reloading during development
  production-mode: false
  # modules to load if execution-mode is `dev`
  dev-modules: my.app.services.DevModule

This configuration expects the main module under my.app.services.AppModule. Here's how the application/filter name can be customized:

spring:
  tapestry:
    filter-name: 'example' # => my.app.services.ExampleModule

Usage

  1. Add the dependency (use the newest version from Maven Central)

         <dependency>
             <groupId>ch.baurs</groupId>
             <artifactId>spring-boot-tapestry-integration</artifactId>
             <version>0.10.x</version>
         </dependency>
    
  2. Add Tapestry configuration to your application.properties

Features

  • bootstraps tapestry framework inside embedded servlet container managed by spring-boot
  • configure tapestry using spring environment (e.g. application.properties)
  • provides injection of spring services in tapestry
  • provides injection of tapestry services in spring

Example

see DemoApplicationTest

spring-boot-tapestry-integration's People

Contributors

mnm avatar sniffertine avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.