Forums Register Login

res-sharing-scope

+Pie Number of slices to send: Send
<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 ???
+Pie Number of slices to send: Send
Hi Giju,

Even specs are not clear on this.

Thanks,
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1818 times.
Similar Threads
Transaction EJB session bean
res-sharing-scope in resouce-ref tag
JDBC with Session Beans
same app
Doubt No 2 on Sun Assesment
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:41:52.