File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Handle and HomeHandle... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Handle and HomeHandle..." Watch "Handle and HomeHandle..." New topic
Author

Handle and HomeHandle...

aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
the following types of handle can be got from the EJBObject. Can someone provide the usage of these two Handles.
Handle getHandle()
HomeHandle getEJBHome().getHomeHandle()
Thank you


Aadhi
william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
Getting and storing the hanlde(by serialization) will ensure that you get the reference of the EJBObject even after the client session ends.
You are there saved the labour of having to look up and get the EBJHome and EjbObject references if you have saved the handle for the respective object.


Help me!Help you!!!
aadhi agathi
Ranch Hand

Joined: Apr 29, 2002
Posts: 263
Originally posted by william kane:

You are there saved the labour of having to look up and get the EBJHome and EjbObject

i can understand that . But i am looking for some example for these contexts.
 
 
subject: Handle and HomeHandle...
 
Similar Threads
Passing Session Bean References in Remote Calls
Some Questions
getHomeHandle
question #5 p292
Business Delegate