Git Product home page Git Product logo

javaee8-jsf-sample's Introduction

javaee8-jsf-sample(WIP)

Check the latest Jakarta EE Faces Example project.

Java EE 8 and Glassfish v5 had beed released for a few days, I also spend some time to update to the last specificaitons brought by Java EE 8. This sample application will show how to build a traditional MVC application using Java EE 8 new features.

The following specifications are used in this sample appliacation:

  • JSF 2.3
  • JPA 2.2(and EJB, JTA) for database operations
  • CDI 2
  • Bean Validation 2
  • Java EE Security 1.0

What's it?

You could have embraced some Agile methodology in your projects, such as Scrum, Kanban, TODO list etc. This sample application can be considered as a simple Kanban like applicaiton, I name it Taskboard.

In the initial version, it could includes the following features:

  • Display tasks in Swimlan view(split by status)
  • Create and update task(requires authentication)
  • Delete task if it is done

preview

I have also created some some variants to demonstrate varied technology stack in the past, you can browse which you are interested in.

Build the project

Prerequisites

To try this appliacation in your local system, make sure you have already installed the following software.

Get the source codes

Clone the source codes from github.

git clone https://github.com/hantsy/javaee8-jsf-sample

Or check out the codes NetBeans IDE which have great Git support.

Now you can run it from mvn command line or NetBeans IDE.

Command line

mvn verify cargo:run

NetBeans IDE

  1. Adds Glassfish in Server node in the Service view.
  2. Open the project(if you used NetBeans to check out the codes, it could be open by default)
  3. Right click the project node, and select Run to run this project on Glassfish.

Contribution

Welcome to contribute this project, you can fork it and send a pull request, or share your idea on Github issues.

javaee8-jsf-sample's People

Contributors

hantsy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

javaee8-jsf-sample's Issues

Configure Glassfish Security

Great job with the demo. It looks nice but I was unable to login...

On Glassfish 5, I created two users "user" and "admin" in the File security realm and mapped them to ROLE_USER and ROLE_ADMIN groups respectively. I then redeployed the app, but I still can't login successfully.

Any chance you could add a few more deployment and configuration instructions to the README.md so that I can replicate what you did?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.