Skip to content
Admin starter project with persistence layer
Branch: master
Clone or download
rafael-pestano
rafael-pestano perf
Latest commit d6ae227 Apr 23, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker
src perf Apr 22, 2019
.gitignore
.travis.yml perf Apr 23, 2019
Dockerfile update docker container and Omnifaces Mar 20, 2019
Dockerfile-payara use specific image tag Apr 4, 2019
Dockerfile-tomee adds tomee example image Apr 4, 2019
README.adoc oops Apr 4, 2019
build-and-run.sh replace sh with bash Mar 31, 2019
nb-configuration.xml update docker container and Omnifaces Mar 20, 2019
nbactions.xml perf Sep 16, 2018
pom.xml test dependencies update Apr 22, 2019
starter1.png perf Aug 11, 2018
starter2.png readme Aug 25, 2017
starter3.png updates to AdminFaces RC14 Apr 17, 2018
starter4.png initial drop in Aug 23, 2017
starter5.png add login bg Aug 9, 2018

README.adoc

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

You can’t perform that action at this time.