Re: objectsOfClass-Method vs. Class-Extents?

"Leo Mekenkamp" <[email protected]> Tue, 20 Dec 2005 12:59:10 +0100 (CET)
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
Hi Ronny,

> Hm. I've got the javadocs of Ozone 1.2 now and there is no such method =
in
> the OzoneInterface. So maybe it doesn't exist any more (or not yet, I
> don't know) as the dev-guide says.

That is correct. In 1.1 that method was non-functional.

> There is only a objectForHandle-Method but it returns only one
> proxy-object and no collection of objects. This must be something
> different. Perhaps someone could explain me what a "handle" ist.

A handle is something that you can use when for one reason or another you
need to reference a database object, but you cannot keep a normal java
reference to a proxy. This can be the case in stateless (sessionless) web
based systems; the handle can be trivially encoded into a url.

> Don't getting all objects of a type is no good, though:-(

And what equivalent would you use to retrieve all instances of a class in
a standard jvm without a database? IMHO an ideal database is just a
logical extention of the jvm; one should be able to use just pure java to
find objects.

Cheers,
Leo




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick