Design and implement a p-two-p file-sharing application

Assignment Help JAVA Programming
Reference no: EM131604093

Assignment: CORBA-based P2P File-Sharing Application

Overview

You need to design and implement a lightweight CORBA-based P2P file-sharing application. This application consists of a server program and a client program. Before you begin, you need to discuss with your tutor which database management system your program is going to use.

Requirements

The "lightweight" functions must include the following:

1. The server program runs at a computer.
2. The server program maintains a connection with a database management system.

• You need to discuss with your tutor which database management system your program is going to use.
• You need to provide the relevant database files or SQL Database Definition Language to your tutor to help your tutor establish the database needed to test your TME.

3. The user can run the client program at his/her computer (which may be different from the computer on which the server program is running).

• When your tutor tests the program, s/he may test two or more clients and test the filesharing function among clients.

4. The user can choose which files s/he wants to share with other users.

• The client program then registers the files on the server via CORBA.
• The user can remove the files that s/he no longer wants to share with others. If the user does this, the client program will update the sharing status on the server via CORBA.

5. The user can search the filename which s/he wants to download from other users.

• The client program then searches on the server via CORBA.

• If the client program finds that anyone is sharing the file, the client program shows the file name to the user without revealing who owns the file.

• If the client program finds that no one is sharing the file, the client program shows "no match result" to the user.

6. If someone is sharing the file that the user wants to download, the user can click on the file name and download the file to his/her computer. When the user starts the download,

• the client program first asks the server who owns the file (via CORBA).

• the client program (i.e., client-A) then builds a socket connection with the other client program (i.e., client-B), which means that the client program is a socket server application as well as a socket client application.

• client-A then tells client-B which file it wants to have.

• client-B sends the file to client-A via a socket.

Deliverables

Your assignment must be zipped into one file and uploaded using the Assignment Drop Box feature of Moodle. The file must include

• all source files.
• a complete test plan.

Before you submit your TME, please review Tutor-marked Exercise Requirements for full details of TME requirements and to review the marking scheme. Please contact your tutor if you have any questions.

Reference no: EM131604093

Questions Cloud

What are the global maxima and minima of g : Does the graph of g(x) have any inflection points? If so, give the approximate x-coordinates of their locations. Explain your reasoning.
Define stereotypes can harm the helping process : Discuss how personal values, beliefs, prejudices and stereotypes can help or harm the helping process
Explain why function has a global maximum : Figure shows the second derivative of h(x) for -2 = x = 1. If h'(-1) = 0 and h(-1) = 2, Explain why h'(x) is never negative on this interval.
Discuss the cost-benefit analysis of extending a life : Discuss the cost/benefit analysis of extending a life. Consider the impact to a family of continued paycheck as contrasted with ongoing expense of healthcare.
Design and implement a p-two-p file-sharing application : You need to design and implement a lightweight CORBA-based P2P file-sharing application. This application consists of a server program and a client program.
Decide between two different conveyor belt systems : Hagar Industrial Systems Company (HISC) is trying to decide between two different conveyor belt systems. What is EAC for each project using aftertax cash flows.
National hockey league purchased video replay machine : 15 years ago, the National Hockey League purchased a video replay machine for $100,000. should the N.H.L. replace the video system if the real MARR is 12% and
Show that the given function is continuous function : Show that if f"(x) is continuous and f(x) has exactly two critical points, then f'(x) has a local maximum or local minimum between the two critical points.
How such coexisting disorders impact the addiction cycle : Discuss in detail dual-diagnosis then incorporate how such coexisting disorders impact the addiction cycle

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