niccs / WineManagementSystem

A simple user interface created in JSF and Java that would allow a user to view the basic details of a wine, reading data from json files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Winery Management System

A simple user interface created in JSF and Java that would allow a user to view the basic details of a wine, reading data from json files as part of coding challange for Vintrace

Features Supported!

For Excercise1:

  • The implementation of 4 wine composition methods is done is WineServiceImpl class. For Excercise2:
  • A JSF UI that would allow a user to select a wine to see its details.
  • User can view basic details of a wine, and a combo-box to switch between viewing the different composition types.
  • Composition types supports printYearBreakdown,printVarietyBreakdown, printRegionBreakdown and printYearAndVarietyBreakdown.
  • Each method shows the percentage of the unique property along with the unique properties sorted from highest percentage to lowest.
  • JSF backing bean is loading a Wine object from the JSON sample files from the web-resourceses.
  • Maven build is provided.

Design-workflow

Design

ScreenShots

ScreenShot1

ScreenShot2

Tech

  • JDK 1.8.0_201
  • JSF 2.2
  • JAVA EE 7 compliant server (I have configured Glassfish 5)

Installation instructions. -- via eclipse

  • Import the maven repo
  • Install the Glassfish server
  • Download GlassFish tools from Eclipse marketplace.
  • Configure the downloaded server in eclipse.
  • From project properties, in targeted runtime-- select the Glassfish server.
  • WineManagementSystem--Run on server
  • The localhost URL will be:--http://localhost:8080/wineManagementSystem/

Installation instructions. -- via maven command line

I have used maven embedded-glassfish plugin to install the app.

About

A simple user interface created in JSF and Java that would allow a user to view the basic details of a wine, reading data from json files


Languages

Language:Java 64.8%Language:HTML 19.7%Language:CSS 15.5%