First of all implement the Entity Bean with Container Managed Persistence.
In that case you'll need to have finder method declared in Home interface
and
implemented in Primary Key class.  YOU WILL NOT HAVE finder METHOD IN EJB
CLASS for CMP.  It will be written by the container at the deployment time!

Check page 89 in "Enterprise Java Beans" 2nd edition by Richard
Monson-Haefel


-------------------------------------------------------------
Roman Kagan                     5155 Bantry Dr
Chief Architect         W. Bloomfield, MI 48322
SoftFinity Corp.                phone (248) 227-1220
[EMAIL PROTECTED]   fax (810) 958-5148
-------------------------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of James Ho
Sent: Tuesday, August 29, 2000 12:18 PM
To: Orion-Interest
Subject: Re: EJB finder methods.


Hi Paul

I am a newbie in EJB...so don't know if this will really helps..

I guess u implement the finder methods in the bean class?  and also modify
the Home interface file to add that method in.

Regards, James


> Where do I specify my own finder methods in my entity bean.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.





Reply via email to