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

Describe the various types of coupling, Describe the various types of coupl...

Describe the various types of coupling? i. Data coupling - The data coupling is possible by parameter passing or data interaction. ii. Control coupling - The modules share c

Explain communicational cohesion, Communicational cohesion : Communicationa...

Communicational cohesion : Communicational cohesion is when parts of a module are grouped because they operate on the similar data (e.g. a module which operates on the similar reco

Explain object oriented software development, Question: (a) Briefly ex...

Question: (a) Briefly explain the following concepts: (i) Encapsulation and its advantages (ii) Abstract class and its use (iii) Polymorphism and its advantages (b)

What is requirement engineering, What is requirement engineering? Requ...

What is requirement engineering? Requirement engineering is the process of establishing the services that the customer needs from the system and the constraints under which it

What is gamma testing, Gamma testing is testing of software that does have ...

Gamma testing is testing of software that does have all the needed features, but did not go by all the in-house quality checks.

Write definition of state transition diagram, Write definition of state tra...

Write definition of state transition diagram? State transition diagram is mainly a collection of states and events. Due to the events the system has to change its state. It als

The sequence of testing, The sequence of testing is: a) Unit testing: ...

The sequence of testing is: a) Unit testing: b) Integration testing: Alpha Testing- Beta testing Acceptance Testing

Explain the persistent class maps to one relational table, Explain the pers...

Explain the persistent class maps to one relational table In most of cases, persistent class maps to one relational table (keeping aside inheritance issue, for the moment). In

What are the testing principles the software engineer, What are the testing...

What are the testing principles the software engineer must apply while performing the software testing? i. All tests should be traceable according to customer requirements.

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