| By Don Bowman | Article Rating: |
|
| September 1, 1997 12:00 AM EDT | Reads: |
12,751 |
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).
Published September 1, 1997 Reads 12,751
Copyright © 1997 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
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.
Oct. 2, 2018 06:00 PM EDT Reads: 1,727 |
By Yeshim Deniz Oct. 2, 2018 12:45 PM EDT Reads: 3,210 |
By Pat Romanski Sep. 8, 2018 09:45 PM EDT Reads: 3,205 |
By Liz McMillan Sep. 7, 2018 07:45 PM EDT Reads: 2,979 |
By Zakia Bouachraoui Sep. 6, 2018 07:30 PM EDT |
By Zakia Bouachraoui Sep. 5, 2018 10:00 PM EDT |
By Pat Romanski Sep. 5, 2018 04:00 PM EDT Reads: 1,658 |
By Yeshim Deniz Sep. 4, 2018 03:00 PM EDT Reads: 3,665 |
By Yeshim Deniz Aug. 31, 2018 12:30 PM EDT |
By Elizabeth White 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...Aug. 30, 2018 06:30 PM EDT Reads: 2,058 |


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...
Addteq is a leader in providing business solutions to Enterprise clients. Addteq has been in the business for more than 10 years. Through the use of DevOps automation, Addteq strives on creating innovative solutions to solve business processes. Clients depend on Addteq to modernize the software delivery process by providing Atlassian solutions, create custom add-ons, conduct training, offer hosting, perform DevOps services, and provide overall support services.
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical Infrastructure as a Service cloud provider but it's been des...
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the...
Contino is a global technical consultancy that helps highly-regulated enterprises transform faster, modernizing their way of working through DevOps and cloud computing. They focus on building capability and assisting our clients to in-source strategic technology capability so they get to market quickly and build their own innovation engine.
According to Forrester Research, every business will become either a digital predator or digital prey by 2020. To avoid demise, organization...
Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine f...









