why we are using vo,dao and dto design patterns in struts
framework

Answers were Sorted based on User's Feedback



why we are using vo,dao and dto design patterns in struts framework..

Answer / venu bandla

dao design pattern is used to seperate data access logic from bussiness logic so the dao class contains only database connection related code,Dto design pattern is used to transfer the data from one component to another component and dto is a simple javabean.Vo design pattern is used to store the data in the form of objects and tranfer it

Is This Answer Correct ?    14 Yes 1 No

why we are using vo,dao and dto design patterns in struts framework..

Answer / srikanth addani

DAO refers Data Access Object exclusively to write the code of data base server i.e establish connection with data base writing sql queries.DTO meant for DataTransferObject the main advantage is in order to resolve the problems of method parameters.VO meant for Value Object in order to display the output..

Is This Answer Correct ?    0 Yes 0 No

why we are using vo,dao and dto design patterns in struts framework..

Answer / raj

Dto we are using from been and dao we are using in we are
accessing dta from data base.

Is This Answer Correct ?    5 Yes 18 No

Post New Answer

More Struts Interview Questions

What is the purpose of @results annotation?

0 Answers  


What is the purpose of @after annotation?

0 Answers  


Which tag is used to declare constants in struts xml?

0 Answers  


What is the purpose of @before annotation?

0 Answers  


What is the difference between forwardaction and includeaction?

0 Answers  






why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?

4 Answers  


how to develop the submit and search operations in single jsp using struts?

0 Answers   Wipro,


can we change the location of struts-config.xml file?

2 Answers   TCS,


How you will enable front-end validation based on the xml in validation.xml?

0 Answers  


What is the forward action utilized for?

0 Answers  


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

0 Answers  


What is the differnce between 2-tier architecture and 3- tier architecture in java?

3 Answers  


Categories