Forums Register Login

EJBLOcalObject : getHandle() method

+Pie Number of slices to send: Send
Why EJBLOcalObject interface does not define getHandle() method?
+Pie Number of slices to send: Send
For the same reason why it does not have method to get meta data. Handle is a serializable wrapper over the bean's ejb object which a client (in case of remote interfaces) can serialize and use later (of course with few restrictions!) to save a remote call to get the bean again. As calls to local components are not remote invocation, the handle in case of local component becomes useless.
Hope it helps.
Nandu
+Pie Number of slices to send: Send
thnks nandu...it is clear to me now...
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 519 times.
Similar Threads
Interesting Mock Exam Question - HFE 652 (Suman can you answer this)
Why Ejb Bean class not implementing the Remote Interface
mock question
How to understand Passed by Reference or Copy of Value for Local or Remote Interface?
is a reference serializable
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 00:23:43.