• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJBLocalHome and EJBMetadata  RSS feed

 
Rashmi Tambe
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why EJBLocalHome interface does not define any method for getting EJBMetadata? EJBMetadata is very useful to identify whether the bean is a session or entity bean. So how we do verify the same with beans having local interfaces?
 
Sunil Patil
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJBMetaData inteface was introduced because developers wanted access to meta information about bean which is available to normal java class through reflection but was not available to EJB clients because of remote access to EJB.
In case of local client this problem is not there.You can directly use reflection.
Sunil
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!