June 2, 2008 McObject® has released Perst™ version 3.0, a major upgrade of its open source, object-oriented embedded database system. Developers working with both the all-Java and all-.NET editions of Perst will benefit from improvements including built in full-text search, powerful compression in embedded Java, and native language querying (LINQ) for .NET.
The new release also offers greatly enhanced documentation including a MSDN-like Perst API guide for .NET users, and a 38-page Introduction and Tutorial that leads users through Perst’s features and design principles step-by-step, with ample code illustrations.
Perst’s built-in full-text search improves on the database’s earlier integration with the open source Apache Lucene information retrieval library. By making full-text search a native Perst feature, the embedded database gains greater efficiency compared to the earlier approach, and a smaller footprint (the Lucene .jar file is several hundred kilobytes in size, while including search capability in Perst adds just a few kilobytes).
Perst’s new full-text search feature uses a standard b-tree to store an inverse index of keywords, with parsing and stemming of indexed text performed either by user-defined code or by Perst’s default simple parser and stemmer. Logical operators are supported. For documents matching a query, Perst calculates the relevance of the document to the query.
Memory and storage footprint are major concerns for developers in Java ME, the Java variant for mobile and embedded devices. Perst Lite, for Java ME, adds powerful on-the-fly compression in version 3.0 that reduces stored data’s size by three to five times, on average. Coupled with the database system’s already-small footprint, this compression adds another compelling reason for developers to choose Perst Lite for data management on smartphones, PDAs and other small-profile devices.
Version 3.0 of Perst for .NET adds support for Language Integrated Query (LINQ), a Microsoft .NET Framework component that adds SQL-like data querying capabilities to .NET languages including C# and Visual Basic. Developers accustomed to non-procedural languages will find LINQ’s query operators, such as “Select”, “Where” and “Join”, more familiar than Perst’s native collection classes. The LINQ library also provides useful data source processing (filtering, sorting, grouping, etc.), which can be applied to any collection or to the results of Perst queries.
LINQ enables Perst for .NET users to benefit from the IntelliSense® feature of Microsoft’s Visual Studio, to automatically complete text the developer is typing, fill in symbols and parameters, and provides other services to speed up programming. LINQ also adds type-safety: queries are checked for correctness when compiled and, if necessary, rejected. This avoids potential run-time bugs.
Perst 3.0 marks improvements in the embedded database’s documentation. McObject has added a concise new 38-page Tutorial and Introduction that guides users through Perst’s features and design principles, using both explanation and code examples. Sections range from the basics – such as creating, opening and storing objects in a database – to advanced topics including schema evolution and database replication.
In addition, Perst 3.0 for .NET’s API guide has been updated to the MSDN-like formatting familiar to .NET programmers. The new Perst .NET API documentation, generated using Visual Studio’s SandCastle tool, consists of a single Windows help file, which saves space compared to the earlier approach that required many HTML pages.
To download the free Perst 3.0 for Java or .NET, with complete source code, go to McObject’s downloads page.
Perst is part of McObject’s family of powerful small footprint, high performance embedded database software products. The eXtremeDB™ in-memory embedded database from McObject is used widely in devices including MP3 players, WiMAX base stations, digital TVs, telecom/network communications equipment and military/aerospace technology. Perst is available for Java SE-, Java ME- and .NET Compact Framework-based devices, as well as for Java and .NET applications generally. CA’s Wily Technology credits Perst with delivering a shortened development cycle and a ten-fold performance improvement within its real-time Java application.
Founded by embedded database and real-time systems experts, McObject offers proven data management technology that makes real-time systems smarter, more reliable and more cost-effective to develop and maintain. McObject counts among its customers industry leaders such as Chrysler, GigaSpaces, Siemens, Phillips, 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 www.mcobject.com.
McObject and eXtremeDB are trademarks or registered trademarks of McObject LLC. All other company or product names mentioned herein are trademarks or registered trademarks of their respective owners.