= Starter Apps

:Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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 link:https://github.com/apache/causeway-app-helloworld[git repo] which you can either fork, or just download as a zip:

* to use JPA as the ORM, use:
+
include::helloworld-script-jpa.adoc[]

* use JDO as the ORM, use:
+
include::helloworld-script-jdo.adoc[]


TIP: A much more complete explanation of the structure of the app (and how to use it) can be found *xref:docs:starters:helloworld.adoc[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 xref:testing:integtestsupport:about.adoc[integration tests], xref:testing:fixtures:about.adoc[fixtures], and xref:testing:specsupport:about.adoc[BDD (Cucumber)] specs.

The source code can be found in this link:https://github.com/apache/causeway-app-simpleapp[git repo] which you can either fork, or just download as a zip:

* to use JPA for the ORM, use:
+
include::simpleapp-script-jpa.adoc[]

* to use JDO as the ORM, use:
+
include::simpleapp-script-jdo.adoc[]



TIP: A much more complete explanation of the structure of the app (and how to use it) can be found *xref:docs:starters:simpleapp.adoc[here]*.


== Updating to Newer Versions

For both apps you can bump to newer versions of the framework just by updating the `<version>` of the xref:docs:parent-pom:about.adoc[Parent POM]:

[source,bash]
.pom.xml
----
<parent>
    <groupId>org.apache.causeway.app</groupId>
    <artifactId>causeway-app-starter-parent</artifactId>
    <version>2.0.0</version>                            <!--1-->
</parent>
----
<1> update as required.

Check the release notes/migration notes for details on new features and of any breaking changes.
