Question: write Code for following using EJB and JDBC if neeed. The International System of Units is a standard metric system for measurements. There are seven

write Code for following using EJB and JDBC if neeed.

The International System of Units is a standard metric system for measurements. There

are seven basic units in the SI system. Among them four are : are the meter (m), the

kilogram (kg), the second (s), the kelvin (K) for distance, mass, time and temperature

respectively. Create application for Measurement Conversion. At first allow the user

to select one among the four given measurement unit with help of Radio Button. On

selection, there will be one text field and one drop-down list. In the text field user will

enter the value of selected measurement unit . From Drop Down user will select, to

which specific unit it wants to convert. Then on click of a "Convert" Button.

Appropriate conversion message will be displayed in the label. [Explaining the

working: User selects "Distance" Radio Button for conversion. Then user enter "1000"

in text field (The value entered in the text field will be of standard unit), then user

selects "Kilo-" from drop down, clicks on a convert button. The button click will

display " 1000 m = 1 Kilo-m" as result in a label. ].

Use appropriate EJB Component

and JDBC if needed. [Follow the table below for Prefix reference].

Standard Prefixes Factor

nano 10^(-5)

micro 10^(-4)

milli 10^(-3)

Centi 10^(-2)

Deci 10^(-1)

Deca 10^1

Hecto 10^2

Kilo 10^3

Mega 10^4

Giga 10^5

Code for the above question.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!