Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is a reference serializable

 
Nijeesh Balan
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the home and remote handle objects? It looks like you are talking about beans.
 
Nijeesh Balan
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic