Starter Apps
To get started with a new application, download one of the two starter apps.
HelloWorld
The helloworld app is a very minimal app, intended just as a starting point to learn what the framework is all about.
The source code is in this git repo which you can either fork, or just download as a zip, either:
curl https://codeload.github.com/apache/isis-app-helloworld/zip/jdo | jar xv
cd isis-app-helloworld-jdo
mvn clean install
mvn spring-boot:run
to use JDO for the ORM, or:
curl https://codeload.github.com/apache/isis-app-helloworld/zip/jpa | jar xv
cd isis-app-helloworld-jpa
mvn clean install
mvn spring-boot:run
to use JPA as the ORM.
A much more complete explanation of the structure of the app (and how to use it) can be found here. |
Simple App
This app has the same functionality as HelloWorld, but is structured so it can be used as a starting point for developing your own applications. It also includes some integration tests, fixtures, and BDD (Cucumber) specs.
The source code can be found in this git repo which you can either fork, or just download as a zip, either:
curl https://codeload.github.com/apache/isis-app-simpleapp/zip/jdo | jar xv
cd isis-app-simpleapp-jdo
mvn clean install
mvn -pl webapp spring-boot:run
to use JDO for the ORM, or:
curl https://codeload.github.com/apache/isis-app-simpleapp/zip/jpa | jar xv
cd isis-app-simpleapp-jpa
mvn clean install
mvn -pl webapp spring-boot:run
to use JPA as the ORM.
A much more complete explanation of the structure of the app (and how to use it) can be found here. |
Updating to Newer Versions
For both apps you can bump to newer versions of the framework just by updating the <version>
of the Parent POM:
<parent>
<groupId>org.apache.isis.app</groupId>
<artifactId>isis-app-starter-parent</artifactId>
<version>2.0.0</version> (1)
</parent>
1 | update as required. |