• 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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

CMR and remote interface

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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) {
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();

    Bookmark Topic Watch Topic
  • New Topic