A seperate primary key class (even for a little old int value) was required
by the 1.0 spec. The 1.1 spec did away with that constraint. The book is
outdated.
jim
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Vivek Singh
> Sent: Friday, August 25, 2000 5:00 AM
> To: [EMAIL PROTECTED]
> Subject: Re: one instance of any given entity bean?
>
>
> another small question didnt get satisfactory answer anywhere (or i didnt
> get it)
> in the oreilly book on EJB everywhere it creates Primary Key Class even if
> it has only and int id;
> why is it recommended to have PrimaryKey class...if at all?
>
> -----Original Message-----
> From: Evan Ireland [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 25, 2000 4:13 AM
> To: [EMAIL PROTECTED]
> Subject: Re: one instance of any given entity bean?
>
>
> Avi Kivity wrote:
> >
> > > i am confused about how things will be handled in both the
> > > cases when one of
> > > the clients ( all of them accessing the same row) of entity
> > > bean chooses to
> > > delete the row by calling remove().
> > >
> > > what happens to the other clients having the reference?
> > >
> > They get a subclass of RemoteException, I forget exactly which.
>
> java.rmi.NoSuchObjectException
>
> > - Avi
> > --
> > s/\be(\w+)/e-\1/g;
> >
> >
> ==================================================================
> =========
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff EJB-INTEREST". For general help, send email to
> > [EMAIL PROTECTED] and include in the body of the message "help".
>
> --
> __________________________________________________________________
> __________
> ____
>
> Evan Ireland Sybase EAServer Engineering
> [EMAIL PROTECTED]
> Wellington, New Zealand +64 4
> 934-5856
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".