Shane,

      <ejb-name>BMPProduct</ejb-name>
      <home>ProductHome</home>
      <remote>Product</remote>
      <ejb-class>BMPProductBean</ejb-class>

      <ejb-name>CMPProduct</ejb-name>
      <home>ProductHome</home>
      <remote>Product</remote>
      <ejb-class>CMPProductBean</ejb-class>

Of course the 2 beans will be deployed with different jndi values. Thus you
could use this to test drive your cmp engine against your handcrafted and
time consuming jdbc/sql in terms of performance. What you are doing here is
basically providing a different implementation of an interface though not
exactly in the Java language sense. The inheritance aspect does not really
come into play in the ejb sense.

William Louth
Inprise
www.inprise.com/appserver


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of shane
Sent: Thursday, September 21, 2000 4:52 AM
To: [EMAIL PROTECTED]
Subject: How to describe the relationship of one bean extends another
bean in the XML descriptor?


Suppose I wrote a bean ("ProductCMPBean") with a remote interface
("Product") and a home interface ("ProductHome"), and then I wrote a bean
("ProductBMPBean") thich extends the "ProductCMPBean", how should I describe
this relationship in the EJB-JAR.xml file?

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

Reply via email to