Welcome!

Java IoT Authors: Yeshim Deniz, Pat Romanski, Liz McMillan, Zakia Bouachraoui, Elizabeth White

Related Topics: Java IoT

Java IoT: Article

ObjectStore PSE Pro

ObjectStore PSE Pro

Object Design's ObjectStore PSE Pro for Java is a native Java-persistent object database (PSE stands for Persistent Storaget Engine). It allows running Java objects to save and restore state. The differences between the Pro' release and the general release involve the ability to simultaneously access databases and to recover databases.

ObjectStore PSE Pro is aimed mainly at the Java application programmer. Its object-oriented database provides an alternative option to JDBC, which is likely its main competitor.

ObjectStore PSE Pro will work with any Java Virtual Machine - it's 100% native Java. I evaluated it with the Microsoft SDK for Java 1.5 on a Windows 95 notebook.

Installing ObjectStore PSE Pro was simple: an InstallShield with no options and adding two zip files to my CLASSPATH. The documentation is all in HTML format and all on-line. The API is all documented with javadoc so it will be a familiar format for most users. The user's guide is fairly straightforward and easy to follow (unlike some HTML manuals that are forever linking you all over the place and have no coherent path through them).

To use PSE Pro, you must compile your source code normally and then run a post-processor on the resulting classes, which makes them persistence-capable. This step is a bit of a pain, but straightforward if you are using a command-line SDK. If you are using an IDE (e.g. Symantec Café, SuperCede, Microsoft Visual J++, etc.), this is somewhat more complicated and requires environment-specific workarounds to run the post-processor. The post-processor creates a new directory hierarchy, a mirror of the actual one, which contains the new class files. You must ensure that the Virtual Machine's CLASSPATH references the mirrored persistence-capable hierarchy in order to run properly.

There are some pitfalls to the post-processor scheme: all classes must be pre-processed, even if they are not to be persistence-capable, and all objects must be consistent with each other. If your build environment is time-dependency'-based, this should be easy to achieve since the make-utility will look after it all for you. If you, however, make things manually or using a script, you could be in for some trouble using this product.

Security limitations on applets really get in the way of this product. Object Design would like people to use ObjectStore PSE Pro as a Web-based database, but the Java security model prevents applets from reading/writing local files. Internet Explorer and Netscape 4.0 are able to work around this using signed applets. As far as I can tell, PSE is only currently useful for writing Java applications or for very targeted Web applications where the users will all be using Microsoft Internet Explorer or Netscape 4.0. I'm sure that within 6 months enough users will be using a new enough browser that this security limitation will be effectively removed and local database applications will be possible. Object Design has included an appendix detailing the steps required for making your Applet trusted (and thus work with Internet Explorer or Netscape 4.0).

There are eight samples included with PSE Pro. The simplest, pcount, demonstrates a simple Web page hit counter implemented as a persistent integer in Java. Using the simple size metric of number of semi-colons (borrowed from C), this file is 27 statements long, an indication of how simple using the PSE library is. The most complicated example, OSDraw, implements an applet with persistent storage for an image based on the object-shapes drawn upon a canvas. The simplicity of these examples shows the wisdom of the post-processor approach: There are no changes required to the source code for an object to become persistence-capable. Compare this with trying to rewrite all the objects themselves to understand persistence and you will see what I mean.

This product seems very well executed. It is obvious to me that Object Design has a competent technical staff working on it. Unfortunately, I think that the Java security model will limit the product's usefulness in the short term. I also believe that a standards-based approach (JDBC) might be a better way to go. However, Object Design has some powerful partners - Symantec will be bundling PSE with Café, as will Asymetrix with SuperCede and Borland with JBuilder. Microsoft and Netscape have both licensed PSE. Given that Netscape will be bundling PSE with Communicator, this could be an attractive technology to choose for storing preferences and information on the client machine since much of the code will already be there.

ObjectStore PSE Pro may be obtained directly from the company at their Web page. You may also download an evaluation copy from their Web site (http://www.odi.com).

More Stories By Don Bowman

Don Bowman is a software designer with Hewlett-Packard. He is the co-webmaster for his division. Don has worked with Java on HP-UX and Windows 95 environments.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
Whenever a new technology hits the high points of hype, everyone starts talking about it like it will solve all their business problems. Blockchain is one of those technologies. According to Gartner's latest report on the hype cycle of emerging technologies, blockchain has just passed the peak of their hype cycle curve. If you read the news articles about it, one would think it has taken over the technology world. No disruptive technology is without its challenges and potential impediments t...
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in development and launches of disruptive technologies to create new market opportunities as well as enhance enterprise product portfolios with emerging technologies. His most recent venture was Octoblu, a cross-protocol Internet of Things (IoT) mesh network platform, acquired by Citrix. Prior to co-founding Octoblu, Chris was founder of Nodester, an open-source Node.JS PaaS which was acquired by AppFog and ...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...