Across Web
AcrossWebModule
is a basic building block of pretty much every Across
application.
It activates Spring MVC support for all modules in the Across context. This means modules can configure Spring MVC features, adding things like controllers, servlets and filters.
On top of regular Spring MVC components, AcrossWebModule
adds the
following out of the box:
-
Thymeleaf template rendering with a custom Thymeleaf dialect for interacting with the Across web infrastructure
-
infrastructure for templates, menu building and registering web resources
-
a programmatic model for creating UI components from code
-
support for prefixing request mappings and adding custom request condition - extending default
@RequestMapping
behaviour -
auto configuration of static resources with client-side caching and url versioning
Artifacts
The Across Web dependency is present in Across Platform.
<dependency>
<groupId>com.foreach.across</groupId>
<artifactId>across-web</artifactId>
</dependency>