DAO java, Software Engineering

Assignment Help:
inside a button click can we put following code...

Account a = new Account();
a.setAccNo(Integer.parseInt(txtAccNo.getText()));
a.setDepositamt(Float.parseFloat(txtAmt.getText()));

AccountService as = new AccountServiceImpl();
as.depositMoney(a.getAccNo(),a.getDepositamt());
JOptionPane.showMessageDialog(null,"Table Updated!");

all lines are coorect?

Related Discussions:- DAO java

Different characteristics of software measures, Different characteristics o...

Different characteristics of software measures Different characteristics of software measures identified by Basili (1989) are given below: • Objects of measurement: They i

Mention some of the drawbacks of rad model, Mention some of the drawbacks o...

Mention some of the drawbacks of RAD model. Not suitable for largescale projects. Commitment of developers & customers are required. Not appropriate when technical ris

What is user documentation, "User documentation" is a document that explain...

"User documentation" is a document that explains the way a software product or system should be used to get the desired results.

Define software design, Define Software design. Software design is a...

Define Software design. Software design is an iterative process by requirements are translated into a "blue print" for constructing the software. The blue print dep

No , Hard drive has space, but it keeps telling me that its full and asks m...

Hard drive has space, but it keeps telling me that its full and asks me to delete files. I checked. There is nearly full C drives (8GB) but when i am open c drive and check than ne

Assumptions of the execution-time component model, What are the assumptions...

What are the assumptions of the execution-time component model? The execution-time component is based on the several assumptions: (1) Tests show the environment in which the

Define effector process, Define effector process? The effector process...

Define effector process? The effector process is termed as a process that verifies itself. The  effector process exists in specific criteria.

What is constant, What is Constant? In software or software testing, a c...

What is Constant? In software or software testing, a constant is a meaningful name that shown a number, or string, that does not alter. Constants are variables that remain the s

Write Your Message!

Captcha
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