J2EE Deployment Files (Application-Client.xml)

xiaoxiao2021-03-06  25

The description. A short description. minAmount The env-entry-name element contains the name of an enterprise bean's environment entry. java.lang.String The env-entry-type element contains the fully-qualified Java type of the environment entry value that is expected by the enterprise bean's code. The following are the legal values ​​of env -ENTRY-TYPE: Java.lang.Boolean, java.lang.string, java.lang.integer, java.lang.double, java.lang.byte, java.lang.short, java.lang.long, and Java. Lang.float. 100.00 The Env-entry-value Element Contains The value of an enterprise bean's environment entry. The EJB-REF Element is used for the declaration of a reference to an enterprise bean's home The declaration consists of an optional description;. the EJB reference name used in the code of the referencing application client; the expected type of the referenced enterprise bean; the expe cted home and remote interfaces of the referenced enterprise bean;. and an optional ejb-link information The optional ejb-link element is used to specify the referenced enterprise bean The description A short description ejb / Payroll The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the enterprise bean's environment. It is recommended that name is prefixed WITH "EJB /". Entity / session

The ejb-ref-type element contains the expected type of the reference atprise bean. The EJB-REF-TYPE ELEMENT MUST BE ONE OF THE FOLLOWING: Entity

Session

com.aardvark.payroll.PayrollHome The home element contains the fully-qualified name of the enterprise bean's home interface. com.wombat.empl.EmployeeService The remote element contains the fully -qualified name of the enterprise bean's remote interface. EmployeeRecord The ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing J2EE Application package. The value of the ejb-link element must be the ejb-name of an enterprise bean in the same J2EE Application package. The resource-ref element contains a declaration of enterprise bean's reference to an external resource . It consists of an optional description, the resource factory reference name, the indication of the resource factory type expected by the enterprise bean code, and the type of authentication (bean or container). The description. A Short description. name The res-ref-name element specifies the name of a resource factory reference. javax.sql.datasource the res-type element specifies the Type of the data source. The Type IS specified by the java interface (or class) Expected to be used by the data source. Application / Container

转载请注明原文地址:https://www.9cbs.com/read-65417.html

New Post(0)