NOTE: This is still a work in progress, we are looking for feedbacks from Java EE 7 experts.
Reverse a sample SQL schema and generate a full S-CRUD Java EE 7 web application.
S-CRUD means: Search, Create, Read, Update, Delete
The code generation is done by Celerio.
The project uses its own code generation templates, see src/main/celerio.
You may edit the file celerio-template-packs.xml to choose between a conversation-based front end or a simpler front end version. By default, the conversation-based front end is enabled.
The generated application runs on WildFly 10, it is a pure Java EE 7 application, it relies on:
- JPA with Hibernate
- Search with Hibernate Search / Lucene
- JSF 2.2
- Primefaces 5.3 / Omnifaces 2.1
- Shiro for authentication
It also relies on house-made solutions for:
- query by example
- JSF conversation (depending on if you choose this front-end version or not)
- Java 8
- Maven 3.1.1
- Latest WildFly version (we currently use 10.0.0-CR4)
From wildfly distribution root folder, run:
./bin/standalone.sh
From this folder run from:
mvn -Pdb,metadata,gen generate-sources
mvn wildfly:undeploy <== if you deployed previously, undeploy it first
mvn wildfly:deploy
http://localhost:8080/demo
mvn -PcleanGen clean
You may contribute in several ways:
- By using the generated app and trying to find its limits
- By reviewing the generated code, is Java EE 7 properly used ?
- By trying to generate a project using your own database schema
You may of course report issues and/or submit pull requests.
- Cache does not seem to work (ehcache)
- LocalDate not supported by PrimeFaces p:calendar, even with our converter!