Simple Java EE CDI Crud example
JavaScript Java Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src perf Jul 9, 2018
.coveralls.yml fixed jacoco and coveralls Dec 28, 2014
.gitignore updated deltaspike Nov 8, 2014
.travis.yml Update .travis.yml Jan 13, 2018
Dockerfile - updates libs Jul 16, 2017
README.adoc readme update Jul 5, 2018
cdi-crud.iml perf Mar 1, 2017
cdi-crud.png template update Feb 9, 2017
pom.xml Updates FT tests dependencies Jun 12, 2018

README.adoc

Simple Java EE CDI Crud example.

Build Status (Travis CI) Coverage

cdi crud

Available at Openshift

You can access the project online at Openshift PaaS:

See also CDI Crud REST API.

How run it:

The are many ways to run this application:

Via maven
mvn clean package

and deploy to a JavaEE server

Via wildfly-swarm
mvn wildfly-swarm:run -Pswarm
Docker
docker run -it -p 8080:8080 rmpestano/cdi-crud

The application is available at http://localhost:8080/cdi-crud

Running tests:

  • Via maven:

    mvn clean test -Ptests -Pwildfly-managed
  • Or via IDE: activate container profile in your IDE and Run CrudIt.java|CrudBdd.java|CrudRest|CrudAt as Junit test

Technologies:

  • CDI

  • JSF

  • Hibernate

  • Primefaces/AdminFaces

  • Deltaspike

  • Arquillian

  • Cucumber

  • DBUnit

  • JaxRS

  • Swagger

  • Openshift

Application servers

Tested under:

  • Wildfly 8.x

  • with minor efforts(mainly persistence configurarion) should run on other JavaEE 7 application servers

Forge plugin

if you use JBoss Forge 1.x (soon on forge 2) you may have a look at this plugin which generates Crud in the format you see at this project.