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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started