Why there is no getEJBMetaData() function in EJBLocalHome?

jaivir singh

Home interface is basically ment to define the methods that allow a remote client to create, find, and remove EJB objects, as well as home business methods that are not specific to a bean instance.

Where as EJBMetaData interface is intended for development tools used for building applications that use deployed enterprise Beans, and for clients using a scripting language to access the enterprise Bean, and that is why its has methods like
getHomeInterfaceClass()
getRemoteInterfaceClass()
isSession()
...etc

that provide info regarding there classes and types etc.

Hence providing meta-data info is not in scope of home interface and thus it does not have any methods like getMetadataInfo().

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact