Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes is a reference serializable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "is a reference serializable" Watch "is a reference serializable" New topic
Author

is a reference serializable

Nijeesh Balan
Ranch Hand

Joined: Oct 09, 2000
Posts: 116
Hi,
this might be a dumbest question.. but i have to get it clarified.
When you look up for the home object in the JNDI tree you get the home object reference...
Similarly, when you do a home.create() u get a remote object reference..
So does this mean all the references of the objects which implements the Remote Interface are seriliazable or am i missing something?
Please clarify @!!

Thanks & Regards,
Nijeesh.


Thanks & Regards,<br />Nijeesh.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
Have you looked at the home and remote handle objects? It looks like you are talking about beans.
Nijeesh Balan
Ranch Hand

Joined: Oct 09, 2000
Posts: 116
Hi Rufus,
Can you please be more descriptive..
When we lookup for a homeobject we just get the reference of it is it not? So wat travels across the network? is it the reference?
Thanks & Regards,
Nijeesh.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
On the interface EJBHome there is the method getHomeHandle().
On the interface EJBObject is the method getHandle();
These are the interfaces for the home and remote objects. This sounds like the functionality you seek.
 
 
subject: is a reference serializable