Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcuprak/jakartaee-starter
Jakarta EE 10 Starter Project
https://github.com/rcuprak/jakartaee-starter
Last synced: about 1 month ago
JSON representation
Jakarta EE 10 Starter Project
- Host: GitHub
- URL: https://github.com/rcuprak/jakartaee-starter
- Owner: rcuprak
- License: apache-2.0
- Created: 2021-07-28T05:35:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-09T03:38:24.000Z (2 months ago)
- Last Synced: 2024-11-09T04:27:03.086Z (2 months ago)
- Language: Java
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jakartaee-starter
This is a JakartaEE 10 "starter project" to help you start developing your own Jakarta EE 10 application.This starter application has the following features:
* Payara 6
* Maven based
* Java 21
* Sample JSF page
* Sample CDI bean and test
* Arquillian integration tests
* JUnit 5
Since this is a Maven based project, you can easily open it using IntelliJ or NetBeans.
## Setup
This project uses [Maven toolchain](https://maven.apache.org/guides/mini/guide-using-toolchains.html "Maven Toolchain").In ~/.m2/toolchain.xml make sure you have a Java 21 JVM defined that matches the configuration in the pom.xml.
```
jdk
21
zulu
path to java 21
```## Building & Running
To build this project:
* For Java 21: \
````
export JAVA_TOOL_OPTIONS="-Djdk.util.zip.disableZip64ExtraFieldValidation=true \
-Djdk.attach.allowAttachSelf=true \
--add-opens=java.base/java.io=ALL-UNNAMED \
--add-opens=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
--add-opens=java.base/java.net=ALL-UNNAMED \
--add-opens=java.naming/javax.naming.spi=ALL-UNNAMED \
--add-opens=java.base/java.lang=ALL-UNNAMED"
````
* mvn package
* cd target/
* If you are using Payara 6:
* asadmin start-domain domain1 (default server non-production server configuration)
* asadmin deploy starter-1.1.war (then goto https://localhost:8080/)
* In your web browser: https://localhost:8080/starter