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

Explain bottom-up integration, Bottom-up integration This testing start...

Bottom-up integration This testing starts construction and testing with the components at the lowest levels in the program structure.

What is oo integration testing, This strategy includes testing the classes ...

This strategy includes testing the classes as they are integrated into the system. The traditional approach would test every operation separately as they are executed into a class.

Determine the technique - parallel, Determine the technique - Parallel ...

Determine the technique - Parallel With this approach, old and new systems are run together for a time  -  If new system goes down for any reason, you still have old system

What is a user friendly document, What is a user friendly document? Ans)...

What is a user friendly document? Ans) A document is user friendly, when it is designed and written with simple of use, as single of the primary objectives of its design.

What is incremental testing, Incremental testing is fractional testing of a...

Incremental testing is fractional testing of an incomplete product. The aim of incremental testing is to give an early feedback to software developers.

Define the factors of prime concern for system modeling, Define the factors...

Define the factors of prime concern for system modeling Following four factors are of prime concern for system modeling: 1. System modeling is undertaken with some simplifyi

What does verification represent, What does Verification represent? Ver...

What does Verification represent? Verification shows the set of activities that are carried out to confirm that the software correctly executes the specific functionality.

What is the disadvantage of the set protocol, Question: (a) What mecha...

Question: (a) What mechanism does illegal spammers exploit to send spam? (b) What is a hoax? (c) Name two ways in which you can increase the privacy of e-mail. (d)

What are the virtues of incremental model, What are the virtues of incremen...

What are the virtues of incremental model? i. The incremental model can be adopted when there are less number of persons associated with the project. ii. Technical risks can

Explain about the incremental model, Explain about the incremental model. ...

Explain about the incremental model. Have same phases as the waterfall model. Phases are Analysis. Design. Code. Test. Incremental model deliver

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