|
Last Modified: 2003.12.03
Customization of EJBMetaUsers can customize the definition of EJBMetaInfo by referencing Class org.jfox.ejb.examples.meta.HelloMeta, The implementation code of getEJBMetaInfo() method is as below:
By providing intact parameters to EJBMetaHelper. CreateEJBMeta, it defines the content of returned EJBMetaInfo. It is flexible to deploy those EJB components whose EJB namings don't accord to specification, which want to define transaction type by themselves, or which want to define jndi name by themselves. Another thing needed to notify is that, because Jfox deploys EJB components according to the Meta class in EJB jar file, please make sure that every EJB has a Meta class with it, and must guarantee the information provided by Meta class is correct, or your EJB can not be deployed or failed to be deployed. |