Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Re-entrant field in entity bean

 
Brenda Kwok
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do anyone know what's the purpose/usage of "re-entrant" field in DD for???
 
Keerthi P
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This property specifies whether an entity bean instance should allow loop-back call sequences, which are call sequences where one of the bean's methods calls another bean's method which in turn calls a method in the calling bean instance.

Here is an example:

EntityA:

methodA() {
entityB.methodB((EntityA)ctx.getEJBObject());
}

EntityB:

methodB(EntityA entityA) {
entityA.someMethod();
}
 
Brenda Kwok
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic