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 test archiving systems, Q. Explain Test archiving systems? Tes...

Q. Explain Test archiving systems? Test archiving systems: the goal is to keep follow of series of tests ant to act as the basis for documenting that the tests have been done

Explain configuration management, Configuration management (CM) covers the ...

Configuration management (CM) covers the tools and procedure used to control, coordinate and track code, needs, documentation, problems, change requests, designs, tools, compilers,

Write definition of dfd, Write definition of DFD? Data Flow Diagram sup...

Write definition of DFD? Data Flow Diagram supplies the information flow and the transforms that are used on the data as it moves from input to output.

Explain applicability, Applicability: It is another significant characteri...

Applicability: It is another significant characteristic of a model. The model should be judged by its degree of applicability across software products that change in size, structu

What is cardinality in data modeling, What is cardinality in data modeling?...

What is cardinality in data modeling? Cardinality in data modeling, cardinality specifies how the number of occurrences of single object is related to the number of occurrences

What is dynamic and static metrics, What is Dynamic and static metrics? ...

What is Dynamic and static metrics? Dynamic metrics are closely related to software quality attributes It is relatively easy to measure the response time of a system (per

Explain about subroutines, Subroutines  Frequently, the similar piece ...

Subroutines  Frequently, the similar piece of code must write over again in many dissimilar parts of a program.  Instead of repeating the code every time it is required, there

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