• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CMR and remote interface

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I can't understand how to use container managed relationship fields.
I know that remote interface cannot include CMR fields. Why does this restriction exist? What is problem with that? WebLogic 6.1 seems to support CMR in remote interface anyway(?)
I've seen an example when set and get methods for cmr field are defined for bean class but not for remote interface. There is assign method instead in remote interface and it's defined like this:
void assignStudent(Student student) {
setStudent(student);
}
But why setStudent method could not be included into remote interface? I am not talking about Collections here, just simple 1:1 relationship.
Can I define another remote interface method like this:
Student retrieveStudent () {
return getStudent();
}

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic