Skip to content

josh-privata/Hat_And_Scarf-School

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oracle Glassfish Java EE

Hat and Scarf

A simple Java EE application to manage inventory

Passing Java EE BSD License


Table of Contents

Synopsis

'A' company needs to build an e-business system. The system is a typical 3 - tier enterprise application that integrates a presentation tier, a business tier, and a persistence tier. The executive of IT Department has decided to use Java EE open source technology and related platforms and tools to implement the system. The problem put forward was to design a very rudimentary e-commerce template to allow the company to manage their inventory.

This project required the following steps :

  1. Develop a business tier using Enterprise Java Beans (EJB 3.1 or higher). The business tier is used to process the data persistence or retrieval requests from a user and interact with the persistence tier for accomplishing the requests.

  2. Develop a presentation tier by using JavaServer Faces (JSF 2.0 or higher). The presentation tier will provide a web-based user interface, which will allow users to store product details, customer details and order details, and retrieve the persisted information later on. The program was required to use the Java Persistance API to manage the data

Note: To interact with the persistence tier, the EJBs must use Java Persistence Query Language (JPQL) to query entities, and return the processed results to the presentation tier.

Install

First, make a directory to install the files to and change to that directory using :

 mkdir hatandscarf && cd hatandscarf

Then all you need to do is clone the project from github into the directory by using :

 git clone https://github.com/josh-privata/Hat_And_Scarf.git

Usage

Note: Java Runtime is required to run the preceding commands.
Note: Oracle Glassfish is required to run the preceding commands.

Initially the program needs to be compiled. After you have copied the files to a directory, run the command :

$ jar cvf HatAndScarf.war .

Alternatively, you can use the .war file included.

Then deploy the application to Glassfish using the command :

$ asadmin deploy HatAndScarf.war

Or using your web browser visit http://localhost:4848/ (default username/password is most likely admin/admin) and upload your application to the web interface.

You can access the program by visiting http://localhost:8080/HatAndScarf/

Screenshots

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

License

BSD Copyright (c) 2016 Josh Cannons.

About

A simple Java EE application to manage inventory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published