Select Page

McObject Releases Perst Lite, an Open Source Embedded Database For Intelligent Devices on Java’s J2ME Platform

September 18, 2006 — McObject® announced the release of Perst Lite™, a micro-footprint version of the Perst™ open source, object-oriented embedded database. Perst Lite targets embedded systems and intelligent devices developed on the Java 2 Platform, Micro Edition (J2ME), bringing much-needed object-oriented database services to the fast-growing embedded Java development community.

Perst Lite upholds Perst’s well-deserved reputation for simplicity of design and high performance, despite barriers to object-oriented databases inherent in J2ME. Perst Lite also achieves a code size that is about 30% smaller than standard Perst, well within the resource constraints of most intelligent embedded devices.

Embedded systems developers increasingly use Java, especially as micro-processors improve in their speed executing Java code. Sun Microsystems’ J2ME, with its flexible user interfaces, robust security, and built-in networking, is proving especially popular for consumer electronics and mobile devices. In April, Evans Data Corp. announced survey results in which 52 percent of a sample of 500 wireless application developers reported using J2ME, up from 46 percent six months earlier.

But J2ME differs in major respects from standard Java (Java 2 Platform, Standard Edition, or J2SE), complicating vendors’ ability to provide popular Java application development tools for embedded Java. One of Perst Lite’s major achievements is to substitute its own lightweight code for standard Java’s reflection mechanism.

Object-oriented database systems for Java rely on the language’s reflection capability to inspect the object format at run-time and discover the format of the stored object. But J2ME, which targets small-footprint and embedded systems, omits reflection due to this function’s complexity and resource requirements. This has limited the availability of OODBMSs for J2ME.

Perst Lite surmounts this obstacle by unveiling a utility that generates object serialization and de-serialization code for the application that incorporates the database. This code replaces reflection, but without the complexity and large run-time code footprint that caused reflection to be dropped from J2ME.

Another programming concept, “weak references,” is commonly used by Java OODBMSs to permit garbage collection (automatic reclaiming of memory) while preventing out-of-control object cache growth. However, because weak references complicate garbage collection, many J2ME variants for specific devices do not support them. To address this issue, and permit efficient memory management, Perst Lite incorporates alternative object cache logic that does not depend on weak references.

Many developers prefer to use object-oriented database systems when working in object-oriented languages such as Java, crediting object database systems with better programming language integration than their relational counterparts. When a relational database is used, the application needs code that translates the relational representation of the data to the object representation required by the host language. This need increases application code size and impairs performance.

Perst Lite retains most of the features popular with the thousands of developer who have downloaded the open source Perst since 2003: B-tree, Patricia Trie, Bit index, T-Tree and R-Tree indexes as well as List, Relation, and Set collections, all protected by transactions supporting the ACID properties (Atomicity, Consistency, Isolation and Durability). Perst Lite also offers multithreaded access, data encryption and asynchronous replication.

Under Perst’s dual license, users can modify Perst and Perst Lite database source code and use it freely in other open source applications (software for which source code is made available) under the GNU General Public License (GPL). McObject’s commercial license is required if source code of the Perst- or Perst Lite-based applications is to be withheld.

More information, as well as Perst Lite and Perst database software for Java, is available from


About McObject
Founded by embedded database and real-time systems experts, McObject offers proven data management technology that makes intelligent devices smarter, more reliable and more cost-effective to develop and maintain. McObject counts among its customers industry leaders such as DaimlerChrysler, EADS, JVC, Tyco Thermal Controls, F5 Networks, CA, Motorola and Boeing. McObject, based in Issaquah, WA, is committed to providing innovative technology and first-rate services to customers and partners. The company can be reached at +1-425-888-8505, or visit

McObject, Perst and Perst Lite are registered trademarks of McObject LLC. All other company or product names mentioned herein are trademarks or registered trademarks of their respective owners.