JavaXT Express
The javaxt-express library is used to help simplify the development of
websites, data driven webservices, and responsive web applications.
The library is lightweight and unopinionated. It consists of both Java and
JavaScript classes that you can mix and match to suit whatever you need.
Key Features
Java Dependencies
The Java classes leverage several other JavaXT libraries including:
Additional dependencies may be required, depending on how you are using javaxt-express. These optional dependencies include:
- JSQLParser: SQL Parser
- Nashorn: Javascript Parser (required by ORM)
- Jakarta Mail: Email library
- H2: Embedded database
JavaScript Dependencies
None of the core Java components or comman line app require JavaScript. However, javaxt-express is bundled with
several JavaScript classes that rely on the javaxt-webcontrols library.
Java Compatibility
The javaxt-express library is compiled with Java 1.8. Best used with Java 11 and up.
Maven Support
If you're a Maven user, you can configure your pom.xml to pull releases directly
from this site. To add javaxt-express to your project, simply
add this site to your list of repositories and
add a dependency. XML snippits below.
See the downloads page for more information.
<repositories>
<repository>
<id>javaxt.com</id>
<url>https://www.javaxt.com/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>javaxt</groupId>
<artifactId>javaxt-express</artifactId>
<version>1.5.2</version>
</dependency>
</dependencies>
<!-- H2 dependency example -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.224</version>
</dependency>
Demos
There are a few demos available on GitHub:
https://github.com/javaxt-project/javaxt-express-demo
If you have git and maven, you can follow these quickstart instructions:
git clone https://github.com/javaxt-project/javaxt-express-demo.git
cd javaxt-express-demo
mvn install
java -jar dist/express-demo.jar -start cms -demo Basic
|