[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some small Q's



After some classpath obstacles i finally managed to create a database
storing  Person objects. Hurray!
Some questions did come up on the way:

1: This is maybe an easy one, and i'm sure i'm overlooking something - of
course :), but when PersonImpl.class.getName() is called i cant find any
static class-variable called class. I assume this is a variable of Class
type....where is it
located?

2: About unique keys.
When i create an object on the server using createObject i find three
different overloaded methods called createObject(...), one of them defines
the className, access and the name of the object. But when I use the the
first alternative, which just pass the className of the remoteObject to the
server, noone asks for a unique key/name. What kind of unique key is
assigned to that object?
Is there any automatic generation of unique keys (like autoincrement)? (I
see its possibly to get all objects of a class using objectsOfClass(..),
maybe i'll find it there when i get it working :))

\Jon