The project mmm-archetype
provides an application template to create new apps based on this mmm
framework as maven archetype.
This archetype creates a new app with the following structure:
-
shared
- this is for your code that is shared betweenserver
andclient
. It contains your data-model with custom properties, validators, etc. -
client
- your clients per technology-
core
- your actual client code with controllers, views, etc. -
fx
- dependencies and main class to build your portable client fromcore
as JavaFx desktop app -
tvm
- dependencies and main class to build your portal client fromcore
as web app using TeaVM -
android
- dependencies, manifest, main class, etc. to build your portable client fromcore
as mobile app using android
-
-
server
- your server (backend)-
core
- your actual server code with services, data-access, etc. -
main
- your server bundled as regular Java app -
native
- your server compiled as native binary using GraalVM and packaged as container
-
Maven usage:
mvn -DarchetypeVersion=1.0.0 -DarchetypeGroupId=io.github.m-m-m -DarchetypeArtifactId=mmm-archetype archetype:generate -DgroupId=com.example.application -DartifactId=demo -Dversion=1.0.0-SNAPSHOT -Dpackage=com.example.application.demo
For archetypeVersion
please see Maven central
badge to pick the proper latest version.