Reference to ejb can be stored by client by Serializing the EJBObject to some storage?? Somehow these references are really confusing like on page 119 of ejb2.0 specifications. Can someone plz give e.g for The client can receive reference as parameter in a method call. Whats the best way to understand all this. I'm new to ejb and this is really confusing. Thanx
k doshi
Ranch Hand
Joined: Mar 16, 2002
Posts: 41
posted
0
Reference to ejb can be stored by client by Serializing the EJBObject to some storage?? Somehow these references are really confusing like on page 119 of ejb2.0 specifications. Can someone plz give e.g for The client can receive reference as parameter in a method call. Whats the best way to understand all this. I'm new to ejb and this is really confusing. The reference to EJB can be lost , for eg. between two methods where it is declared in one. So we can serialize the reference to the EJB eg in a file, then deserialize in the other method. or we can pass the reference to another method as a parameter. refer to Richard Monson Chp 5 client side API
Chintan Rajyaguru
Ranch Hand
Joined: Aug 19, 2001
Posts: 341
posted
0
I did not quite understand the question. So instead of answering the question here are two things, [1] If you are new to EJBs, you better read a book rather than specs. Mastering EJB is free on http://theserverside.com [2] If you can afford to read EJB 1.1 specs, read'em because EJB 1.1 spec is easy to read and understand
Have you looked into handles? You should not serialize the EJB object.
k doshi
Ranch Hand
Joined: Mar 16, 2002
Posts: 41
posted
0
ok, i'm sorry about that, u can serialize either the primary key or the handle thks kiran
faiza athar
Ranch Hand
Joined: Oct 30, 2001
Posts: 136
posted
0
thanx everyone ! i guess i need to study a lot.Yeah got the mastering ejb book and where to study these handles???....back to o'reilly chap 5 . Actually the references are really confusing esp in the beginnjing, so hopefully i'll come over it. Thanx for the help and guidance!