https://github.com/hantsy/jakartaee-faces-sample
Jakarta EE 10 Faces Example
https://github.com/hantsy/jakartaee-faces-sample
arquillian graphene jakarta-server-faces jakartaee jsf
Last synced: 3 months ago
JSON representation
Jakarta EE 10 Faces Example
- Host: GitHub
- URL: https://github.com/hantsy/jakartaee-faces-sample
- Owner: hantsy
- License: gpl-3.0
- Created: 2020-02-05T12:57:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T04:15:38.000Z (over 1 year ago)
- Last Synced: 2025-02-27T05:55:55.201Z (over 1 year ago)
- Topics: arquillian, graphene, jakarta-server-faces, jakartaee, jsf
- Language: Java
- Homepage:
- Size: 507 KB
- Stars: 41
- Watchers: 4
- Forks: 19
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jakarta EE Faces Sample
[](https://github.com/hantsy/jakartaee-faces-sample/actions/workflows/maven.yml)
A Jakarta Faces example application demonstrates the latest Jakarta EE tech stack for classic web application development.
The repository has already been upgraded to Jakarta EE 10.
* For the Jakarta EE 10 version with GlassFish v7.1 and Java 21, check the release [Archive for Jakarta EE 10 with GlassFish v7.1 and Java 21](https://github.com/hantsy/jakartaee-faces-sample/releases/tag/ee10-gf7-java21).
* For the Jakarta EE 10 version, check the release [Archive for Jakarta EE 10](https://github.com/hantsy/jakartaee-faces-sample/releases/tag/ee10).
* For the old Jakarta EE 8 version, check the release [Archive for Jakarta EE 8](https://github.com/hantsy/jakartaee-faces-sample/releases/tag/v1.0).
* For the legacy JavaEE 8 source codes, go to the repository [javaee8-jsf-sample](https://github.com/hantsy/javaee8-jsf-sample).

## Documentation
[Building a Jatarka Server Faces application](/docs/guide.md)
## Build
1. Clone a copy of the source code.
```bash
git clone https://github.com/hantsy/jakartaee-faces-sample
```
2. Run on Glassfish.
```bash
mvn clean package cargo:run -pglassfish
```
3. Run the test on the GlassFish managed adapter.
```bash
mvn clean verify -Parg-glassfish-managed
```
> [!WARNING]
> To reduce maintenance costs, I have removed the configuration for running the applications on WildFly, OpenLiberty, Payara, etc. If you need to run it on these application servers, please refer to [jakartaee9-starter-boilerplate](https://github.com/hantsy/jakartaee9-starter-boilerplate) or [jakartaee10-starter-boilerplate](https://github.com/hantsy/jakartaee10-starter-boilerplate) and add the configuration yourself.
## Reference
* [Testing HTML and JSF-Based UIs with Arquillian](https://blogs.oracle.com/javamagazine/testing-html-and-jsf-based-uis-with-arquillian)
* [Functional Testing using Drone and Graphene](http://arquillian.org/guides/functional_testing_using_graphene/)
* [Arquillian Drone Reference Documentation](http://arquillian.org/arquillian-extension-drone)
* [Arquillian Graphene Reference Documentation](http://arquillian.org/arquillian-graphene)