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

Demonstrate the sequence of prototyping, Demonstrate the Sequence of protot...

Demonstrate the Sequence of prototyping Sequence of prototyping is demonstrated in following Figure.

Intermediate software development, Provide an abstract superclass called En...

Provide an abstract superclass called EnergyRecord and subclasses called Contract and Transaction with default constructors (no-arg) and full-arg, overloaded constructors. Collect

What is heuristics testing, What is Heuristics Testing? Ans) Heuristics ...

What is Heuristics Testing? Ans) Heuristics Testing is the failure-directed testing.

Define fan-in and fan-out, Define Fan-in & Fan-out. Fan-out - A measure...

Define Fan-in & Fan-out. Fan-out - A measure of the number of modules that are directly controlled by another module. Fan-in-  Shows how many modules directly control a give

How do we zero down on automation tools, How do we zero down on automation ...

How do we zero down on automation tools for regression testing? Below criteria are used when zeroing down on automation tools for regression testing: - Risk analysis such as

Data Mining Question, This assignment uses the data set rent.txt, the Housi...

This assignment uses the data set rent.txt, the Housing Rent Prices in Munich file available at ">http://www.interactivegraphics.org/Datasets.html. 1.Produce a scatterplot of Re

Calculate the peak manning time, Q. Consider a project for which the manpow...

Q. Consider a project for which the manpower requirement is 200 PY and the development time is 2 years. calculate the peak manning time. Ans Software Project cost K=200 PY

Define coupling, Define coupling. Coupling is the measure of the degre...

Define coupling. Coupling is the measure of the degree of interdependence among modules.

Distinguish among verification and validation, Distinguish between verifica...

Distinguish between verification and validation. Verification is the set of activities that ensure that software properly implements a specific function. Validation is a differ

Dfd, explain dfd

explain dfd

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