This article is mainly about the use of the DTO and the benefits it brings. The first thing to understand is what a DTO is.
The DTO is the abbreviation for the data transfer object (data Transfer object). DTO mode, refers to the data encapsulated into ordinary JavaBeans, in the Ja
One, in the Java EE, often mention several objects (object), understanding their meaning can help us to better understand the object-oriented design thinking.
ORM is an abbreviation for Object Relational Mapping "Objects relational Mapping"The popular point is that the object is bound to the relational database, and the object is used to represent the relational data. In the world of O/rmapping,There are a series of important objects, common
Turn from: http://blog.csdn.net/visant
This article is mainly about the use of the DTO and the benefits it brings. The first thing to understand is what a DTO is.
The DTO is the abbreviation for the data transfer object (data Transfer object). DTO mode, refers to the data encapsulated into ordinary JavaBeans, in the
One, Po:persistant object persistent objects, can be seen as a Java object mapped to a table in the database. The simplest PO is a record in a table in the corresponding database, and multiple records can be used with a collection of PO. The PO should not contain any operations on the database.Two, Vo:value object value objects. Typically used for data transfer between business tiers, as is the case with PO, which contains only data. But it should be
after referring to a large amount of information about various O, record the understanding and application that I have summarized as correct:
1. PO (Persistant object) Persistent object
(interpreted as the DAO layer: The Received and returned Java Bean, which is typically written in the model package)
1. Sometimes also referred to as the data object, the corresponding database of entity, you can simply think of a PO corresponding to a database of rec
Difference between JAVA vo pojo javabean dto and pojojavabean
JavaBean is a reusable component written in JAVA. The class must be specific and public and have a non-parameter constructor. JavaBean exposes the member attributes of an internal domain by providing a public method that complies with the consistent design pattern. As we all know, attribute names compl
Difference between JAVA vo pojo javabean dto and pojojavabean
JavaBean is a reusable component written in JAVA. The class must be specific and public and have a non-parameter constructor. JavaBean exposes the member attributes of an internal domain by providing a public method that complies with the consistent design pattern. As we all know, attribute names compl
PO (Persistant object) Persistent objectIn the case of the O/R mapping, there is no such concept if there is no O/R mapping. Usually the corresponding data model (database), itself also has some business logic processing. It can be seen as a Java object mapped to a table in a database. The simplest PO is a record in a table in the corresponding database , multiple records can be used with a collection of PO. The PO should not contain any operations on
Read Catalogue
1.dao[data Access Object] data Access objects
2.dto[data Transfer Object] data transfer objects
3.po[persistant Object] Persistence layer objects
4.bo[bussiness Object] Business objects
5.vo[value Object] Value objects
4.pojo[plain ordiary Java Object] Simple Java objects
Admire the ability to be complex and diffic
Po (persistant object) Persistent ObjectThe concept that appears during o/R ing does not exist if there is no o/R ing. usually it corresponds to the data model (database), and some business logic is processed. it can be seen as a Java object mapped to tables in the database. the simplest Po is to correspond to a record in a table in the database. A set of PO can be used for multiple records. the PO should not contain any database operations.
VO (Val
PO (Persistant object) Persistent objectIn the case of the O/R mapping, there is no such concept if there is no O/R mapping. Usually the corresponding data model (database), itself also has some business logic processing. It can be seen as a Java object mapped to a table in a database. The simplest PO is a record in a table in the corresponding database , multiple records can be used with a collection of PO. The PO should not contain any operations on
1.PO (Persistant object) Persistent objects?? The concept that occurs at the O/R mapping, without the O/R mapping, does not exist. Usually the corresponding data model (database), itself also has some business logic processing. Can be seen as a Java object mapped to a table in the database. The simplest PO is a record in a table in the corresponding database, and multiple records can be used with a collection of PO. The PO should not contain any opera
Java object concepts (do vo dto po), vodto
Source: http://virusswb.blog.51cto.com/115214/458636
BO: Business Object, Business Object. It is mainly the entity that carries business data. When processing business logic, the data structure is also set up for the business logic.
PO: persistence Object, a persistent Object. Data must be stored in any form and must be persistent. Join relational database stora
Java object (PO, BO, VO, DTO, POJO, DAO, Entity, JavaBean, JavaBeans) differentiation, pojojavabeans
PO: persistent object), Po (persistent object) is the Entity in the Object/Relation Mapping Framework. Each attribute of po basically corresponds to a field in the database table. It is a pure Java object that complies with the
PO (Persistant object) Persistent objectIn the case of the O/R mapping, there is no such concept if there is no O/R mapping. Usually the corresponding data model (database), itself also has some business logic processing. It can be seen as a Java object mapped to a table in a database. The simplest PO is a record in a table in the corresponding database , multiple records can be used with a collection of PO. The PO should not contain any operations on
PO (Persistant object) Persistent objectIn the case of the O/R mapping, there is no such concept if there is no O/R mapping. Usually the corresponding data model (database), itself also has some business logic processing. It can be seen as a Java object mapped to a table in a database. The simplest PO is a record in a table in the corresponding database , multiple records can be used with a collection of PO. The PO should not contain any operations on
POJO (Plain ordinary Java object) simple, irregular Java objects
Simple Java objects (Plain old Java Objects) are actually ordinary JavaBeans, using pojo names to avoid confusion with EJBS, and the short name is more straightforward. Some of these properties and their getter setter methods can sometimes be used as eith
In the Java EE, it is often mentioned that several objects (object), understanding their meanings can help us to better understand the object-oriented design thinking. NBSP pojo (plain old Java object): Ordinary Java objects, distinct from special Java objects (including inheritance constraints, etc.) and EJBS. Pojo
. By means of generic Java objects that do not use entity beans, Pojo can be used as an aid class to support business logic.Pojo can be understood as a simple entity class, as the name implies that the role of Pojo class is convenient for programmers to use data tables in the database, for the vast number of programmers, it is convenient to use the Pojo class as an object, of course, it is also convenient to call its Get,set method. The Pojo class als
. By means of generic Java objects that do not use entity beans, Pojo can be used as an aid class to support business logic.Pojo can be understood as a simple entity class, as the name implies that the role of Pojo class is convenient for programmers to use data tables in the database, for the vast number of programmers, it is convenient to use the Pojo class as an object, of course, it is also convenient to call its Get,set method. The Pojo class als
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.