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

  Write a program called render.java

Optionally you may wish to add texture mapping to make your models look more realistic, and you may want to supply the user some controls that affect the colours and lighting.

  What do you mean by operator overloading

What do you mean by operator overloading

  What advantages and disadvantages of ajax

Select and submit a Architectural Design Pattern; explain why you selected that particular pattern - What advantages and disadvantages of Ajax, JSON, XML

  What aspects of judaism are rejected or reinterpreted

What theology does Jesus present in the two excerpts from the Gospels that are a part of the readings? What aspects of Judaism are strongly represented? What aspects of Judaism are rejected or reinterpreted?

  What is the resulting value of x after for-loop terminates

Given the following code, where x = 0, what is the resulting value of x after the for-loop terminates? what will x be after the following loop terminates?

  Prepare a program that utilizes your computer class

Prepare a program that utilizes your Computer class. Define a Computer class that can be used to describe your computer.

  Write a java program to draw a cityscape

COSC 1P02 Assignment - "Method in our Madness". Write a Java program to draw a cityscape as seen. The city consists of some number of buildings

  Dangerousmonster which inherits the monster

An interface - DangerousMonster which inherits the Monster interface and has a method called destroy() with void return type.(Note: Just like a class can inherit from another class, an interface can inherit from another interface using the "extends..

  Implement a base class person

Implement a base class person

  Describing the career path of a java developer

Create a 2-3 page report covering the role of Java in industry today compared to C# and Objective-C. Your report should cover: What are the advantages and disadvantages of Java as compared to the other two?

  Create abstract class as a super class of ship class

Order processing systems are used to allow user to check the available products. In this assignment your task is to develop a simple check system in Java.

  Calculate and display the mortgage payment amount

Change request7RequestorNinfa Pendleton - Rapid City, SDDescriptionWrite the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage

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