Hi David,

Are you asking about whether you can put a toString() method in your EJB's
remote interface?  Which you can.  The client never gets a reference to the
actual instance of the implementation object on the server upon which it
could directly or indirectly call toString().  Perhaps you could mention
what the intended use is you are thinking of.

-Chris Thompson
Bean-test Developer
http://www.empirix.com

-----Original Message-----
From: David Coote [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 23, 2002 3:58 AM
Subject: Overriding the Object toString() method from an EJB


Without modifying the container generated classes is there any way to
override the Object method toString from the implementation class of
an EJB so the overriding method is called from a client of the EJB?

 TIA

 David

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to