Design and implement an object- oriented system

Assignment Help Computer Networking
Reference no: EM13906016

Context of the Assignment:

The main goal of this assignment is to understand how to design and implement an object- oriented system by applying sound object-oriented design disciplines. The students will design, implement, test and document a Swing application that provides an interface to a database developed using any chosen database software. They will also do same to develop a client/server application using socket programming.

Assignment Purpose:

1. Understanding the scenarios and creating a Swing application and a client/server application using JAVA.

2. Use advanced features and techniques of object oriented programming appropriately, including Swing, Database connectivity and socket programming.

Scenario 1

You have been tasked in developing an interactive system to help small children to carry out simple calculations on circles such as area of the circle and perimeter of the circle given the radius. The system should have a good user interface for entering the radius with the options of selecting any of the three operations: area to calculate the area, perimeter to calculate the perimeter or clear to remove of contents from the text fields. The chosen operation will be carried out and the result will be displayed in a text field on the same interface. At the same time, a message will also be displayed on the interface informing the user which operation was selected. The design of interface is given below.

Use the following diagram to understand the Interface.

Task 2: Design the application described above using Java Swing

Scenario 2 You have asked develop an interactive system for a small money changer to provide on-line currency conversions from Omani Riyals to several other currencies to its customers. The system will provide a client service for entering an amount in OMR and the required currency name and forward the inputs to the server. The server will check the entered currency name and search for its exchange rate from a database storing the currency name and exchange rate. The exchange rate found will be used to do the conversion and then sent back to the client both the exchange rate and the conversion result or appropriate error message will be sent back if not found.

Develop a client/server application to implement this system with the following tasks:

Task 3: Create a database in SQL server or in Access or in any other RDBMS: Create a small database and create a table having two fields: Currency Name and Exchange Rate. Insert some data (at least five records).

Task# 4 Client side program:

The client program will accept from a user an amount in OMR and a currency name and send the request for the conversion to the server.

Task# 5 Server side program: Develop a server side program which will do the following:

(i) Make connection to the database
(ii) Retrieve the data from the table to match the currency name
(iii) If match is found, then send the exchange rate and conversion result to the client
(iv) If match is not found, then send an appropriate error message
(v) Close the connection with the database and client

Reference no: EM13906016

Questions Cloud

The skin reach its peak µm : The temperature of a student's skin is 33.0°C. At what wavelength does the radiation emitted from the skin reach its peak? µm
How does the taxpayer determine her employment : When a taxpayer works as an employee and as a self-employed independent contractor during the year, how does the taxpayer determine her employment and self-employment taxes payable?
Amino acids : Which of the following is FALSE regarding amino acids?  A.Amino acids all have very similar physical properties.  B.Amino acids bond to each other through a peptide bond.
Considering the purchase of equipment that would allow : B2B Co. is considering the purchase of equipment that would allow the company to add a new product to its line.
Design and implement an object- oriented system : Create a database in SQL server or in Access or in any other RDBMS: Create a small database and create a table having two fields: Currency Name and Exchange Rate.
Describe epidemiological or preventive public health measure : Describe epidemiological or preventive public health measures for tuberculosis
Pure and free of oxygen : If on a nitrogen cylinder it says OFN oxygen free and has a purity of 99.995 is it pure and free of oxygen?
Are an employees entire wages subject to the fica tax : Are an employee's entire wages subject to the FICA tax? Explain. Bobbie works as an employee for Altron Corp. for the first half of the year and for Betel Inc. for the rest of the year.
What are the products of calorimetry : What are the products of calorimetry, and where do the products go?

Reviews

Write a Review

Computer Networking Questions & Answers

  Previous to the present network set-up your friends shop

your friend has a small design shop with windows nt 4.0 windows 2000 and windows xp workstations. he has one older

  Explain public-key cryptography standard

Explain in detail how PKCS (Public-Key Cryptography Standard), when combined with the RSA algorithm, can thwart Eve's attempt at discovering the encrypted figure.

  Question 1ai why has stuxnet virus been named as a

question 1ai why has stuxnet virus been named as a cyber-weapon?ii what has been the first identified target of the

  Show that f-function of des is not reversible

Show that F-function of DES is not reversible and explain how a Feistelcipher whose main component is not reversible can actually support decryption.

  Outline a plan for the development of an addressing and

1.outline a plan for the development of an addressing and naming model in an environment of the following scenarioa.ten

  Describe the organizational authentication technology

Identify and describe the organizational authentication technology and network security issues. Make a list of access points internal and external (remote)

  Why can color coding be important to structured cabling

Why can color coding be important to structured cabling. Are there any standards for structured cabling, and if so, who is the main certifier

  Describe network in file transfer and without file transfers

Observe reply time before and during file transfer. Write down short description of network response time during file transfers and without file transfers.

  Make a power table for numbers mod 11

Make a power table for numbers mod 11. Indicate how the table shows Fermat's theorem, label the primitive roots mod 11. Explain how you can tell they are primitive roots. Label the rows that make good power ciphers and explain

  Questiona give an example of a cross site scripting xss

questiona give an example of a cross site scripting xss attack. include an explanation of the differences between

  Algorithm for performing encryption or decryption

You We want you to do from the electricity circuit in picture 1 and picture 2 plug in this wire in your board and solve all questions Then take a picture style the wires via your mobile and send it to me such picture 3.

  Describe what this suggests to you regarding the basic

the original commercial version of ethernet supported 10 mbps bandwidth the version introduced in the early 1990s

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