Proposal for the design of a distributed application

Assignment Help Database Management System
Reference no: EM131431815

Description

This assignment will involve a proposal for the design and implementation/prototype of a distributed application/system to be implemented in Java (you may request an alternate language) that will be the target of Assignment 3.

As option 1 for this assignment your task is propose a project design of your own direction that leads to Assignment 3. The target project will implement a server(s) and the clients that will provide a robust distributed application in your selected problem domain. As an alternative project selection noted as option 2, you may follow the requirements of the document-vending system. Both projects will involve a proposal document describing the process of design, implementation, and testing of your application. The proposal from Assignment 2 will lead to a final document and implementation in Assignment 3.

Details
Your Distributed System (option 1)

The application must address the following properties:
- Multiple processing entities in the form of clients and servers.
- Shared data/state information.
- Robust operation in the form of communication, processing, and crash/restart capability.
- Must only use the Java language packages (no external packages other than for user interface support).
- Must be non-trivial and use literature support as the basis for the inspiration.

Document Vending Application (option 2)

This assignment will involve the design and implementation of a multi tiered client-server architecture (to be implemented in Java). Your task is to design and implement a server and the clients that will provide reliable transmission in the given problem domain. The client-server system will implement an application that will provide document-vending support. This distributed application will provide the client with a set of documents (and their associated costs) they may purchase. Clients will select their documents and must pay before receiving them.

You will design and implement a single server that will function as the document vendingapplication for multiple client connections (which you will also design and implement). The document vending application must be written in Java and does not include commercial database-engines (other than your own implementation of a data store). This server will provide a list of documents and their associated costs. A client may review the server's products and make download requests.

This assignment will involve the design and implementation of a cache service for your document vending application. You do not need multiple machines to implement or test this project. However, the assumption is that each element can exist on a separate physical machine and must use remote communication to accomplish a given task. The intent of the cache is to reduce read latency. This assignment will introduce the concept of a cache service and give you experience in the design and implementation of a multi-tiered system.

In this project, you must design and implement a single cache service that supports multiple clients (IE. any client created within your system will have access to the cache service). You must design and implement the cache functionality such that it supports the lookup, addition, and removal of elements in the cache. Thus, the cache must have a fixed size and must be consistent. This cache service becomes part of the Document Vending Server. Additionally, the Document Vending Server will interface with a data layer that stores the entire inventory of documents.

Each Java client must interface with your Java Document Vending Server. The client-server system will allow a user to send a request for a text file to the server. The assignment will require you to develop a client Java application (VClient), a server Java application (VServer) and the data server (DServer). The system will run on a single physical machine by invoking multiple instances of the Java Virtual Machine.

Details

Client-Server System
The design and implementation of the client-server file vending application will consist of multiple layers and their associated application protocols using a reliable transport protocol:
1. Presentation Layer
- The Client.
2. Processing Layer
- The Document Vending Application Server.
- Cache Service.
3. Data Layer
- Document Store.

The Client
A client program must be designed and implemented. This Java program will communicate with the end user and your Document Vending Server. For this assignment a graphical user interface for the client is neither required nor prohibited. In general, it is better to produce a correctly designed and properly implemented basic program than to produce a poor quality program with many bells and whistles.
The client will initially communicate with the Document Vending Server to start an application session. Your Java client program will provide the options to send a request for service from the server for processing. After session initialization, the user must supply one of the following options: - Get document names and costs (IE. return all file names present on the vending server along with their associated costs).
- Retrieve document name (read the entire contents of the given file from the Vending Server) and thus receive a notice of payment.
- At least one client must have the proper authority to add and remove documents.

The client must support an interactive mode, which includes the specification of the file and all processing options. Output must be displayed on the client's screen. Each client will communicate with the server. The communication is presented in more detail in the next section.

The Server
You will develop a Java server that functions as a Document Vending Service. The server will receive the input from the Java client. Your server must enforce the cost structure per document and handle exceptions.

Each client will send its request to the Document Vending Server. The server will then review the request and complete its duty by fulfilling the specified action. Each server request forms the basis of the client-to-server protocol portion of the communication.

The request contains one of the following options:

- Get document names and costs (IE. return all file names present on the vending server along with their associated costs).
- Retrieve document name (read the entire contents of the given file from the Vending Server) and thus receive a notice of payment.
This document vending machine has distinct types of documents with the following cost associated with these documents: A 75 units, B 110 units, C 130 units, D 200 units, E 200 units, and F 500 units. Initially, the inventory will have n of each object (specified as a startup parameter where n is an integer between 0-20). For the sake of simplicity, a document is equivalent to a file that has size of 1K times the given cost. Therefore, documents of type A are 75K, documents of type B are 110K, and so on.
The document name space is global and you may use standard files within the data server to represent the document data. After the server has received a request for a document, it will send a notice of payment prior to sending the document, provided the server may fulfill the request. If the document is in the cache (function explained in the next section), the server may reduce the cost of any document by 50%. Thus, the server-to-client protocol will consist of responses to the client's requests.

Cache Service
Your Document Vending Server must include a cache. A cache service will hold data elements of interest to the clients. Your design and implementation of a cache service must address the following issues:
- Cache size
a. Cannot be infinite.
b. Must make sense for the system.
c. Must be re-configurable based on an initialization parameter.
- Must support element query
a. Search for data in the cache.
b. Return data if present.
- Must support element creation
a. Adding of data to the cache.
b. Place in unused space if available.
- Must support element removal
a. Remove data from cache.
b. Define a formula to remove elements.
- Support cache consistency
a. Reads.
b. Writes.
- Cache service interactivity
a. Client interaction.
b. Server interaction.

Data Store
A separate data layer must be developed to support a persistent store for the documents associated with a global inventory. This data layer must implement its own mechanism and must not interface with any preexisting database package. However, you may use standard files within this data layer. This data layer must support the data requirements of the Document Vending Server (described functions above) and only interface with the Document Vending Server.

Deliverables for both options (1 & 2)

Initial Project Proposal Paper
Write an Initial Project Proposal Paper that accomplishes the task of specifying your proposal. The structure of Assignment 2 must follow the format presented below and contain the following:
- A rigorous problem description that is relevant and significant to the area of your choice. Your descriptions should be as precise and rigorous as possible.
- A discussion of the most influential papers on the topic.
- A proposal that:
Involves the further development of a solution in the focus area,
or Involves a new approach to the focus area.
- A literature review describing the background of your topic.
- An approach that discusses a potential methodology for the solution of the problem.

Address each of the points below in descriptions that smoothly transition using the framework listed below. The written work will be judged based upon the quality of your writing (grammar, word selection, clarity, organization, and smoothly flowing discussion), your understanding of the content (accuracy, analysis, and synthesis), and the experiment's compliance with the design and test methodology.

Use 12-point Times New Roman font, double-space, section headers and sub-headers, and citations and references in APA style.

Proposal items
introduction, problem and goal
This contains a concise statement of the problem, need and a concise definition of the goal of the work. The point of a goal is to establish a measurable entity that is used in evaluating your work. Provide the necessary background and discuss the relevant literature that was the focus of the research.
Discuss the problem in detail.
Review of the Literature
Provide detail on the research contributions that support the problem, need or goal.
Approach
Describe the method used to address the problem. An outline of the project proposal format is given below:
Front Matter
Title Page
Table of Contents
The Text

Chapter I. Introduction
Relevance, significance and need for the study Statement of the problem to be investigated and goal to be achieved Definition of terms Summary

Chapter II. Review of the Literature
The theory and research literature specific to the topic Summary of what is known and unknown about the topic

Chapter III. Approach
Specific Methods and Procedures to be employed
Resources
Summary
Back Matter
References
Content

Chapter I. Introduction
This chapter explains the reasons for conducting your study. Provide a clear and concise statement of the problem to be investigated and goal to be achieved. The problem is defined in specific terms. Reference the relevant literature throughout your paper. Do not provide an entry in the Reference section of your paper unless you have cited it in the body of the paper.

Chapter II. Review of the Literature
This chapter begins with an introduction that explains the purpose of the literature review and concludes with a summary. Organize the review by subject headings.

This chapter extends the context for the investigation. Use various sources to highlight and identify important previous work used to provide additional support. State the contributions other researchers have made to the subject explain the impact of their work on your study.

Chapter III. Approach
This chapter delineates, in detail, the ways in which the project/investigation will be conducted. The model described provides the potential methods, and measurements for the study.

References
All works cited in the paper must appear in the reference list.

Submit a ZIP file consisting of a Word document containing the Project Proposal Paper and a fulltext copy of each article referenced (only those that were cited) in your paper to the Assignment 2 category in Blackboard.

Reference no: EM131431815

Questions Cloud

Discuss about the article related to lee iacocca : This case involves the Ford Pinto and its reputation for the gas tank exploding causing hundreds of injuries and lawsuits. Lee Iacocca was accused at the time of being "in a hurry" to bring a subcompact car into the market to compete with competi..
Use rank test to see whether there has been significant loss : We want to know if vitamin C has been lost during transportation and storage. Describe what the data show about this question. Then use a rank test to see whether there has been a significant loss.
How four principles of data collection support your ability : Explain how the "Four Principles of Data Collection" from Yin (2014) support your ability to address your DBA doctoral research question.
Explain how the dhs has changed from its inception : Explain how the DHS has changed from its inception in 2001 to what it has become today.Describe how the relationships between the DHS and other law enforcement and intelligence agencies have transformed over the years.Analyze the current structure o..
Proposal for the design of a distributed application : Proposal for the design and implementation/prototype of a distributed application/system to be implemented in Java (you may request an alternate language) that will be the target of Assignment 3.
Contents of the article to concepts : You are to select a recent (three months of age or less) news article and write a post that relates the contents of the article to concepts from Chapter 4 and analyzes the article using an economic perspective.
Describe how to build a cohesive team : You need to describe how to build a cohesive team that performs well. You can also give illustrations of obstacles to high team performance and ways in which these obstacles can be overcome
Use the kruskal wallis test to test the hypothesis : he chi-square test ignores the ordering of the responses. Use the Kruskal-Wallis test (with many ties) to test the hypothesis that some SES classes smoke systematically more than others.
Permanent negative supply shock : Question 1: Using the AS-AD model, show what happens when a permanent negative supply shock hits the economy. Be sure to label all curves, axes and initial/?nal equilibria.

Reviews

len1431815

3/18/2017 3:28:27 AM

Address each of the points below in descriptions that smoothly transition using the framework listed below. The written work will be judged based upon the quality of your writing (grammar, word selection, clarity, organization, and smoothly flowing discussion), your understanding of the content (accuracy, analysis, and synthesis), and the experiment’s compliance with the design and test methodology. Use 12-point Times New Roman font, double-space, section headers and sub-headers, and citations and references in APA style. Proposal items introduction, problem and goal This contains a concise statement of the problem, need and a concise definition of the goal of the work. The point of a goal is to establish a measurable entity that is used in evaluating your work. Provide the necessary background and discuss the relevant literature that was the focus of the research. Discuss the problem in detail. Review of the Literature Provide detail on the research contributions that support the problem, need or goal.

len1431815

3/18/2017 3:28:15 AM

Write an Initial Project Proposal Paper that accomplishes the task of specifying your proposal. The structure of Assignment 2 must follow the format presented below and contain the following: • A rigorous problem description that is relevant and significant to the area of your choice. Your descriptions should be as precise and rigorous as possible. • A discussion of the most influential papers on the topic. • A proposal that: Involves the further development of a solution in the focus area, or Involves a new approach to the focus area. • A literature review describing the background of your topic. • An approach that discusses a potential methodology for the solution of the problem.

len1431815

3/18/2017 3:27:58 AM

All works cited in the paper must appear in the reference list. Submit a ZIP file consisting of a Word document containing the Project Proposal Paper and a fulltext copy of each article referenced (only those that were cited) in your paper to the Assignment 2 category in Blackboard.

Write a Review

Database Management System Questions & Answers

  Sort ascending by consultant id and date opened

Sort ascending by consultant ID and Date Opened. Don't show tickets with category ID of 0. HINT: You will require to use SELECT query with an alias in builder for the column.

  Design class of Student that has given Data members

Design a class of Student that has the attributes:· Data members: name, Mathematics score and Chemistry score - Declare an array of three elements.

  Design a database for the scenario

CSG1207 - CSI5135 Systems and Database Design - Your first task is to design a database for the scenario detailed on the following pages. Your final database design should comprise of approximately 10 entities.

  What is the assignment operator

What is the problem with the following statement? 60 + 5 = grade, What is the problem with the following statement? lastName = "smith, What is the assignment operator

  How data will be output from the system

How data will be output from the system? Develop a plan for data organization, storage, updating, and retrieval. A list of tasks or activities needed for implementing the proposed system.

  Why you want to use structured query language for database

Discuss the challenges of accurate data analysis upon accurate data modeling. Why would you want to use structured query language (SQL) for database design?

  Write a statement of work to present to wild wood management

Wild Wood Apartments owns 20 different apartment complexes in Washington, Oregon, California, and Idaho. Write a statement of work to present to the Wild Wood management

  Identify required attributes that need to be tracked

Identify required attributes that need to be tracked. Identify functional dependencies. Show the redesign in 1NF, 2NF, and 3NF.

  What is the purpose of a disaster recovery plan (drp)

What are the five methods of testing a DRP?

  Design a relational database containing information

Design a relational database containing information about music composers, their lives, and their compositions.

  Describe database backup and disaster

Describe Database Backup - 2 pages, (b) Describe Disaster Planning - 2 pages, (c) Highlight the importance of the integration of both backups and disaster planning and the impact if both are not effectively executed - 1 page.

  Statements for the subsequent queries of the database

Write the statements for the subsequent queries of the database - Find Beth' s home state.

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