On Mon, 21 Aug 2000 16:46:56 +0530, Neelu Mehta <[EMAIL PROTECTED]>
wrote:

>but i really don't understand the exact use of equals() and hashcode() methods why 
>it's so neccessary
>can u tell me

They are used by the EJB container for use with hashtables.

>secondly if our primary key is String type then also we 've to write toString() 
>method or not

You never have to provide a toString() method. Why do you think that's
the case? Searching the EJB 1.1 specification for the keyword "toString"
gives zero hits...

/Rickard

--
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com

===========================================================================
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