??xml version="1.0" encoding="utf-8" standalone="yes"?>最猛黑人系列在线播放,伪装者免费全集在线观看,精品国产乱码久久久久久丨区2区 精品国产乱码久久久久久婷婷 http://www.aygfsteel.com/Mars/category/39806.html一个h倘若需要从思想中得到快乐,那么他的W一个欲望就是学习?/description>zh-cnMon, 25 May 2009 04:15:50 GMTMon, 25 May 2009 04:15:50 GMT60 Hibernate依赖包简单介l?/title><link>http://www.aygfsteel.com/Mars/articles/277806.html</link><dc:creator>BruceLeey</dc:creator><author>BruceLeey</author><pubDate>Mon, 25 May 2009 03:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/Mars/articles/277806.html</guid><wfw:comment>http://www.aygfsteel.com/Mars/comments/277806.html</wfw:comment><comments>http://www.aygfsteel.com/Mars/articles/277806.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/Mars/comments/commentRss/277806.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/Mars/services/trackbacks/277806.html</trackback:ping><description><![CDATA[<p style="margin: 0cm 0cm 0pt;"><span style="font-family: 宋体;"><font size="2"><span style="color: #ff0000;"><span style="font-family: 宋体;"><font size="2">转蝲?/font></span><a >http://blog.csdn.net/sunyujia/archive/2008/05/02/2362478.aspx</a></span></font></span><a ></a></p> <p style="margin: 0cm 0cm 0pt;"><span style="font-family: 宋体;"><font size="2">׃无法扑ֈ该文章的原创作?在此无法注明出处,请作者见?如有问题或R宛_您的利益,请与我联p? </font></span></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">?/span><font face="Times New Roman">Hibernate2.0.3</font><span style="font-family: 宋体;">Z</span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">hibernate2.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">的库Q没有什么可说的Q必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">cglib-asm.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">CGLIB</font><span style="font-family: 宋体;">库,</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">用它来实?/span><font face="Times New Roman">PO</font><span style="font-family: 宋体;">字节码的动态生成,非常核心的库Q必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">dom4j.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">是一?/span><font face="Times New Roman">Java</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">XML API</font><span style="font-family: 宋体;">Q类g</span><font face="Times New Roman">jdom</font><span style="font-family: 宋体;">Q用来读?/span><font face="Times New Roman">XML</font><span style="font-family: 宋体;">文g的?/span><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">是一个非帔R怼U?/span><font face="Times New Roman">Java XML API</font><span style="font-family: 宋体;">Q具有性能优异、功能强大和极端易用使用的特点,同时它也是一个开放源代码的YӞ可以?/span><font face="Times New Roman">SourceForge</font><span style="font-family: 宋体;">上找到它。在</span><font face="Times New Roman">IBM developerWorks</font><span style="font-family: 宋体;">上面可以扑ֈ一文章,对主的</span><font face="Times New Roman">Java XML API</font><span style="font-family: 宋体;">q行的性能、功能和易用性的评测Q?/span><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">无论在那个方面都是非常出色的。我早在近两年之前开始?/span><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">Q直到现在。如今你可以看到来多?/span><font face="Times New Roman">Java</font><span style="font-family: 宋体;">软g都在使用</span><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">来读?/span><font face="Times New Roman">XML</font><span style="font-family: 宋体;">Q特别值得一提的是连</span><font face="Times New Roman">Sun</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">JAXM</font><span style="font-family: 宋体;">也在?/span><font face="Times New Roman">dom4j</font><span style="font-family: 宋体;">。这是必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包,</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">用它来读写配|文件?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">odmg.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">ODMG</font><span style="font-family: 宋体;">是一?/span><font face="Times New Roman">ORM</font><span style="font-family: 宋体;">的规范,</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">实现?/span><font face="Times New Roman">ODMG</font><span style="font-family: 宋体;">规范Q这是一个核心的库,必须使用?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">commons-collections.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Apache Commons</font><span style="font-family: 宋体;">包中的一个,包含了一?/span><font face="Times New Roman">Apache</font><span style="font-family: 宋体;">开发的集合c,功能?/span><font face="Times New Roman">java.util.*</font><span style="font-family: 宋体;">强大。必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">commons-beanutils.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Apache Commons</font><span style="font-family: 宋体;">包中的一个,包含了一?/span><font face="Times New Roman">Bean</font><span style="font-family: 宋体;">工具cȝ。必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">commons-lang.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Apache Commons</font><span style="font-family: 宋体;">包中的一个,包含了一些数据类型工LQ是</span><font face="Times New Roman">java.lang.*</font><span style="font-family: 宋体;">的扩展。必M用的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">commons-logging.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Apache Commons</font><span style="font-family: 宋体;">包中的一个,包含了日志功能,必须使用?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">q个包本w包含了一?/span><font face="Times New Roman">Simple Logger</font><span style="font-family: 宋体;">Q但是功能很弱?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">在运行的时候它会先?/span><font face="Times New Roman">CLASSPATH</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">Q如果有Q就使用</span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">Q如果没有,找</span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">带的</span><font face="Times New Roman">java.util.logging</font><span style="font-family: 宋体;">Q如果也找不到就?/span><font face="Times New Roman">Simple Logger</font><span style="font-family: 宋体;">?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">commons-logging.jar</font><span style="font-family: 宋体;">的出现是一个历史的的遗留的遗憾Q当?/span><font face="Times New Roman">Apache</font><span style="font-family: 宋体;">极力游说</span><font face="Times New Roman">Sun</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">加入</span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">Q然?/span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">目组已经接近发布</span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">产品的时间了Q因此拒l了</span><font face="Times New Roman">Apache</font><span style="font-family: 宋体;">的要求,使用自己?/span><font face="Times New Roman">java.util.logging</font><span style="font-family: 宋体;">Q这个包的功能比</span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">差的很远Q性能也一般。后?/span><font face="Times New Roman">Apache</font><span style="font-family: 宋体;">开发出来了</span><font face="Times New Roman">commons-logging.jar</font><span style="font-family: 宋体;">用来兼容两个</span><font face="Times New Roman">logger</font><span style="font-family: 宋体;">。因此用</span><font face="Times New Roman">commons-logging.jar</font><span style="font-family: 宋体;">写的</span><font face="Times New Roman">log</font><span style="font-family: 宋体;">E序Q底层的</span><font face="Times New Roman">Logger</font><span style="font-family: 宋体;">是可以切换的Q你可以选择</span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">Q?/span><font face="Times New Roman">java.util.logging</font><span style="font-family: 宋体;">或者它自带?/span><font face="Times New Roman">Simple Logger</font><span style="font-family: 宋体;">。不q我仍然强烈使用</span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">Q因?/span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">性能很高Q?/span><font face="Times New Roman">log</font><span style="font-family: 宋体;">输出信息旉几乎{于</span><font face="Times New Roman">System.out</font><span style="font-family: 宋体;">Q而处理一?/span><font face="Times New Roman">log</font><span style="font-family: 宋体;">q_只需?/span><font face="Times New Roman">5us</font><span style="font-family: 宋体;">。你可以?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">src</font><span style="font-family: 宋体;">目录下找?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">已经Z准备好了?/span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">的配|文Ӟ你只需要到</span><font face="Times New Roman">Apache </font><span style="font-family: 宋体;">|站M?/span><font face="Times New Roman">log4j</font><span style="font-family: 宋体;">可以了?/span><font face="Times New Roman">commons-logging.jar</font><span style="font-family: 宋体;">也是必须?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span><span style="font-family: 宋体;">  使用</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">必须?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包就是以上的q几个,剩下的都是可选的?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">ant.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Ant</font><span style="font-family: 宋体;">~译工具?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包,用来~译</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">源代码的。如果你不准备修改和~译</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">源代码,那么没有什么用Q可选的</span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">?/span><span style="font-family: 宋体;">?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">optional.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Ant</font><span style="font-family: 宋体;">的一个辅助包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">c3p0.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">C3PO</font><span style="font-family: 宋体;">是一个数据库q接池,</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">可以配置Z?/span><font face="Times New Roman">C3PO</font><span style="font-family: 宋体;">q接池。如果你准备用这个连接池Q就需要这?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">proxool.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">也是一个连接池Q同上?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">commons-pool.jar, commons-dbcp.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">DBCP</font><span style="font-family: 宋体;">数据库连接池Q?/span><font face="Times New Roman">Apache</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">Jakarta</font><span style="font-family: 宋体;">l织开发的Q?/span><font face="Times New Roman">Tomcat4</font><span style="font-family: 宋体;">的连接池也是</span><font face="Times New Roman">DBCP</font><span style="font-family: 宋体;">?/span><span style="font-family: 宋体;">实际?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">自己也实C一个非帔R常简单的数据库连接池Q加上上?/span><font face="Times New Roman">3</font><span style="font-family: 宋体;">个,你实际上可以?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">上选择</span><font face="Times New Roman">4</font><span style="font-family: 宋体;">U不同的数据库连接池Q选择哪一个看个h的偏好,不过</span><font face="Times New Roman">DBCP</font><span style="font-family: 宋体;">可能更通用一些。另外强调一点,如果?/span><font face="Times New Roman">EJB</font><span style="font-family: 宋体;">中?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">Q一定要?/span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">的连接池Q不要用以上</span><font face="Times New Roman">4</font><span style="font-family: 宋体;">U连接池Q否则容器管理事务不起作用?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">connector.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">JCA </font><span style="font-family: 宋体;">规范Q如果你?/span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">上把</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">配置?/span><font face="Times New Roman">Connector</font><span style="font-family: 宋体;">的话Q就需要这?/span><font face="Times New Roman">jar</font><span style="font-family: 宋体;">。不q实际上一?/span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">肯定会带上这个包Q所以实际上是多余的包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">jaas.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">JAAS</font><span style="font-family: 宋体;">是用来进行权限验证的Q已l包含在</span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">里面了。所以实际上是多余的包?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">jcs.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><span style="font-family: 宋体;">如果你准备在</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">中?/span><font face="Times New Roman">JCS</font><span style="font-family: 宋体;">的话Q那么必d括它Q否则就不用?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">jdbc2_0-stdext.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">JDBC2.0</font><span style="font-family: 宋体;">的扩展包Q一般来说数据库q接池会用上它。不q?/span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">都会带上Q所以也是多余的?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">jta.jar</font><span style="font-family: 宋体;">Q?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">JTA</font><span style="font-family: 宋体;">规范Q当</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">使用</span><font face="Times New Roman">JTA</font><span style="font-family: 宋体;">的时候需要,不过</span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">都会带上Q所以也是多余的?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">junit.jar: </font></font></p> <p style="margin: 0cm 0cm 0pt;"><font size="2"><font face="Times New Roman">Junit</font><span style="font-family: 宋体;">包,当你q行</span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">自带的测试代码的时候需要,否则׃用?/span></font></p> <p style="margin: 0cm 0cm 0pt;"><font face="Times New Roman"><font size="2">xalan.jar, xerces.jar, xml-apis.jar: </font></font></p> <font size="2"><font face="Times New Roman">Xerces</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">XML</font><span style="font-family: 宋体;">解析器,</span><font face="Times New Roman">Xalan</font><span style="font-family: 宋体;">是格式化器,</span><font face="Times New Roman">xml-apis</font><span style="font-family: 宋体;">实际上是</span><font face="Times New Roman">JAXP</font><span style="font-family: 宋体;">。一?/span><font face="Times New Roman">App Server</font><span style="font-family: 宋体;">都会带上Q?/span><font face="Times New Roman">JDK1.4</font><span style="font-family: 宋体;">也包含了解析器,不过不是</span><font face="Times New Roman">Xerces</font><span style="font-family: 宋体;">Q是</span><font face="Times New Roman">Crimson</font><span style="font-family: 宋体;">Q效率比较差Q不q?/span><font face="Times New Roman">Hibernate</font><span style="font-family: 宋体;">?/span><font face="Times New Roman">XML</font><span style="font-family: 宋体;">只不q是d配置文gQ性能没什么紧要的Q所以也是多余的?/span></font> <img src ="http://www.aygfsteel.com/Mars/aggbug/277806.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/Mars/" target="_blank">BruceLeey</a> 2009-05-25 11:24 <a href="http://www.aygfsteel.com/Mars/articles/277806.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ũ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̽</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ɽ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">¹</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ӣɳ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">½</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>