You need primary key class when there are more than one field(composite key). Check your deployment descriptor. For the <prim-key-class> element. ----- Original Message ----- From: "phani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 1:35 PM Subject: Re: Need some examples
> Hi vellosa, > Thanks for the info. > > I checked the sample dir. But I have read that the entity bean must require > an Primary key class. > But i don't find any primary key class in the > samples/examples/ejb/basic/beanManaged > I have account.java(Remote) accountHome.java(Home) accountBean.java(EJB) and > client.java but where is Primary Key class. > > Thanks for the help > phani > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Monday, June 24, 2002 1:24 PM > Subject: Re: Need some examples > > > > Hi Phani, > > > > I am using WebLogic 6.1 and there in the directory: > > > > C:\bea\wlserver6.1\samples\examples > > > > I have a whole set of examples for everything you could ever need to do on > WebLogic, well quite a bit anyway. There are examples of EJB 1.1 and 2.0 > BMP, CMP and even Message Driven Beans. I'm sure you must have something > similar under your 6.0 instalation? > > > > Regards > > IV > > > > > > > > > from: phani <[EMAIL PROTECTED]> > > > date: Mon, 24 Jun 2002 08:41:58 > > > to: [EMAIL PROTECTED] > > > subject: Re: Need some examples > > > > > > Hi, > > > I am new bie to ejb and i am messed with deploying entity beans on > WL6.0 > > > > > > I need some basic examples for entity beans (both cmp and bmp) > specific to weblogic 6.0 so that i can deploy and run without any > modifications. > > > > > > Are there any examples available with WL6.0 specific xml files? > > > I searched the web but no luck. > > > > > > Thanks for any help > > > phani > > > > > > > > > > > > > > > > > > http://www.amazon.co.uk/exec/obidos/redirect-home?tag=velloscouk-21&placemen > t=home_multi.gif&site=amazon > > =========================================================================== > 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". > =========================================================================== 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".
