DAO: 
Data access object data access objects
The most familiar, and above O the biggest difference, basically no possibility and necessary to transform into each other.
Mainly used to encapsulate access to database. It can put the POJO persistence PO, assembled by PO VO, DTO

PO: 
Persistant object persistent object
A record of the image understanding is a PO that is in the database. 
The benefits can be put a record as an object, it will be convenient to the other objects.

BO: 
Business object service object
The main role is to encapsulate business logic as an object. The object may include one or more other objects. 
For example, a resume, education experience, work experience, social relations and so on. 
We can put the education has a corresponding PO, experience a corresponding PO, social relations corresponding to a PO. 
BO object processing resumes to establish a corresponding resume, each BO contains the PO. 
Such processing business logic, we can according to the BO to handle.

VO : 
The value object object
The ViewObject presentation layer object
The data object corresponding interface display. For a WEB page, an interface or SWT, SWING, with a VO object corresponding to the interface value.

DTO : 
Data Transfer Object data transfer object
Mainly used for long-distance calls need large transfer object place. 
For example, we have a table has 100 fields, then PO has 100 attributes. 
But we interface as long as the 10 display field, 
The client using WEB service to obtain the data, there is no need to pass the PO object to the client, 
Then we can use only these 10 properties of the DTO to transfer the results to the client, this also not exposed to the client server structure. Later, if you use this object to the corresponding interface display, then its identity to VO

POJO : 
Plain ordinary Java object java simple object
POJO personal feeling is the most common object is the most variable, is an intermediate object, the object is we most often deal with. 
A POJO persistence is PO
It is directly used for transferring, transfer process is DTO
Directly to the corresponding representation layer is VO

summary I think an object what O depends on the specific environment, in different application layer, different, the identity of the object is not the same, and the conversion of object identity is also very natural. Like you to wife's husband, for parents is the child. The design of these concepts of the original intention is not to, but to understand the logic and processing a variety of better, so that we can deal with the problem by using the object-oriented way better.

you don't fall into excessive design, need not to design and design must distinguish each object in code. A word is a technology for application service.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch.  Free Download

Posted by Blake at September 16, 2014 - 11:45 PM

https://www.programering.com/a/MTOxYjNwATM.html

vo bo po dao pojo dto的更多相关文章

  1. Java中的各种bean对应的意义(VO,PO,BO,QO, DAO,POJO,DTO)

    VO(value object) 值对象 通常用于业务层之间的数据传递,用 new 关键字创建,由 GC 回收的,和 PO 一样也是仅仅包含数据而已.但应是抽象出的业务对象 , 可以和表对应 , 也可 ...

  2. java术语(PO/POJO/VO/BO/QO/DAO/DTO)

    一.概念理解 ​ 这些概念用于描述对象的类型:由于java是面向对象的语言:程序的世界就是各个对象之间的"交互":在交互的工程中会存在多个层次,每个层次中所拥有(关注)的内容都是不 ...

  3. 【转】VO BO PO 介绍

    原文链接:http://www.cnblogs.com/zander/archive/2012/08/11/2633344.html PO(persistant object)(个人理解:就是数据库模 ...

  4. PO VO BO DTO POJO DAO(转)

    2EE开发中大量的专业缩略语很是让人迷惑, 特别是对于刚毕业的新人来说更是摸不清头脑.若与公司大牛谈技术人家出口就是PO VO BO DTO POJO DAO 等,让新人们无比仰慕大牛. PO(bea ...

  5. JavaEE PO VO BO DTO POJO DAO 整理总结

    佩服能将复杂难懂的技术,抽象成简单易懂事物的人. 厌恶将简单易懂的技术,添加一堆专业术语将别人弄的头晕目眩的人. PO VO BO DTO POJO DAO 总体一览: 1.DAO[data acce ...

  6. PO/POJO/VO/BO/DAO/DTO

    PO(persistant object) 持久对象在o/r 映射的时候出现的概念,如果没有o/r映射,就没有这个概念存在了.通常对应数据模型(数据库),本身还有部分业务逻辑的处理.可以看成是与数据库 ...

  7. Java (PO,VO,DAO,BO,POJO,DTO) 几种对象解释

    1. PO:persistant object 持久对象 可以看成是与数据库中的表相映射的java对象.最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合.PO中应该不包含任何对 ...

  8. (转)java术语(PO/POJO/VO/BO/DAO/DTO)

    转自:http://blog.csdn.net/gaoyunpeng/article/details/2093211 PO(persistant object) 持久对象在o/r 映射的时候出现的概念 ...

  9. PO VO BO DTO POJO DAO之间的关系

    J2EE开发中大量的专业缩略语很是让人迷惑,尤其是跟一些高手讨论问题的时候,三分钟就被人家满口的专业术语喷晕了,PO VO BO DTO POJO DAO,一大堆的就来了. PO:persistant ...

随机推荐

  1. AKKA Inbox收件箱

    起因 得到ActorRef就可以给actor发送消息,但无法接收多回复,也不知道actor是否停止 Inbox收件箱出现就是解决这两个问题 示例 package akka.demo.actor imp ...

  2. GTD时间管理

    GTD就是Getting Things Done的缩写,翻译过来就是"把事情处理完",是一个管理时间的方法.GTD的核心理念概括就是必须记录下来要做的事,然后整理安排并使自己一一去 ...

  3. 028 ElasticSearch----全文检索技术03---基础知识详解01-IK分词器和映射

    1.IK分词器 (1)安装 使用IK分词器可以实现对中文分词的效果.下载IK分词器:(Github地址:https://github.com/medcl/elasticsearch-analysis- ...

  4. 017 使用域名访问本地项目---涉及switchhost和Nginx

    1.统一环境 我们现在访问页面使用的是:http://localhost:9001 实际开发中,会有不同的环境: 开发环境:自己的电脑 测试环境:提供给测试人员使用的环境 预发布环境:数据是和生成环境 ...

  5. [转帖]中国首颗通信能力达10Gbps的低轨宽带卫星出厂

    中国首颗通信能力达10Gbps的低轨宽带卫星出厂 From 新浪科技 原来卫星都能够达到10G带宽了 我们公司的工位还TM有百兆的呢. 近日,中国首颗通信能力可达到10Gbps的5G低轨宽带卫星正式出 ...

  6. 『Andrew and Chemistry 树同构』

    Andrew and Chemistry Description During the chemistry lesson Andrew learned that the saturated hydro ...

  7. intellij idea 修改背景保护色&&修改字体&&快捷键大全

    intellij idea 修改背景保护色&&修改字体&&快捷键大全 原创 2013年11月22日 18:00:07 90176 最近Idea比较流行,Eclipse因 ...

  8. C#调用 kernel32.dll

    调用方法: private string mFileName; //INI文件名 public OneGanttINI(string pFileName) { this.mFileName = App ...

  9. c# .netcore oracle连接工具类

    1.先右键->添加NeGet包->引入Oracle.ManagedDataAccess.dll 2.将该类加入项目中 工具类: using System; using System.Col ...

  10. java jsp文件报错解决方法

    初次使用java开发 下载好代码之后,用maven编译都是ok的,第二天,打开项目一看,好的web项目的jsp文件提示错误,后面,查了下问题,是tomcat没有配置路径导致的问题,现在大致记录一下解决 ...