Skip to content

adminfaces/admin-starter-persistence

Repository files navigation

AdminFaces Starter Persistence

Build Status (Travis CI) Sonar

A simple project to get you started with AdminFaces using Admin Persistence for utility persistence layer.

Login page

starter1

Car list

starter2

Car search

starter5

Car form

starter3

Car form responsive

starter4

Table of Contents

1. Running

Run mvn clean package and deploy on any JavaEE 6 or greater application server.

If you are not running on JBoss/Wildfly you’ll need to configure the datasource declared in persistence.xml.
💡
To run on Java EE 6 app server you’ll need to downgrade OmniFaces to version 2.1.

You can also run via wildfly-swarm with command mvn wildfly-swarm:run -Pswarm.

Or using docker:

docker run -it -p 8080:8080 rmpestano/admin-starter-persistence
💡

Use the bash build-and-run.sh to easily start the application on a docker container.

💡
To run on Payara or Tomee just replace Dockerfile content with Dockerfile-payara or Dockerfile-tomee and run the build-and-run script.

The application is available at http://localhost:8080/admin-starter

2. Demo

A live demo is available on Openshift here

3. Test

To run tests execute following maven command:

  • mvn test -Ptests for all tests

  • mvn test -Pblackbox for functional tests

  • mvn test -Pwhitebox for integration tests

See the following video to see the tests in action: https://youtu.be/9_khZVsDO0Y

Releases

No releases published

Packages

No packages published