why we are using vo,dao and dto design patterns in struts
framework
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is the purpose of @results annotation?
What is the purpose of @after annotation?
Which tag is used to declare constants in struts xml?
What is the purpose of @before annotation?
What is the difference between forwardaction and includeaction?
why do we typecast ActionForm into our plain java bean class in Action class? What is the reason?
how to develop the submit and search operations in single jsp using struts?
can we change the location of struts-config.xml file?
How you will enable front-end validation based on the xml in validation.xml?
What is the forward action utilized for?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What is the differnce between 2-tier architecture and 3- tier architecture in java?