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

res-sharing-scope

 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<res-sharing-scope>Shareable<res-sharing-scope>
Does this means, the connection is shareable between different enterprise beans as opposed to the <env-entry> and <ejb-ref> which is not shared across enterprise beans ???
 
Narasimha Rao B.
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Giju,

Even specs are not clear on this.

Thanks,
 
King Hong Chan
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this "Shareable" means the connection which produced by the Resource manager may be used by another bean instance when the connection is not in a transaction. It doesn't mean the "xml entry" in the deployment descriptor is shareable to other beans.
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
guys.. this is what I got regarding <res-sharing-scope>shareable</..>

Other beans in the same app using the same resource, in the same transaction can share.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic