Implement a film database application using mvc architecture

Assignment Help JAVA Programming
Reference no: EM132312903

Film Database Application

Read this entire brief before starting your assignment.

Brief - Design and implement a film database application using MVC architecture. Use the provided FruitList GUI as a starting point.

Functionality

Your application allows the user to display, add to and search a list of films stored in a text file database via a GUI:
- View the list of all films stored in the database
- Add new films to the list
- Delete existing films from the list
- Filter the list of films according to a search term
- Read a text file database when the application starts
- Save the text file database when the application exits

Starting point
Start by downloading the assignment4.zip file available on Blackboard and import the project into your Eclipseworkspace. There is a fruitapp package containing five classes corresponding to the Model (Fruit and FruitList) View (FruitListPanel) and Controller (FruitListApp). The ReadFruitListData class has two static methods to load and read Fruit objects in a FruitList from the file fruitlistdata/fruits.txt

You will use these files as a starting point to creating your own film database application.

Film List
Your application must display a list of the titles of films in the database. Use appropriate Swing (JComponent-based) components to enable the user to input new films. The user may also select and remove films from the database.

Filtering the list via a search term
Your application has a search input field to allow the user to enter a keyword. There are two buttons:
- Search: performs a search and displays only those films containing the search term in the title.
- Clear: clears the search bar and shows all films in the film database.
Note that the search functionality does not remove any films from the database.

Text File Processing
Your application loads Film object data from the text file on startup to populate the GUI. When the application closes, the films are written to the text file. Modify the existing code in the ReadFruitListData class file.

Suggestions
- Your assignment must adhere to the MVC design pattern. Use the code in the provided assignment4.zip file as a starting point.
- Start by designing the models. You will likely need Film and FilmDatabase objects and perhaps other objects. Ask yourself: What data must we store? A list of films? Could any of the data be represented by enumerated types? Then ask: what functionality must we have? This helps you design objects with methods which implement the core functionality of the database and search.
- Design the structure of the text file. The ReadFruitListData class loads and stores Fruit objects but can easily be adapted to store films. Reuse this code.
- Design a method for searching the film database e.g. perhaps it returns a new FilmDatabase with films satisfying the search terms.
- Only after these activities are completed should you work on designing the graphical user interface.

Javadoc Commenting
1. Your classes must have commenting of the form:
/**
* Comment describing the class.
* @author kjohnsonstudentnumber
**/
2. All methods must be commented with appropriate Javadocs metatags. For example:
/**
* A comment to describe the method
* @param a parameter description
* @return a description of the returned result
* @author kjohnsonstudentnumber
* */

Attachment:- Film Database Application.zip

Verified Expert

This is a simple Java Program that lets the user create and manipulate a movie database. The application also has features to add a movie, search for a movie, and delete it. This is coded in Java, and is a GUI application.

Reference no: EM132312903

Questions Cloud

Present worth of the savings due to the reconfiguration : Using an interest rate of 15% per year, determine the present worth of the savings due to the reconfiguration.
University of chicago booth school of business : Richard Thaler, (Professor, The University of Chicago Booth School of Business) said: "We failed to learn from the hedge fund failures of the late '90s."
Macy and kohl are hit by weak holiday sales : Article from Wall Street Journal, ‘Macy's and Kohl's are Hit by Weak Holiday Sales'.Macy's poor performance can be documented by reading first page of Company
Five stages of economic growth and categorize : Review Rostow's five stages of economic growth and categorize the following countries: Spain, U.S.A., Uganda, Brazil, and China. W. W. Rostow
Implement a film database application using mvc architecture : Film Database Application - Brief - Design and implement a film database application using MVC architecture. Use the provided FruitList GUI as a starting point
Discussion for saving for retirement : Need some help to reply to this for discussion for saving for retirement:
What are major pricing and non-pricing : What are major pricing and non-pricing strategies for an oligopoly?
Chelsea follett about overcoming future resource scarcity : Do you agree or disagree, and why, with Chelsea Follett about overcoming future resource scarcity?
Increase in the demand for services : In the context of providing massage therapy services, list, and describe in detail, five different variables that may cause an increase in the demand

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd