Thanks. I thought this was the case. I also found the relevant part of the tutorial on the website...
"The classes participating in this relationship do not need to implement a special interface to be used in a collection proxy." Might I suggest this is reworded to: do not need to implement any interfaces As the "special interface" sounds to me like you're talking about a particular interface, rather than the JavaBean interfaces used for proxing individual objects... Daniel. > -----Original Message----- > From: Jakob Braeuchi [mailto:[EMAIL PROTECTED] > Sent: 20 May 2004 09:45 > To: OJB Users List > Subject: Re: Interfaces and collection-proxies > > > hi daniel, > > when you use a collection-proxy tho whole collection is proxied > so there's no > need to define an interface for the contained classes. > > hth > jakob > > Daniel Perry wrote: > > > I know that I need to use interfaces for classes if they are proxied > > individually, but if I am only proxying collections, do the items I am > > proxying need to implement any interfaces? > > > > Thinking about it with hindsight, I would assume not, and I can > get rid of > > dozens of needless interfaces! Can someone correct me if I'm wrong? > > > > Thanks, > > > > Daniel. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
