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 is regression testing, Regression testing It is the re-execution o...

Regression testing It is the re-execution of some subset of tests that have already been conducted to make sure the changes that have not been propagated unintended side effect

Explain the reuse maintenance model, Explain the reuse maintenance model wi...

Explain the reuse maintenance model with the help of a diagram. Reuse maintenance model: This model is based on the principal  that maintenance could be viewed as an activity i

C++, how to save image of a dialog box by using c++

how to save image of a dialog box by using c++

Explain the steps used in in system analysis, Question 1 A) If you are a s...

Question 1 A) If you are a software engineer you must be expert in the field of hardware, software  and also database. It has been listed by the industry professionals that time a

Explain the essential api concepts associated with j2me, Question: (a) ...

Question: (a) State and explain the essential API concepts associated with J2ME. (b) Connected Limited Device Configuration provides two types of application security; stat

Explain the data flow diagram, Define Data Flow Diagram. A Data flow di...

Define Data Flow Diagram. A Data flow diagram is a graphical description that depicts information flow & the transforms that are applied as data move from input to output. T

Determine the various levels of testing, Determine the various levels of te...

Determine the various levels of testing The following are various levels of testing: Large systems are built out of subsystems which are made up of modules, modules of funct

What is desk checking, What is Desk Checking? Ans) A type of manual stat...

What is Desk Checking? Ans) A type of manual static analysis usually performed by the originator. Source code documentation, etc., is visually checked against needs and standard

Dfd, online admision application

online admision application

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