Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arkanovicz/modality
Model Layer Implementation for a J2EE Pull MVC WebApp
https://github.com/arkanovicz/modality
j2ee mvc orm velocity
Last synced: about 1 month ago
JSON representation
Model Layer Implementation for a J2EE Pull MVC WebApp
- Host: GitHub
- URL: https://github.com/arkanovicz/modality
- Owner: arkanovicz
- License: apache-2.0
- Created: 2019-04-24T11:27:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T09:06:29.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T11:24:08.485Z (4 months ago)
- Topics: j2ee, mvc, orm, velocity
- Language: Java
- Homepage:
- Size: 1.46 MB
- Stars: 12
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-java-zh - Modality - 具有数据库逆向工程功能的轻量级ORM。 (项目 / 数据库)
- awesome-java - Modality - Lightweight ORM with database reverse engineering features. (Projects / Database)
README
**Modality** is a lightweight but hightly configurable Java ORM, with a companion set of tools
# Modality ORM library
Encompases a data access layer, a hierarchical and reentrant model definition gathering SQL queries, database values, names custom filters and much more. See [modality-core's REAME](modality-core).
Usage: include the needed module(s) in your `pom.xml`'s dependencies section as follow:
com.republicate.modality
modality-core
1.0
# Modality Web anti-framework
While the ORM is usable on its own or within other Java/Kotlin web frameworks, the project comes with a companion set of tools which stick to the J2EE and JDBC standards to provide a lightweight, loosely coupled and highly cusomizable [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller) [pull](https://en.wikipedia.org/wiki/Web_framework#Push-based_vs._pull-based) architecture based on the Java J2EE servlets API.
Its design is based on a [bottom-up](https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design) approach rather than top-down. This makes Modality an *anti-framework*: its various components do stick to the underlying norms, have a minimal interdependance and just do the specific task they are intended to, leveraging the learning curve and added complexity, and nevertheless those components assembly cover all the basic needs of a fully functional MVC webapp.
+ the Model layer is addressed with a generic ORM Java API witouth any code generation and with minimal optional caching, providing a complete database structure reverse enginering feature.
+ the View layer is Apache Velocity, but other Java View layer technologies can easily be used instead.
+ the Control layer is decentralized in URI to path conventions (like serving *basedir*`/foo.vhtml` for `GET /foo.vhtml`), configuration files and helpers. It can easily be blended in existing frameworks.
Components:
+ [modality-core](modality-core) - Core Modality library.
+ [modality-api-client](modality-api-client) - API client utility for JSON/XML APIs.
+ [modality-webapp](modality-webapp) - servlets and filters for Modality-core configuration and initialization in a J2EE webapp environment.
+ [modality-webapp-auth](modality-webapp-auth) - authentication filters assortment.
+ [velocity-tools-model](velocity-tools-model) - view layer model tool which encapsulates modality-core model objects for use with Apache Velocity Tools.