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

  How can azure be used as a substitute

Based on the Barr (2010) article, Windows Azure provides a Windows-based environment for running applications and storing data on servers in Microsoft data centers. How can Azure be used as a substitute for on-premises disk management

  Detail study on social media

The length of your report should reflect the complexity of the topic and the thoroughness of the research. The report should be self-contained (explain any terminology particular to the topic the first time you use it), consistent, and to the poin..

  What are the key parts of a tcp or ip lan plan?

What are the key parts of a TCP/IP LAN plan?

  Explain the steps the address resolution protocol takes

Discuss the trade-offs between circuit switching, virtual circuit switching, and packet switching. Explain the steps the Address Resolution Protocol takes to match an IP with a MAC address

  The common criteria address these four problems of tcse

Recall that criteria creep is the process of refining evaluation requirements as the industry gains experience with them, making the evaluation criteria something of a moving target. (See Section 21.2.4.2 of Bishop) How well did the Common Criteria (..

  Explain the role of antennas in the transmission of radio

describe the role of antennas in the transmission of radio waves. what type of antenna is typically used in a wireless

  Domain name system (dns.dynamic host configuration protocol

On the Internet, the entity that looks up a domain name and retrieves information about it is the:Select one: A. Domain Name System (DNS) B. Dynamic Host Configuration Protocol (DHCP) C. Internet Corporation for Assigned Names and Numbers (ICAAN) ..

  Organization of routing

An organization has a number of tools available when determining how best to address performance issues on their network. The organization can use subnetting or they can use segmentation.

  What does it mean for a wireless network to be operating

What does it mean for a wireless network to be operating in "infrastructure mode"? If the network is not in infrastructure mode, what mode of operation is it in, and what is the difference between that mode of operation and infrastructure mode?

  Explain how many dns servers are enough by using the

how many dns servers are enough? using the internet and any other sources of information come up with some guidelines

  Build a small network using three switches

Build a small network using three switches and one router and one switch will run as a distribution layer switch, the other two will run as access layer switches

  Research the digital millennium copyright act

Research the Digital Millennium Copyright Act. How does this government enacted legislation affect computer security?

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