One of the
EJB programming restrictions is that EJB should not use
Java Reflection API. Because of this, you got getEJBMetaData method in the remote home interface to interrogate the bean and know about it.
But in local home interface getEJBMetaData method does not exist. As per HFEJB on page 148, you can use java reflection to learn about the bean in case of local objects.
Whether it is a local or remote object, it is EJB only. Why can't the EJB programming restriction of "Reflection API should not be used" apply to the local objects?
Can anyone clarfiy..