#krail
Krail provides a framework for rapid Java web development by combining Vaadin, Guice, Apache Shiro, Apache Commons Configuration and others. For more information, see the Tutorial (still in development but will get you started)
This core library provides:
- Site navigation, using a sitemap configured by annotation, Guice or file (or any combination thereof)
- Authentication / Authorisation framework, including page access control
- Vaadin Server Push (with option to disable it)
- Event Bus
- Extensive I18N support
- User options
- Application configuration through ini files etc
- JSR 303 Validation (integrated with I18N)
Additional libraries, integrated and configured through Guice, provide:
- JPA persistence - krail-jpa, using Apache Onami persist and EclipseLink
- Quartz scheduler - krail-quartz, using, of course, Quartz Scheduler
The issues tracker, blog and documentation provide more information.
repositories {
jcenter()
}
'uk.q3c.krail:krail:0.9.5'
##Maven
<repository>
<id>jcenter</id>
<url>http://jcenter.bintray.com</url>
</repository>
<dependency>
<groupId>uk.q3c.krail</groupId>
<artifactId>krail</artifactId>
<version>0.9.5</version>
</dependency>
##Direct
#Limitations
Not fully thread-safe where it needs to be
12th June 2015:
- Vaadin 7.4.8 is integrated with:
- Guice 4.0
- Shiro 1.2.3,
- MBassador (Event Bus)
- Apache Commons Configuration
- Guava cache
Krail is usable, though there is still work to ensure thread safety. No major changes to the API expected. Vaadin push is supported. Tested on Tomcat 7 & 8 Would not work in a clustered environment
There is a simple demo project
There is a functional test application which can also be used to explore functionality - it actually contains more than the demo
#Project Build
Gradle is used (made a lot easier thanks to the Gradle Vaadin plugin.
If you want to build from source run 'gradle eclipse' or 'gradle idea' to generate the IDE files
#Acknowlegements
Thanks to:
Dirk Lietz for his review and feedback for the Tutorial Mike Pilone for his blog post on Vaadin Shiro integration
ej technologies for an open source licence for their java profiler, JProfiler
Vaadin
Guice
Apache Shiro
JUnit
Guava (cache and utilities)
MBassador Event Bus
Flag Icons
Apache Commons Configuration
Gradle
Gradle Vaadin plugin
Gradle Docker Plugin
Gradle Bintray Plugin
Bintray
Docker
Logback
slf4j
AssertJ
Mycila
Mockito