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

Determine the steps of structured requirements definition, Determine the di...

Determine the different steps of Structured Requirements Definition Step 1: Make a user level data flow diagram. This step is meant for gathering requirements with intera

Threads, what resources are used when a thread is created ?

what resources are used when a thread is created ?

C++, program for full subtractor?

program for full subtractor?

The mechanics of structured analysis, Give the example of the mechanics of ...

Give the example of the mechanics of structured analysis

What is meant by system requirements, What is meant by System Requirements ...

What is meant by System Requirements Set out the system constraints and services in well explained. Serves as a contract among the system buyer & the system developer.

SQA Planning, Please let me know that through which techniques software qua...

Please let me know that through which techniques software quality assurance is planned?

Ecommerce, Ask What are the key elements of Business Model? question #Minim...

Ask What are the key elements of Business Model? question #Minimum 100 words accepted#

Evaluate the agresti-card-glass metrics, Question 1: We have a small sy...

Question 1: We have a small system with a call graph as given below. Consider that each vertex is a module. All modules are new (i.e., n = n0) Also consider that the number of

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