- 浏览: 726665 次
- 性别:
- 来自: 上海
文章分类
最新评论
-
一剪梅:
关于您对于 hasRolePermission 用法的解释, ...
OFBIZ安全性技术(翻译) -
沈寅麟:
数据模型资源手册卷3中文版出版了 -
donaldjohn:
恭喜恭喜, 预祝大卖
数据模型资源手册卷3中文版出版了 -
成大大的:
OFBiz电商实战百度网盘下载:http://pan.baid ...
OFBiz入门实训教程 -
成大大的:
OFBiz电商实战百度网盘下载:http://pan.baid ...
OFBiz促销码生成解释
myoodb快速指南
myoodb是一个面向对象的数据库,他的许多功能是现有的数据库产品没有的。
myoosdk解决方案由两个部分组成的,myoodb是其中的一部分.
连同MyOOWEB,MyOOSDK能为开发快速,很小但又强大的App/Web应用程序提供一个平台。
是一个真正的面向对象设计应用到App/Web 的开发设计.
这是一个最快的可用的100%java数据库 , myoosdk还提供无缝Web集成.
myoosdk客户代码可以通过应用程序,或浏览器用TCP, TCPS, HTTP, or HTTPS这些协议执行。
MyOODB database technology provides better performance for known database features, as well as, providing features not yet seen.
像其他的数据库解决方案,开发人员myoodb对象数据库.
但是和现有解决方案不同的是,myoodb对象只存在于服务器上.
虽然客户端对象看起来和感觉到是一个对象,实际上还是一个简单的分布式实现.
而MyOODB 提供了一些特点,是其他解决方案没有,其中较引人瞩目的是它的自修复与隔离损坏.
Myoodb数据库技术考虑到一个坏文件系统块或块,以不损坏整个数据库.
每个对象是独立的,所以如果一个对象损坏了, myoodb会尝试重写对象从内存到磁盘.
如果MyOODB 数据库服务器不运行恢复状态,当对象编码使用自恢复设施坏对象参照好对象就可以搞掂(这是一个很好的卖点,对您的经理) .
通过源代码的一个例子,看看如何界定数据库对象:
存储对象有几种行为。象早先陈述, 客户端对象是真正地分布式的实现(即代理) 。如果你请求一个Write方法没有上下文, 对象状态立刻被存储在内存和硬盘。这称一种隐式事务。
另一类型实现是一种显式事务。
这是一些myoodb的好处开始显现出来.
myoodb真正的分布式对象, 支持多个并发嵌套事务。
一个对象的改变不会引起另一个对象改变,除非明确的事务正在修改一组物体,又显式或隐式的事务要工作.
下列事务的例子是取自源代码:
MyOODB是一个面向对象数据库,真正快速的分布式数据库,支持真正的分布式对象,支持真正的分布式事务,支持隐式/显式事务, 支持无缝高速Web服务访问,支持数据库自我恢复,支持多个并发嵌套事务并且数据库大小只占磁盘很小的空间。
不要难过,如果您从未设定过web服务器或写过任何web应用。源码可以展示关于怎样设置一台web服务器的例子。试验这个例子,将花费你5分钟。
一旦你下载了源代码, 请看一看在以下部分以便您能立刻运行程序。发行被划分成三个部分:
1) source
源文件
2) extensions
扩展
3) examples
示例
请首先看例子, 但不要忘记在MyOODB 根目录build 。唯一需要你做的事是设置Java binary 在 your PATH和JAVA_HOME 环境变量指向您的Java 库。下列是有用的例子帮助您的工作:
1) simple
2) simpleSsl
3) simpleWeb
4) simpleSslWeb
5) ajaxWeb
6) admin ( Shows how to remotely create/delete/change users )
7) transactions
8) jython ( Dont forget play with runJython script. A command line interface )
9) jythonWeb
10) events
11) xml ( See how you can also have XML as the database backing store )
12) bean
13) callbacks
14) mi ( Multi-Inheritance through object delegation. See the README file )
16) performance
16) deactivation
17) selfHealing
17) verifyDatabase
18) defragDatabase
19) evolveDatabase ( i.e. Schema Migration )
20) backup/Restore
21) gaming
my
Quick Tutorial
MyOODB is an Object-Oriented Database with many features not available in existing database products. MyOODB is one part of a two part SDK solution. Together with MyOOWEB, MyOOSDK provides a development environment for software hackers who desire small fast but powerful applications. It is the foundation that puts the power of true Object-Oriented Design back into App/Web development.
The fastest 100% Java OODB available (IMHO), MyOOSDK also provides seamless web integration. MyOOSDK client code can run as an application or in a web browser over the following protocols: TCP, TCPS, HTTP, or HTTPS. MyOODB database technology provides better performance for known database features, as well as, providing features not yet seen.
Like other OODB solutions, MyOODB developer objects are the database. But unlike existing solutions, MyOODB objects only exist on the server. Though client objects look and feel like the actually object, in actuality its a simple distributed reference.
While MyOODB provides some features other solutions do not have, one of the more notable ones is its self-healing and corruption-isolation properties. MyOODB database technology allows for a bad file system block or blocks to not corrupt the entire database. Each object is self contained, so if an object on a block goes bad, MyOODB will try to rewrite the object in memory back to disk. And if the MyOODB Database Server is not running to restore state, when objects are coded to use the self-healing facilities, bad object references in good objects can be fixed up (A good selling point for your manager).
Taking an example from the source distribution, the following code is how one defines a database object:
Notice the @org.myoodb.MyOodbAcces annotation. This macro informs the MyOODB build process that the invocation of the setName method will cause the instance of Person to be saved to disk. Not specifying the macro simply will store the change in memory.
The storing of objects has a few behaviors. Like previously stated, client objects are really just distributed references (i.e. proxies). If one invokes a Write method without the context of a transactions, the object state is immediately stored in memory and on disk. This is called an implicit transaction.
The other type of transaction is an explicit transaction. Here is where some of MyOODB power starts to show. A result of MyOODB object clustering technology, MyOODB supports multi-concurrent nested transactions with rollback. No one object change will block another object change unless an explicit transaction is modifying a group of objects that yet another implicit or explicit transaction wants to work on. The following transaction example is taken from the source distribution:
To reiterate, all the above object calls can be performed outside the context of an explicit transaction.
Yet another powerful feature of MyOOSDK is the ability to seamlessly run client code over HTTP or HTTPS connections. Using Java Applets or Webstart technology, one can change the above example and tunnel all object modifications over the web. The following example shows the four ways to connect to the MyOODB Database Server:
Do not fret if you have never set up a web server or written any web applications. The source distribution comes with a web server and examples on how to set it up. Itll take 5 minutes, really it will.
Once you pull down the source distributed, please take a look at the following areas so that you can get up and running in no time. The distribution is divided into three sections:
Please first take a look in examples, but do not forget to build MyOODB from the root directory. The only thing you will need is the java binary in your PATH and the JAVA_HOME environment variable pointing to your java distribution. The following are useful examples to model your work around:
Thats it. Start showing off your new found productivity ;-)
MyOoSDK ( MyOoDB / MyOoXML / MyOoWEB ) ? 20
myoodb是一个面向对象的数据库,他的许多功能是现有的数据库产品没有的。
myoosdk解决方案由两个部分组成的,myoodb是其中的一部分.
连同MyOOWEB,MyOOSDK能为开发快速,很小但又强大的App/Web应用程序提供一个平台。
是一个真正的面向对象设计应用到App/Web 的开发设计.
这是一个最快的可用的100%java数据库 , myoosdk还提供无缝Web集成.
myoosdk客户代码可以通过应用程序,或浏览器用TCP, TCPS, HTTP, or HTTPS这些协议执行。
MyOODB database technology provides better performance for known database features, as well as, providing features not yet seen.
像其他的数据库解决方案,开发人员myoodb对象数据库.
但是和现有解决方案不同的是,myoodb对象只存在于服务器上.
虽然客户端对象看起来和感觉到是一个对象,实际上还是一个简单的分布式实现.
而MyOODB 提供了一些特点,是其他解决方案没有,其中较引人瞩目的是它的自修复与隔离损坏.
Myoodb数据库技术考虑到一个坏文件系统块或块,以不损坏整个数据库.
每个对象是独立的,所以如果一个对象损坏了, myoodb会尝试重写对象从内存到磁盘.
如果MyOODB 数据库服务器不运行恢复状态,当对象编码使用自恢复设施坏对象参照好对象就可以搞掂(这是一个很好的卖点,对您的经理) .
通过源代码的一个例子,看看如何界定数据库对象:
java 代码
- //
- // MyOODB Object Interface;
- //
- public interface Person extends org.myoodb.collectable.Collectable
- {
- @org.myoodb.MyOodbAccess(value="Write")
- public void setName(String name);
- public String getName();
- }
- //
- // MyOODB Object Implementation
- //
- public class PersonDbImpl extends org.myoodb.collectable.CollectableDbImpl implements Person
- {
- private String m_name;
- public PersonDbImpl()
- {
- m_name = null;
- }
- public void setName(String name)
- {
- m_name = name;
- }
- public String getName()
- {
- return m_name;
- }
- }
- 注意这是 @org.myoodb.myoodbacces 的注解.
- 这个宏指令通知MyOODB 修造过程, setName 方法的请求将导致人实例被保存到硬盘。
- 不指明宏指令的话,将把变化存放在内存上。
存储对象有几种行为。象早先陈述, 客户端对象是真正地分布式的实现(即代理) 。如果你请求一个Write方法没有上下文, 对象状态立刻被存储在内存和硬盘。这称一种隐式事务。
另一类型实现是一种显式事务。
这是一些myoodb的好处开始显现出来.
myoodb真正的分布式对象, 支持多个并发嵌套事务。
一个对象的改变不会引起另一个对象改变,除非明确的事务正在修改一组物体,又显式或隐式的事务要工作.
下列事务的例子是取自源代码:
MyOODB是一个面向对象数据库,真正快速的分布式数据库,支持真正的分布式对象,支持真正的分布式事务,支持隐式/显式事务, 支持无缝高速Web服务访问,支持数据库自我恢复,支持多个并发嵌套事务并且数据库大小只占磁盘很小的空间。
java 代码
- {
- MyOodbDatabase db = MyOodbDatabase.open("myoodb://localhost:54321, admin, admin");
- MyOodbTransaction tx = db.createTransaction();
- tx.begin(); // put create in the context of a explicit transaction
- Person person = db.createObject(PersonDbImpl.class);
- tx.begin(); // put the setName call in a nested explicit transaction
- person.setName(John Smith);
- tx.rollback(); // undo the setName
- person.setName(Mary Smith); // put this setName in the context of the first transaction
- tx.commit(); // commit all changes
- }
- 现在重申,所有上述对象都能调用在一个显式事务的上下文之外.
- MyOOSDK 另外一个强大的特点是能无缝执行客户端代码在HTTP 或HTTPS 连接。使用Java Applets 或Webstart 技术, 你可以修改上述例子和在网络上修改所有对象。以下例子显示四个方式连接到MyOODB 数据库服务器:
- {
- // app
- String url = "tcp://localhost:54321";
- String url = "tcps://localhost:54322";
- // web
- String url = "http://localhost:80";
- String url = "https://localhost:443";
- MyOodbDatabase db = MyOodbDatabase.open(url, admin, admin);
- }
不要难过,如果您从未设定过web服务器或写过任何web应用。源码可以展示关于怎样设置一台web服务器的例子。试验这个例子,将花费你5分钟。
一旦你下载了源代码, 请看一看在以下部分以便您能立刻运行程序。发行被划分成三个部分:
1) source
源文件
2) extensions
扩展
3) examples
示例
请首先看例子, 但不要忘记在MyOODB 根目录build 。唯一需要你做的事是设置Java binary 在 your PATH和JAVA_HOME 环境变量指向您的Java 库。下列是有用的例子帮助您的工作:
1) simple
2) simpleSsl
3) simpleWeb
4) simpleSslWeb
5) ajaxWeb
6) admin ( Shows how to remotely create/delete/change users )
7) transactions
8) jython ( Dont forget play with runJython script. A command line interface )
9) jythonWeb
10) events
11) xml ( See how you can also have XML as the database backing store )
12) bean
13) callbacks
14) mi ( Multi-Inheritance through object delegation. See the README file )
16) performance
16) deactivation
17) selfHealing
17) verifyDatabase
18) defragDatabase
19) evolveDatabase ( i.e. Schema Migration )
20) backup/Restore
21) gaming
my
Quick Tutorial
MyOODB is an Object-Oriented Database with many features not available in existing database products. MyOODB is one part of a two part SDK solution. Together with MyOOWEB, MyOOSDK provides a development environment for software hackers who desire small fast but powerful applications. It is the foundation that puts the power of true Object-Oriented Design back into App/Web development.
The fastest 100% Java OODB available (IMHO), MyOOSDK also provides seamless web integration. MyOOSDK client code can run as an application or in a web browser over the following protocols: TCP, TCPS, HTTP, or HTTPS. MyOODB database technology provides better performance for known database features, as well as, providing features not yet seen.
Like other OODB solutions, MyOODB developer objects are the database. But unlike existing solutions, MyOODB objects only exist on the server. Though client objects look and feel like the actually object, in actuality its a simple distributed reference.
While MyOODB provides some features other solutions do not have, one of the more notable ones is its self-healing and corruption-isolation properties. MyOODB database technology allows for a bad file system block or blocks to not corrupt the entire database. Each object is self contained, so if an object on a block goes bad, MyOODB will try to rewrite the object in memory back to disk. And if the MyOODB Database Server is not running to restore state, when objects are coded to use the self-healing facilities, bad object references in good objects can be fixed up (A good selling point for your manager).
Taking an example from the source distribution, the following code is how one defines a database object:
Notice the @org.myoodb.MyOodbAcces annotation. This macro informs the MyOODB build process that the invocation of the setName method will cause the instance of Person to be saved to disk. Not specifying the macro simply will store the change in memory.
The storing of objects has a few behaviors. Like previously stated, client objects are really just distributed references (i.e. proxies). If one invokes a Write method without the context of a transactions, the object state is immediately stored in memory and on disk. This is called an implicit transaction.
The other type of transaction is an explicit transaction. Here is where some of MyOODB power starts to show. A result of MyOODB object clustering technology, MyOODB supports multi-concurrent nested transactions with rollback. No one object change will block another object change unless an explicit transaction is modifying a group of objects that yet another implicit or explicit transaction wants to work on. The following transaction example is taken from the source distribution:
To reiterate, all the above object calls can be performed outside the context of an explicit transaction.
Yet another powerful feature of MyOOSDK is the ability to seamlessly run client code over HTTP or HTTPS connections. Using Java Applets or Webstart technology, one can change the above example and tunnel all object modifications over the web. The following example shows the four ways to connect to the MyOODB Database Server:
Do not fret if you have never set up a web server or written any web applications. The source distribution comes with a web server and examples on how to set it up. Itll take 5 minutes, really it will.
Once you pull down the source distributed, please take a look at the following areas so that you can get up and running in no time. The distribution is divided into three sections:
Please first take a look in examples, but do not forget to build MyOODB from the root directory. The only thing you will need is the java binary in your PATH and the JAVA_HOME environment variable pointing to your java distribution. The following are useful examples to model your work around:
Thats it. Start showing off your new found productivity ;-)
MyOoSDK ( MyOoDB / MyOoXML / MyOoWEB ) ? 20
发表评论
-
优化数据库前,可以问自己的10个问题
2009-12-25 13:17 977在 优化你的数据库时,你可能没有用到这些细节的优点。以 ... -
Sequoia(基于JDBC的数据库集群中间件)用户手册
2008-12-30 08:54 3481http://haha8.runsky.com/forum/s ... -
优秀的开源MySql开发/管理软件集合
2008-12-01 12:32 2133MySql是目前应用最广泛 ... -
MySQL和Postgres的比较
2008-08-27 12:10 1849我使用哪个数据库:Post ... -
Navicat 管理mysql不错
2007-11-14 08:58 1697Navicat 管理mysql不错 javaeye上附 ... -
Derby入门
2007-09-21 22:01 1301http://www.blogjava.net/mrzha ... -
hsqldb First JDBC Client Example
2007-09-15 02:35 3094hsqldb自带的例子。看看就一切ok了,万事不求人啊。 Th ... -
Hsqldb初学
2007-09-15 01:22 4264java 代码 用了一下Hsqldb,感觉很精 ... -
org_myoodb_tools_classes 类图
2007-09-03 10:09 1116... -
myoodb_exception类图
2007-09-03 10:08 1217... -
面向对象的DBMS
2007-08-31 14:06 28151.数据库技术的发展 从60年代至今的30年中,信 ... -
org_myoodb_base相关类图
2007-08-29 17:06 1108... -
myoodb -objects类图
2007-08-29 10:29 1200动物的图 -
myoodb_extensions
2007-08-27 18:04 1158collectable 集合 Collectable ... -
myoodb例子的功能简单介绍
2007-08-24 16:45 1933# MyOODB - all database ...
相关推荐
这意味着它可以帮助开发者快速构建基于Web的应用,提供了一整套工具和库来简化Web开发。例如: 1. **模板引擎**:MyOODB 可能包含内置的模板引擎,用于生成动态HTML,使开发者可以专注于内容和逻辑,而不是HTML布局...
为了把开发者从中解脱出来,诞生了很多技术,O/RMapping 的有 Hibernate,一些 JDO 产品,EJB CMP 等,对象数据库的有 DB4O、MyOODB 等。 二、 Oracle 面向对象编程的基础 Oracle 面向对象编程的基础是它的对象...
8.18发烧购物节活动SOP - 电商日化行业+电商引流转化(5张子表全案)
网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip,个人经导师指导并认可通过的高分大作业项目,评审分98分,项目中的源码都是经过本地编译过可运行的,都经过严格调试,确保可以运行!主要针对计算机相关专业的正在做大作业的学生和需要项目实战练习的学习者,资源项目的难度比较适中,内容都是经过助教老师审定过的能够满足学习、使用需求,如果有需要的话可以放心下载使用。 网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期末大作业基于HTML+CSS的仿中国银行网站源代码.zip网页设计期
ntu嵌入式所有周实验文件
一款可以快速借助ChatGPT,快速生成大量原创有深度文章,快速丰富网站内容,完全免费,新建文章标题跟分类后,点击生成即可自动生成文章,生成后可以点击查看文章直达文章界面,分类可以设置不存在的,程序发现不存在会自动新建。
Adobe Camera Raw(RAW处理工具)v17.1.0.mp4
2024圣诞节倒计时页面源码.mp4
MaixPy机械臂井字棋游戏开发源码-最新开发(可比赛用).zip [资源说明] 1、该项目是团队成员近期最新开发,代码完整,资料齐全,含设计文档等 2、上传的项目源码经过严格测试,功能完善且能正常运行,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的高校学生、教师、科研工作者、行业从业者下载使用,可借鉴学习,也可直接作为毕业设计、课程设计、作业、项目初期立项演示等,也适合小白学习进阶,遇到问题不懂就问,欢迎交流。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 5、不懂配置和运行,可远程教学 欢迎下载,学习使用!
理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip,个人经导师指导并认可通过的毕业设计项目,评审分98分,项目中的源码都是经过本地编译过可运行的,都经过严格调试,确保可以运行!主要针对计算机相关专业的正在做毕业设计的学生和需要项目实战练习的学习者,资源项目的难度比较适中,内容都是经过助教老师审定过的能够满足学习、使用需求,如果有需要的话可以放心下载使用。 理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基于深度学习的行人重识别系统python源码.zip理工大学本科毕业设计-基
感恩母恩母爱如水母亲节主题班会
基于java的同城宠物喂遛系统设计与实现.docx
乱七八糟聚合类工具箱v1.3.86应有尽有高级版.mp4
安卓一木记账v5.8.90解锁VIP绿化高级版.mp4
Comsol经典小案例。 晶格耦合作用结构色,CIE1931计算与绘制。
2021中国新锐品牌发展研究:食品饮料行业报告
YS9082HP_033_HPS1A30C_N38A
LOL英雄联盟2012怀旧网单.mp4
2020林达阳光新城抖音直播售房脚本
【python上位机开发】(整套源码)