Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment

Overview

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

Requirements

The "lightweight" functions must include the following:

1. The Web service resides at the JBoss application server.

• If you wish to use JBoss WS or an application other than the JBoss application, you need to get approval from your tutor.

2. The Web service has database connection ability.

• You need to discuss with your tutor which database management system your program is going to use.

• You need to provide your tutor with the relevant database files or SQL Database Definition Language to help your tutor establish the database 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 JBoss application server is running).

• When your tutor tests the TME, s/he may use Eclipse's Web Services Explorer and one client to test the file-sharing function.

• When your tutor tests the TME, s/he may run two or more clients and test the file-sharing 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 via the Web service.

• 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 for the file in the database via the Web service.

1. The user can search the file name that s/he wants to download from other users.

• The client program then searches the database by consuming the Web service.

• 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.

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

• the client program first retrieves the information about who owns the file by consuming the Web service.

• the client program (i.e., client-A) then builds a socket connection with the other client program (i.e., client-B), which means 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.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92775293

Have any Question?


Related Questions in DBMS

Solve the following questions using oracle you are not

Solve the following questions using Oracle. You are not allowed to use the syntax of any DBMS other than Oracle. Make sure to upload an electronic copy of your solution to your CSC335 TRACE folder. Name the file hw4.sql. ...

Football association of zambia faz super leaguethe faz has

Football Association of Zambia (FAZ) Super League The FAZ has recently decided to reorganise their operations to support both existing and possibly expanded league operations in Zambia and part of preparation for the 201 ...

In sql database questions phase-1 in 100 words what steps

In SQL Database Questions: Phase-1 In 100 words, what steps can one take to avoid losing work? Which command is used to save changes to the database? What is the syntax for this command? Phase-2 In 100 words, explain the ...

In this section the student is required to develop a

In this section, the student is required to develop a technical debate based on his/her understanding using available scientific literature. The answer to this question should not exceed three A4 Pages. In the traditiona ...

Database design and development assignment -assessment task

Database Design and Development Assignment - Assessment task - 1. Normalization a) Map the ERD, from the sample solution, into a set of relations in at least Third Normal Form (3NF). You must ensure that your relations m ...

Sql injection on a searchthe way search performs its task

SQL injection on a search The way Search performs its task is by executing the following query (in a php script):          $var=stripslashes($_POST['search']);          $query = "SELECT username from lab1_login where use ...

This is a starting out with visual basic programming

This is a starting out with visual basic programming problem, meaning its a basic programming nothing advanced. Question: Add a linq statement to the combo box text-changed event to dispaly the city field of the selected ...

Quesiton 1 what is data-manipulation language dml there are

Quesiton: 1. What is Data-Manipulation Language (DML)? There are four types of access in DML, explain each one. 2. Assume we have a Library Database consists of the following relations: author(author_id, first_name, last ...

Question as explained throughout this course entity

Question: As explained throughout this course, entity relationship modeling is a critical element of database design. If the database is not properly modeled, it is unlikely that the database will be properly developed. ...

We can represent a data set as a collection of object nodes

We can represent a data set as a collection of object nodes and a collection of attribute nodes, where there is a link between each object and each attribute, and where the weight of that link is the value of the object ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As