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

  Networking and types of networking

This assignment explains the networking features, different kinds of networks and also how they are arranged.

  National and Global economic environment and ICICI Bank

While working in an economy, it has a separate identity but cannot operate insolently.

  Ssh or openssh server services

Write about SSH or OpenSSH server services discussion questions

  Network simulation

Network simulation on Hierarchical Network Rerouting against wormhole attacks

  Small internet works

Prepare a network simulation

  Solidify the concepts of client/server computing

One-way to solidify the concepts of client/server computing and interprocess communication is to develop the requirements for a computer game which plays "Rock, Paper, Scissors" using these techniques.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Describe how the modern view of customer service

Describe how the greater reach of telecommunication networks today affects the security of resources which an organisation provides for its employees and customers.

  Technology in improving the relationship building process

Discuss the role of Technology in improving the relationship building process Do you think that the setting of a PR department may be helpful for the ISP provider? Why?

  Remote access networks and vpns

safekeeping posture of enterprise (venture) wired and wireless LANs (WLANs), steps listed in OWASP, Securing User Services, IPV4 ip address, IPV6 address format, V4 address, VPN, Deploying Voice over IP, Remote Management of Applications and Ser..

  Dns

problems of IPV, DNS server software, TCP SYN attack, Ping of Death, Land attack, Teardrop attack, Smurf attack, Fraggle attack

  Outline the difference between an intranet and an extranet

Outline the difference between an intranet and an extranet A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has..

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