On the same note, if you are using getEJBLocalObject(), you will find that
you will sometime
get re-entrance exception depending how you write the code.

For me, I am using a super class for all the entity bean, thus any
reflection call, will potentially
cause a re-entrance exception.

But why can we use "this" in the first place ?


Chester


> -----Original Message-----
> From: Chester Chen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 04, 2003 10:57 AM
> To: [EMAIL PROTECTED]
> Cc: Chester Chen
> Subject: How using reflection in EJB entity bean
>
>
> Hi,
>    I am planning to use reflection to allow some generic
> update and read functions.
>
>    Since EJB spec does not allow using "this", instead, it
> suggests to use
>    getEJBLocalObject() of EntityContext. How do I use
> reflection in such case ?
>
>   Thanks for your help.
>
> Chester
>

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