ObjectStore Java API User Guide
Appendix

Packaging Your Application for End Users

When you package your application for delivery to end users, the package must include two class files for each persistence-capable class in your application:

For example, if you have a persistence-capable class called Person, in the App package, you must provide users with

There is no corresponding ClassInfo file for persistence-capable interfaces.

You can zip these files with the rest of your package. You do not need to send the unannotated version of your persistence-capable classes. The annotated version can be used in a transient context.

For persistence-aware classes, you must provide the annotated class file. There is no corresponding ClassInfo class file.

Library providers

If you are providing a library that contains persistence-capable classes, you must also provide the PersistentTypeSummary object that identifies those classes. ObjectStore uses the summary object to install schema information for your library at run time. This allows users to install a new version of a library without having to rebuild the application type summary.



[previous] [next]

Copyright © 1998 Object Design, Inc. All rights reserved.

Updated: 10/07/98 08:46:43