> Request for clarification: when you say "B returns it to A". My
> understanding is that you're not supposed to send EJBObjects
> around (are they serializable?). A and B could be on different
> machines in which case an EJBObject on A may not work in B.
EJBObject is extended by the remote interface, so you do want to pass that to the
client. You have the right idea, though - you never want the clients to have a
reference to the actual bean instance.
--- the remote interface ---
public interface UnixPCrypt extends EJBObject {
--- versus the bean class ---
public class UnixPCryptBean implements SessionBean, Crypt {
- jeremiah
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup