J2EE持久性:JBoss选择了JDO

原创 2003年06月27日 13:41:00

J2EE应用中,数据层用什么技术?这是个争论已久的问题。Sun的资料中总是强调:“我们希望开发者使用Entity Bean管理数据的持久性问题。”但是很多人认为Entity Bean并不是一个好的解决方案,他们或许更喜欢JDO(Java Data Object)。当然,还有些人宁可使用第三方的O/R mapping框架(例如Hibernate)。持久化管理,这虽然不是我擅长的技术范围,不过看着别人吵架也是满好玩的 :)

前几天,JDO的拥护者们在TSS上跟人大吵了一架。现在他们找到有利于自己的证据了:JBoss选择了JDO作为数据层核心技术。如果此言不虚,JBoss将是第一个不使用EJB管理持久性的应用服务器。

————————————————————————

JBoss Chooses Java Data Objects

According to JDO Lead Craig Russell, "....the JBoss team discussed their strategy for persistence outside the EJB tier. After investigating all the persistence APIs currently available, they concluded that Java Data Objects would be the best interface for them to use."

If true, this would be the first time an appserver group acknowledged that persistence outside the EJB tier matters. It's not in an appserver vendor's interests to support JDO, because such a spec adds a lot of value to non-ejb development projects, reducing the value proposition for the EJB container. Perhaps JBoss' move, along with the new 'express' editions of Weblogic and Websphere will mean more attention for JDO from Sun and the big vendors.

Excerpt from the latest newsletter (which was emailed today) from JDOCentral.:

JBoss chooses Java Data Objects
by Craig Russell


Several months ago, Marc Fleury announced that JBoss would make their CMP implementation available to developers working on persistence solutions outside the server environment. With no details, rumors flew about what this actually meant for persistence and the open source community.

Today, almost no-one uses BMP any more as the power of CMP is proven and working. In other words, if the CMP2.0 engine's applicability goes beyond EJB alone, why couldn't we imagine a CMP engine working on abstract plain old java objects? We will look at making it the default service for persistence in JBoss. In fact I would argue that CMP2.0 is doing what JDO failed to do, providing a robust and framework-worthy persistence engine for Java (once generalized). While it was widely used in designs a year ago, JDO will probably go down in history as the proverbial chicken that crossed the road when the CMP2.0 truck came along. Marc Fleury, Why I Love EJBs.

But after looking at the alternatives, the JBoss team changed their tune. This week at JavaOne, the JBoss team discussed their strategy for persistence outside the EJB tier. After investigating all the persistence APIs currently available, they concluded that Java Data Objects would be the best interface for them to use.

According to Alexey Loubyansky, the author of JBossDO, At first, I planned to write our own framework for POJO persistence. I looked at Java Data Objects, Hibernate, OJB, a couple of others and decided to start with Java Data Objects. At least to have it as the base. And it is really a good spec. Thank you.

Dain Sundstrom, a committer of JBoss CMP, concurred that they plan to use their persistence abstraction engine, developed for CMP, to abstract user-visible APIs, starting with CMP for the server and Java Data Objects outside. This approach will allow them to support other APIs as customers demand.

The race is now on to be the first Java Data Objects standards-compliant open-source product. With JORM, TJDO, XORM, OJB, and now JBossDO in the running, this promises to be a very interesting competition that will greatly benefit the Java Data Objects community and Java developers all over the world.

Jdbc、Jdo方面问题

87、Class.forName的作用?为什么要用? 答:调用该访问返回一个以字符串指定类名的类的对象。 88、Jdo是什么? 答:JDO是Java对象持久化的新的规范,为javadata ob...
  • u010129251
  • u010129251
  • 2015年04月02日 17:43
  • 517

ActiveMQ中的消息持久性

ActiveMQ很好的支持了消息的持久性(Persistence)。消息持久性对于可靠消息传递来说应该是一种比较好的方法,有了消息持久化,即使发送者和接受者不是同时在线或者消息中心在发送者发送消息后宕...
  • mnmnmnmiiiin_mi
  • mnmnmnmiiiin_mi
  • 2017年04月01日 10:13
  • 198

JDO与JPA哪个更好?

今天偶然在网上看到了JDO,而我以前学的是JPA,那么两种有什么联系呢?或者说哪个更好?下面我先介绍两种的含义。 JDO的全文是:Java Data Object,就是对象持久化的新的规范。也是一个...
  • wu560130911
  • wu560130911
  • 2013年03月20日 17:09
  • 1562

J2EE通过tomcat部署的两种方式

本文是介绍J2EE项目,通过tomcat插件方式和eclipse server 视图两种方式的部署。 一、集成Tomcat插件到Eclipse 1. 下载 Tomcat         作者选择...
  • psp0001060
  • psp0001060
  • 2015年10月25日 21:05
  • 5658

Jboss 数据源配置参数

jboss 配置参数说明
  • tiantianxie
  • tiantianxie
  • 2015年12月28日 10:29
  • 1062

J2EE开发技术简介之JBOSS

1.JBoss简介 JBoss是一个运行EJB的 J2EE应用服务器。它是开放源代码的项目,遵循最新的J2EE规范。从JBoss项目开始至今,它已经从一个EJB容器发展成为一个基于的J2EE的一...
  • xxq_2011
  • xxq_2011
  • 2015年03月31日 11:37
  • 351

使用Hibernate的Java持久性API

使用Hibernate的Java持久性API   在我们开始对持久化技术的讨论,我们需要了解究竟持久性是计算机科学。持久性,简单来说就是保持各种程序执行之间的数据结构的能力。这方面的一个完美的例子将是...
  • xiiioe
  • xiiioe
  • 2014年08月05日 12:55
  • 356

eclipse安装JBoss Tools插件(必须是最新版的eclipse,否则参考第二种安装)

JBoss Tools为我们提供了很多实用的工具,今天就为大家介绍如何在eclipse中安装JBoss Tools插件。 依次单击菜单:Help -> Eclipse Marketplace… ...
  • ghjzzhg
  • ghjzzhg
  • 2017年04月28日 16:48
  • 1824

DataNucleus之JDO操作示例

JDO(Java Data Object )是Java对象持久化的新的规范,也是一个用于存取某种数据仓库中的对象的标准化API。注意JDO是一种规范,而不是一个产品。而DataNucleus正是实现J...
  • xtayfjpk
  • xtayfjpk
  • 2014年05月08日 17:00
  • 2485

JBoss 目录结构

安装JBoss 会创建下列目录结构: 目录 描述  bin 启动和关闭JBoss 的脚本  client 客户端与JBoss 通信所需的Java 库(JARs)  docs 配置的样本文件(数据库配...
  • qiaqia609
  • qiaqia609
  • 2013年11月21日 11:28
  • 9115
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:J2EE持久性:JBoss选择了JDO
举报原因:
原因补充:

(最多只允许输入30个字)