This is the showcase for the C3Faces JSF library. The showcase is based on the work of Martin Linha who is the initial creator of the C3Faces library.
C3Faces is a JSF library using C3.js for the underlying rendering technology for every interactive chart.
In opposite to Highfaces works C3Faces together with Apache MyFaces and Oracles Mojarra.
The latest sources for C3Faces are available at GitHub. This repository is a fork of the original library created by Martin Linha. Because this library is no longer under active development it was forked by me and is also officially released to Maven central, so that usage of the library is that easy.
The built version of the showcase is available at http://c3faces.kivio.org. If you find any issues in the showcase or requesting new features or deeper explanation please file an Issue or a pull request.
This showcase uses TomEE 7.0.4 as application server. The whole showcase is also available as docker image.
The showcase can be executed on every local machine which has Java 8 installed. Just call the following Maven command:
mvn clean package tomee:run
and open a browser calling the URL: http://localhost:8080/
The POM also includes the great Docker Maven plugin by fabric8. The image can be build by running the following Maven command:
mvn clean package docker:build
or if you want to execute the image in your local docker instance, execute the following Maven command:
mvn clean package docker:build docker:run
If you have a remote machine running a docker host, deploy the image to your machine and import it with the following command:
docker import docker-build.tar.gz
The image is available as c3faces-showcase or with its alias showcase.
A container based on that image can be started as follows:
docker run -d -p 8080:8080 --name showcase c3faces-showcase
Or if you want to use a different port, because 8080 is reserved by a different instance, execute the following command:
docker run -d -p 8081:8080 --name showcase c3faces-showcase
In case of error a container can be automatically restarted:
docker run -d -p 8081:8080 --restart unless-stopped --name showcase --network=kivio c3faces-showcase