Create data objects to store the data to disk

Assignment Help Computer Engineering
Reference no: EM132110184

Project - Instructions

Now that you are well on your way to creating a functioning application with the ability to accept data via input forms and display the data in report windows, it's time to start implementing some functionality that will allow your application to save the data permanently to disk. All of the objects you are creating will disappear once the application closes unless you write the data to a permanent location.

Although it's not necessary to create data objects to store the data to disk, we chose this method in order to simulate a data access layer in our application. Our data model class is where we store all of our objects. We now want to be able to write out all the data from the data model, into a permanent file or files.

For this assignment, you will implement output methods which will write the contents of the lists in the data container, to permanent memory. For convenience, you can add these methods to the data model class or you can create a utility class.

As you can see from the class notes , there are many ways to implement data persistence. We are looking at just a few of them. For this assignment I am going to let you choose which format to save the data.

I am offering you a lot of flexibility in this assignment. You can choose which method or methods you want to implement to permanently store the data. If you want to try all of them, you are welcome to do that.

Just make sure that at least one of your methods works correctly to store all the data. Keep in mind that how you store the data will influence your read methods that you will be implementing next week.

Also remember that some of your objects contain embedded array lists. Remember to write out the data from these along with all the other data in the object.

NOTES:

Execute the output method upon the application closing event by implementing a file save menu option .

The sample project attached here shows how to persist the data using all three covered formats, for the classroom object.

You will have 2 weeks to finish this assignment. Please don't delay in getting started. Although not as challenging as event handling, it is somewhat labor intensive, depending on the format you choose. And as always, I will be here to help you if you get stuck.

Reference no: EM132110184

Questions Cloud

How many times a user specified word appears in the files : Display the name of input files and corresponding number of occurrences of the specified word.
Write a program to run a tournament : Write a program to run a tournament. Start with your project 3 program for creatures. If you had issues with project 3 and need to begin fresh.
List all the courses offered for the first time : List the eligible periods/classrooms for an unassigned course. This list should adhere to all the business rules given.
Which of these malicious software has been more devastating : Which of these malicious software has been more devastating recently and how could it be prevented or contained?
Create data objects to store the data to disk : Create data objects to store the data to disk, we chose this method in order to simulate a data access layer in our application.
List out the project planning guidelines : Why the Project Planning is challenging task? List out the Project planning guidelines.
Display a graph of projected earnings : display a graph of projected earnings - You are tasked with creating an application that uses a GUI that simulates a simple banking interface similar to an ATM
A description of the design of your solution : In this project, you are asked to solve the readers and writers problem by using the clientserver model and a kind of communication facility.
Create a spreadsheet page that automates the process : ITECH1100 Understanding the Digital Revolution Assignment - Parchment Basement, Federation University Australia. Create spreadsheet page that automates process

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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