> Hi All,
> I have a question regarding to the use of the Reflection API in EJB 1.1.  It said:
>
> "The enterprise bean must not attempt to query a class to obtain information about 
>the declared
> members that are not otherwise accessible to the enterprise bean because of the 
>security rules
> of the Java language. The enterprise bean must not attempt to use the Reflection API 
>to access
> information that the security rules of the Java programming language make 
>unavailable."
>
> Could some one please explain what the above lines really mean?THX
>
> My problem is that i have about 60 entity beans built for the 60 code tables (ie. 
>locales.).  All these
> entity beans have the same set methods such as getAllRecords() and  
>getDetails(String code_name) which
> returns all the names and detail of a type based on code name....  So, in my session 
>bean i try to build
> a generic bean (using reflection) to peform  these operation on these entity beans 
>by supplying the
> entity bean name and the method names.  When i ran the tests, things seem to be 
>alright because the tool
> i am using following EJB 1.0 but will be
> updating to EJB1.1 soon. My question is that whether or not this violates the  
>requirements of spec EJB
> 1.1.
>
> Thanks a bunch,
>
> Justin Pham
> Application Developer.

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