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

What are the different levels of cmm, Different levels of CMM: 1) Initi...

Different levels of CMM: 1) Initial (maturity level 1) 2) Repeatable (maturity level 2) 3) Defined (maturity level 3) 4)  Managed (maturity level 4) 5) Optimizing (

What is stepwise refinement, Q. What is stepwise refinement? Stepwise R...

Q. What is stepwise refinement? Stepwise Refinement:-Stepwise Refinement is a top-down design strategy initially proposed by Niklaus Wirth. A program is developed by consecutiv

How to compute the cyclomatic complexity, How to compute the cyclomatic com...

How to compute the cyclomatic complexity? The cyclomatic complexity can be computed by any one of the following ways. 1. The numbers of regions of the flow graph correspond

Linearizability and sequential consistency, QUESTION - Fault Tolerance ...

QUESTION - Fault Tolerance (a) Three computers together provide a replicated service. The manufacturers claim that each computer has a mean time between failure of five days; a

What is security testing, What is security testing? Security testing at...

What is security testing? Security testing attempts to determine that protection mechanism built into a system will protect it from improper penetration.

Explain the difference between latent and masked defect, Explain the differ...

Explain the difference between Latent and Masked Defect. Latent Defect is one which has been in the system for a long time; but is discovered now. I.e. A defect which has been

What is test data generators, Q. What is Test data generators? This is...

Q. What is Test data generators? This is a difficult one as well as at least for the present is one for which no general solution exists. One of the practical problems with te

Explain acceptance testing, Testing conducted to verify whether or not a sy...

Testing conducted to verify whether or not a system satisfies its acceptance criteria and to enable the customer to verify whether or not to accept the system. Contrast with testin

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