vo bo po dao pojo dto

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.
Posted by Blake at September 16, 2014 - 11:45 PM
https://www.programering.com/a/MTOxYjNwATM.html
vo bo po dao pojo dto的更多相关文章
- Java中的各种bean对应的意义(VO,PO,BO,QO, DAO,POJO,DTO)
VO(value object) 值对象 通常用于业务层之间的数据传递,用 new 关键字创建,由 GC 回收的,和 PO 一样也是仅仅包含数据而已.但应是抽象出的业务对象 , 可以和表对应 , 也可 ...
- java术语(PO/POJO/VO/BO/QO/DAO/DTO)
一.概念理解 这些概念用于描述对象的类型:由于java是面向对象的语言:程序的世界就是各个对象之间的"交互":在交互的工程中会存在多个层次,每个层次中所拥有(关注)的内容都是不 ...
- 【转】VO BO PO 介绍
原文链接:http://www.cnblogs.com/zander/archive/2012/08/11/2633344.html PO(persistant object)(个人理解:就是数据库模 ...
- PO VO BO DTO POJO DAO(转)
2EE开发中大量的专业缩略语很是让人迷惑, 特别是对于刚毕业的新人来说更是摸不清头脑.若与公司大牛谈技术人家出口就是PO VO BO DTO POJO DAO 等,让新人们无比仰慕大牛. PO(bea ...
- JavaEE PO VO BO DTO POJO DAO 整理总结
佩服能将复杂难懂的技术,抽象成简单易懂事物的人. 厌恶将简单易懂的技术,添加一堆专业术语将别人弄的头晕目眩的人. PO VO BO DTO POJO DAO 总体一览: 1.DAO[data acce ...
- PO/POJO/VO/BO/DAO/DTO
PO(persistant object) 持久对象在o/r 映射的时候出现的概念,如果没有o/r映射,就没有这个概念存在了.通常对应数据模型(数据库),本身还有部分业务逻辑的处理.可以看成是与数据库 ...
- Java (PO,VO,DAO,BO,POJO,DTO) 几种对象解释
1. PO:persistant object 持久对象 可以看成是与数据库中的表相映射的java对象.最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合.PO中应该不包含任何对 ...
- (转)java术语(PO/POJO/VO/BO/DAO/DTO)
转自:http://blog.csdn.net/gaoyunpeng/article/details/2093211 PO(persistant object) 持久对象在o/r 映射的时候出现的概念 ...
- PO VO BO DTO POJO DAO之间的关系
J2EE开发中大量的专业缩略语很是让人迷惑,尤其是跟一些高手讨论问题的时候,三分钟就被人家满口的专业术语喷晕了,PO VO BO DTO POJO DAO,一大堆的就来了. PO:persistant ...
随机推荐
- 模拟 + 暴搜 --- Help Me with the Game
Help Me with the Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 3175 Accepted: ...
- 【C语言学习笔记】指针
用来存放一个变量地址的变量就叫指针变量.指针变量也是有类型约束的,一般什么类型的指针指向什么类型的变量. 指针之所以叫变量,是因为它里面所存放的变量的地址也是不断变化的,指针是可以移动的. 定义格式: ...
- 安装Windows10出现无法识别磁盘时的解决方案
由于前些日子对deepin系统比较感兴趣,一时兴起把备用机刷成了deepin,奈何还是过分依赖windows下的软件,又不得不再刷回Win10. 但由于Linux支持的磁盘格式与Windows不同,在 ...
- SQLAlchemy 中的 Session、sessionmaker、scoped_session
目录 一.关于 Session 1. Session是缓存吗? 2. Session作用: 3. Session生命周期: 4. Session什么时候创建,提交,关闭? 4. 获取一个Session ...
- jq 简单实现 table 显示和隐藏
在做table显示和隐藏的时候,需要用到节点的问题.不要用id.循环的时候id都是一样的. 这样一个简单的tr显示和隐藏就实现了.也可以将click 换成别的事件.
- 推荐算法之Thompson(汤普森)采样
如果想理解汤普森采样算法,就必须先熟悉了解贝塔分布. 一.Beta(贝塔)分布 Beta分布是一个定义在[0,1]区间上的连续概率分布族,它有两个正值参数,称为形状参数,一般用α和β表示,Beta分布 ...
- php 安装imap报错“configure: error: utf8_mime2text() has new signature”解决
环境:php官方docker镜像 php:7.2-apache 安装IMAP扩展模块执行命令:docker-php-ext-install imap 报错信息:configure: error: ut ...
- Spring MVC 复习
概念 三层架构 将整个业务应用划分为三层 表现层:用来和客户端进行数据交互,一般采用MVC设计模式 业务层:处理公司具体业务逻辑 持久层:用来操作数据库 MVC模型 Model View ...
- Spring的配置文件找不到元素 'beans' 的声明
Spring的配置文件找不到元素 'beans' 的声明 一般是由Spring的版本导致的,你可以尝试使用如下的某一种. <?xml version="1.0" encodi ...
- select用法 多并发处理
select默认最大检查套接口数量是1024,有定义 #define __NFDBITS (8 * sizeof(unsigned long)) #define __FD_SETSIZE 1024 # ...