Forums Register Login

Some Questions from Mock Exam

+Pie Number of slices to send: Send
According to Spec we must not use java Reflection API on Enterprise bean.we have getEJBMetaData method to get more specific class information.This method is in EJBHome Not in EJBLocalHome.Now Tell me How can I achieve that functionality for local clients.
+Pie Number of slices to send: Send
on page 149 of HF-EJB, it says we are allowed to use Java reflection API for local clients
+Pie Number of slices to send: Send
interface EJBMetaData is intended to be used by the tools for obtaining the information about the bean. There is very little you can do systematically as a bean provider using that interface.

I guess in the book when they say there is Reflection API, for the container it is there but not for the bean provider.

You are right when you say Reflection API is denied in the spec, but that is for bean provider contract.

Hope this helps.
+Pie Number of slices to send: Send
note that metadata related stuff is not part of the exam objectives...
+Pie Number of slices to send: Send
Thanx a lot for everyone her.
Water proof donuts! Eat them while reading this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 755 times.
Similar Threads
Finalization Method
NX: When should I throw DuplicateKeyException?
garbage collection
Sharpen your Pencil - Page 323 in HFEJB
Changin font in a JTextArea
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 05:50:01.