A simple project to get you started with AdminFaces using Admin Persistence for utility persistence layer.
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
|
The application is available at http://localhost:8080/admin-starter
A live demo is available on Openshift here
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