This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CMR and remote interface

 
yuri375
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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();
}

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!