Hi,

I have an CMP based entity bean ( product) that passes itself to another
class priceCalulator to determine the price.  While trying to test, I get a
re-entrance exception.

Couple of questions:
1) Is it necessary for me to make this bean re-entrant?  Would it be better
to submit a pass by value object to the calculator class instead?

2) how should I be passing the entity bean to the calculator class?

My approach was :

Offering item = (Offering)ctx.getEJBObject();
return c.calculatePrice(item, qty);

Is this correct?

Thanks
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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