﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-何事惊慌</title><link>http://www.blogjava.net/judastree/</link><description /><language>zh-cn</language><lastBuildDate>Wed, 06 May 2026 23:24:43 GMT</lastBuildDate><pubDate>Wed, 06 May 2026 23:24:43 GMT</pubDate><ttl>60</ttl><item><title>[转] Java中的 PO、VO、BO、POJO </title><link>http://www.blogjava.net/judastree/archive/2012/09/20/388211.html</link><dc:creator>徐芊芊</dc:creator><author>徐芊芊</author><pubDate>Thu, 20 Sep 2012 13:10:00 GMT</pubDate><guid>http://www.blogjava.net/judastree/archive/2012/09/20/388211.html</guid><wfw:comment>http://www.blogjava.net/judastree/comments/388211.html</wfw:comment><comments>http://www.blogjava.net/judastree/archive/2012/09/20/388211.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/judastree/comments/commentRss/388211.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/judastree/services/trackbacks/388211.html</trackback:ping><description><![CDATA[<div><div>&nbsp; &nbsp;一、PO:persistant object 持久对象,可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录，多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。</div> <div>&nbsp;</div> <div>&nbsp; &nbsp;二、VO:value object值对象。通常用于业务层之间的数据传递，和PO一样也是仅仅包含数据而已。但应是抽象出的业务对象,可以和表对应,也可以不,这根据业务的需要.个人觉得同DTO(数据传输对象),在web上传递。&nbsp;</div> <div>&nbsp;</div> <div>&nbsp; &nbsp;三、DAO:data access object 数据访问对象，此对象用于访问数据库。通常和PO结合使用，DAO中包含了各种数据库的操作方法。通过它的方法,结合PO对数据库进行相关的操作。&nbsp;</div> <div>&nbsp;</div> <div>&nbsp; &nbsp;四、BO:business object 业务对象,封装业务逻辑的java对象,通过调用DAO方法,结合PO,VO进行业务操作。&nbsp;</div> <div>&nbsp;</div> &nbsp; &nbsp;五、POJO:plain ordinary java object 简单无规则java对象,我个人觉得它和其他不是一个层面上的东西,VO和PO应该都属于它。</div><img src ="http://www.blogjava.net/judastree/aggbug/388211.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/judastree/" target="_blank">徐芊芊</a> 2012-09-20 21:10 <a href="http://www.blogjava.net/judastree/archive/2012/09/20/388211.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>