Giter Club home page Giter Club logo

facilitymanagementsystem-springhibernatejava's Introduction

FacilityManagementSystem-SpringHibernateJava

COMP 373/473 - Objects/Frameworks/Patterns - Spring 2016 - Project 2 using PostgreSQL on Heroku and Spring + Hibernate Frameworks

###Project 2: Object Wiring Using Spring and O/R Mapping Using Hibernate --- A Facility Management System

To Run: There are 3 clients in src/main/java/com/facility/view (FacilityClient, UseClient, and MaintenanceClient). Run one client at a time and comment out the others in src/main/java/com/facility/view/Client.

Project Description:

In this project, we will change the object dependency and collaboration management from directly instantiating to Dependency Injection container (Spring). We will also change the data access mechanism from JDBC to O/R Mapping tool (hibernate).

  • Domain Modeling and implementation and mapping domain model to persistence model
  • Implementing the data access layer by designing and implementing the persistence layer using relational tables to map to objects and the required/necessary data access objects.

You need to design and implement:

  • Spring container configuration for Dependency Injection for the application that you developed in Project 1.
  • Using ApplicationContext Mechanism
  • Dependency relationship using XML
  • O/R Mapping between classes and tables in XML
  • Hibernate configuration

###Facility Management System Design (from Project 1)

System Name: Facility Management System

System Description: Facilities are the building units (buildings and rooms inside) that a company uses to support the activities of the business. This system will support the management of buildings, their constant use, and maintenance support when it is needed. The following are the three main functionalities of this system:

  1. Facility and its description - this will cover the functionalities such as adding a new facility to be managed; removing a facility from being managed; getting general information such as the number and capacity of facilities and their current statuses.
  2. Facility use โ€“ this covers the functionalities of managing the facility such as reserving a facility; the cost of using and maintaining it; assigning and de-assigning a facility for use.
  3. Facility maintenance โ€“ this functionality covers the maintenance of a facility such as scheduling a facility for maintenance; checking maintenance status; listing maintenance requests; calculating down time of a facility and many more functionalities.

Client Interfaces:

  • Facility:
    • public object listFacilities ()
    • public object getFacilityInformation()
    • public object requestAvailableCapacity()
    • public object addNewFacility()
    • public void addFacilityDetail()
    • public object removeFacility()
  • Facility Use:
    • public object isInUseDuringInterval()
    • public object assignFacilityToUse()
    • public object vacateFacility()
    • public object listInspections()
    • public object listActualUsage()
    • public object calcUsageRate()
  • Facility Maintenance:
    • public object makeFacilityMaintRequest()
    • public object scheduleMaintenance()
    • public object calcMaintenanceCostForFacility()
    • public object calcProblemRateForFacility()
    • public object calcDownTimeForFacility()
    • public object listMaintRequests()
    • public object listMaintenance()
    • public object listFacilityProblems()

facilitymanagementsystem-springhibernatejava's People

Contributors

csoulakian avatar

Watchers

 avatar

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.