Address Book
JPA entities with JSF frontend using CRUD operations via EntityManager.
Project Structure
Section titled “Project Structure”address-book/└── address-book.featureJakarta EE
Section titled “Jakarta EE”jakarta/├── Dockerfile├── Makefile├── README.md├── pom.xml├── smoke.py└── src └── main ├── java │ └── jakarta │ └── tutorial │ └── addressbook │ ├── ejb │ │ ├── AbstractFacade.java │ │ └── ContactFacade.java │ ├── entity │ │ └── Contact.java │ └── web │ ├── ContactController.java │ └── util │ ├── JsfUtil.java │ └── PaginationHelper.java ├── liberty │ └── config │ └── server.xml ├── resources │ ├── Bundle.properties │ ├── META-INF │ │ └── persistence.xml │ └── ValidationMessages.properties └── webapp ├── WEB-INF │ ├── faces-config.xml │ └── web.xml ├── contact │ ├── Create.xhtml │ ├── Edit.xhtml │ ├── List.xhtml │ └── View.xhtml ├── index.xhtml ├── resources │ └── css │ └── jsfcrud.css └── template.xhtmlQuarkus
Section titled “Quarkus”quarkus/├── Dockerfile├── Makefile├── README.md├── pom.xml├── smoke.py└── src └── main ├── java │ └── quarkus │ └── tutorial │ └── addressbook │ ├── ejb │ │ ├── AbstractFacade.java │ │ └── ContactFacade.java │ ├── entity │ │ └── Contact.java │ └── web │ ├── ContactController.java │ └── util │ ├── JsfUtil.java │ └── PaginationHelper.java └── resources ├── Bundle.properties ├── META-INF │ ├── resources │ │ ├── WEB-INF │ │ │ ├── faces-config.xml │ │ │ └── web.xml │ │ ├── contact │ │ │ ├── Create.xhtml │ │ │ ├── Edit.xhtml │ │ │ ├── List.xhtml │ │ │ └── View.xhtml │ │ ├── index.xhtml │ │ ├── resources │ │ │ └── css │ │ │ └── jsfcrud.css │ │ └── template.xhtml │ └── web.xml ├── ValidationMessages.properties └── application.propertiesSpring
Section titled “Spring”spring/├── Dockerfile├── Makefile├── pom.xml├── smoke.py└── src └── main ├── java │ └── com │ └── example │ └── addressbookspring │ ├── Application.java │ ├── ServletInitializer.java │ ├── config │ │ ├── JsfConfig.java │ │ └── SpringConfig.java │ ├── entity │ │ └── Contact.java │ ├── repo │ │ └── ContactRepository.java │ ├── service │ │ └── ContactService.java │ └── web │ └── ContactController.java └── resources ├── Bundle.properties ├── META-INF │ ├── faces-config.xml │ └── resources │ ├── contact │ │ ├── Create.xhtml │ │ ├── Edit.xhtml │ │ ├── List.xhtml │ │ └── View.xhtml │ ├── css │ │ └── jsfcrud.css │ ├── index.xhtml │ └── template.xhtml ├── ValidationMessages.properties └── application.properties