What is JWt ?
JWt is a Java library for developing web applications. It provides a pure
Java component-driven approach to building web applications,
and renders either using Ajax or plain HTML.
Unlike JSF, there is no concept of a page and no split between page
"views" and reusable "components", making reuse unpractical. Instead,
everything is a widget that can be resued in other widgets.
For more information, see the homepage.
Dependencies
The library requires a Servlet 2.5 or 3.0 container. When deployed in a
servlet 3.0 container, it is able to use asynchronous I/O functionality
to improve scalability when using server push features.
If you want to use the PDF rendering support (the WPdfImage and
WPdfRenderer classes), then you also need to add
PdfJet[http://pdfjet.com/] to your project.
Building
It can be as simple as:
ant
Demos, examples
The homepage contains various examples.
Maven
The ant build file has a separate target to generate maven pom files:
ant mvn
To install the two artifacts in your local repository, do:
mvn install:install-file -Dfile=dist/jwt-3.3.2.jar -DpomFile=jwt-3.3.2.pom
mvn install:install-file -Dfile=dist/jwt-auth-3.3.2.jar -DpomFile=jwt-auth-3.3.2.pom
The corresponding dependency blocks are:
eu.webtoolkit
jwt
3.3.2
javax.servlet
servlet-api
2.5
There are a number of optional dependencies for JWt, needed only depending on what
features you use
eu.webtoolkit
jwt-auth
3.3.2
com.pdfjet
pdfjet
4.75
org.antlr
antlr4-runtime
4.7.2
org.jogamp.jogl
jogl-all
2.0-rc11
org.jogamp.gluegen
gluegen-rt-main
2.0-rc11
org.apache.geronimo.javamail
geronimo-javamail_1.4_mail
1.8.1
provided