Bindings, Platforms, and Innovation
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
Tracking change and innovation in the enterprise software development community
Posted by Alexander Olaru on Dec 21, 2007 09:00 AM
db4o has been growing fast lately, having recently released v7.0 beta of their flagship db4o embedded ODBMS, and claiming over 30,000 deployments of their open source ODBMS. Is this a sign of changing times reflecting the ODBMS landscape?...Developers don't have to learn a new language, [in the db40 case] they just drop in a .jar or .dll file into their project and are up and running... Simplicity of use and full integration to the programming language, the native approach, are key to the success of object databases in general...Queries that are native to Java or .NET leverage benefits of development tools such as type-safe coding, eliminate the mismatches that surface when complex structures are used with object-relational mappers, and save the effort of learning the intricacies of another language.
...The requirements of the application should define whether a developer should use an rdbms or an odbms. Many application domains are better suitable for object oriented structures and persistence, such as complex configuration or security data, searchable multi-media or spatial data, and very complex relationships inherent to a data domain. Another determinant is whether persistence is fully “embedded” into the application, i.e., invisible to the end user, in which case an object database is much cleaner and easier to maintain than an application that has to map objects to tables.
...open source is a big driver in the recent surge of adoption of object databases. Developers have actually always liked the idea of an ODBMS. It was more the DBAs and managers that were bought into RDBMSs like Oracle, be it for the right (data abstraction) or the wrong reasons (golf tournaments). Open source has put developers back into a more powerful position. They can now more autonomously make design decisions “below the radar of management” and prove that object databases helps them save time, build more compelling architectures and ultimately save their customers a lot of money.
db40 has seen a lot of adoption for scenarios where it is embedded within an application, with no separate deployable database visible to end users or developers. Nik characterized these as zero-admin environments where an object database' simplified API, elimination of any run-time administration, and open source properties make it very suitable for embedding into not only devices like robots, cars, and cell-phones, but also packaged software, SCADA systems and caches anywhere in the network. Nik mentioned that Ricoh is using them in their printers & copiers.
Commenting on adoption in the enterperprise, Nik cited an example of ow financial institutions leverage db4o as an intelligent cache of data from their central database to enable faster transactions. He also added that object
databases can live nicely side by side with rational databases because, as in db4o’s case, they allow data to be replicated into the relational database.
The discussion shifted afterwards to the new features in db4o v7.0:
The biggest highlight is Transparent Activation (TA). TA simplifies object retrieval by automating object activation. With TA, enabled objects are only activated when they are requested. The key here is that developers don't have to define the activation depth manually any more, which simplifies coding. Another benefit is that memory consumption is optimized, as objects are only loaded into memory when they are requested.
With Transparent Activation developers no longer need to worry, when and how objects are loaded. db4o has more information at runtime than developers have at development time, so it can do a smart job and only load the objects that are really needed.
The commercial-only offering of the product includes 2 other important features:
db4o is also preparing for an upcoming release of the product for the .NET platform. He described the similarities and differences between the Java and the .NET versions:
Both our Java and our .NET version are produced from a common shared code base. All our distributions are produced in a fully automated continuous build that converts code between platforms. In some places we do make some adjustments for the respective platforms, because we follow standard conventions...Only a few differences apply: The current db4o Replication System (dRS) is build on Hibernate and is more complete for Java than .NET. On the .NET side we are in the process of providing a LINQ interface shortly.
As a result, Nik mentioned that “the database file format is the same. You can open databases with .NET that were produced with Java and vice versa. You can also connect to a .NET server from a Java client and vice versa.”
The interview concluded with Nik sharing his vision in regards to the opportunities that Google’s Android platform brings to their product. db4o allows ISVs that build software for Android to develop:
...client-side applications that can adapt automatically over time (as db4o detects and adjust to schema changes) and can collaborate and share data among different applications. db4o can take care of all aspects of data administration, e.g. when you update your software with a new data model over the air.
db4o also works directly with members of the Open Handset Alliance to overcome the database shortcomings of Android and provide powerful cross-application persistence enhancements. As a result, for instance, mobile carriers can provide exciting new services around user generated data (UGD) such as complete backup functions of all application data. If you loose your handset, you can get a new handset and all your personal data is already preloaded. Another use case is p2p data sharing and p2p social networking.
What is your opinion? Are you using an ODBMS in your applications? What are the scenarios in which you think an odbms works better than the traditional rdbms approach?
Download the Free Adobe® Flex® Builder 3 Trial
Adobe® Rich Internet Application Project Portal
How Java Developers Can Write Great SQL
From db4o 5.5 (using JPOX 1.2) you can also utilise a (standardised) JDO/JPA API and persist/retrieve/delete objects just like you do with your RDBMS. This provides an easy adoption path for projects interested in the technology. Using this JDO/JPA layer, users have had transparent activation/lazy loading for some time, and now they also have it inbuilt in db4o. In addition using this layer you have a JDOQL querying capability, hence not having to learn the excellent SODA language, instead utilising queries that your application has been using for some time, and in the future JPQL too. Java Persistent Objects (JPOX)
This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.
This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.
This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.
This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.
This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.
After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.
IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.
Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.
1 comment
Watch Thread Reply