Please can I know about the Tool you are using in combination with IAS.

Thanks.

[EMAIL PROTECTED] wrote:

> > -----Original Message-----
> > From: Ashwath Narayan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 27, 2000 2:42 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: EJB Design: entity beans and domain objects
> >
> >
> > Richard,
> >
> > Consider a situation in my application.
> > I have a BillingAccount object.  BillingAccount has Customer,
> > ContactDetails
> > etc.
> > Customer has an Address.  ContactDetails also an Address.
> >
> > Our design might be primitive.  We have gone for fine-grained CMP
> > entitybeans viz BillingAccount, Customer, ContactDetails and Address.
> > Out database has corresponding tables viz BillingAccount, Customer,
> > ContactDetails and Address.
> > customerId and contactDetailsID are foreign keys in
> > BillingAccount table.
> > addressId is a foreign key in both Customer and ContactDetail tables.
> >
> > According to the (coarse-grain) pattern suggested in this
> > thread,  I should
> > be wrapping Address into Customer EJB and ContactDetails EJB
> > ie I need not
> > have an Address EJB.
> >
> > But how can I have a CMP Customer EJB which will manage
> > persistence of two
> > tables - Customer and Address?
> > My understanding is that a CMP EJB can represent only one
> > table (unless I
> > insert my own JDBC calls inside the CMP bean).
> > I am using WebLogic. It WebLogic Deployment Descriptor,  I
> > can point a CMP
> > EJB to only one database table.
> >
>
> This is a limitation of the EJB Container your actually using, not a
> limitation of the spec. Most built-in CMP of the available appservers have
> very limited abilities. The CMP engine I use (which replaces the CMP of the
> IAS) can spread one entity bean over multiple tables (but it's only
> available in germany at the moment). I think Toplink should also be able to
> do that.
>
> Ulf Gohde
>
> ===========================================================================
> 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".

--
Francis Pouatcha

MATHEMA Software GmbH
http://www.mathema.de

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