JBoss. xml
XML Version = "1.0" Encoding = "UTF-8"?>
nobody unauthenticated-protecipal>
message-driven> Markup for those beans. ->
Item EJB-NAME> itembean jndi-name> itemlocal local-jndi-name>
Entity> Supplier EJB-NAME> SupplierBean jndi-name> SupplierLocal local-jndi-name>
Entity> manager ejb-name> managerbean jndi-name> managerLocal local-jndi-name> JDBC / HEHE RES-REF-NAME> java: / ejbtest jior- name> resource-ref>
Entity> Customer EJB-Name> CustomerBean jndi-name> CustomerLocal local-jndi-name> JDBC / HEHE RES-REF-NAME> java: / ejbtest jndi-name> resource-ref> Entity>
StoreAccessState ejb-name> StoreAccessStateBean jndi-name> StoreAccessStateLocal local-jndi-name> Standard Stateful SessionBean configuration-name> jdbc / hehe res-ref-name> java: / ejbtest jndi-name> resource-ref >
session> StoreAccess ejb-name> StoreAccessBean jndi-name> storeAccessLocal local-jndi-name> ejb / itemlocal ejb-ref-name> itemlocal jndi-name> ejb-local-ref> < EJB-REF-NAME> EJB / CustomerLocal EJB-REF-NAME> jndi-name> ejb-local-ref> EJB / ManagerLocal EJB-REF-NAME> ManagerLocal jndi-name> ejb-local-ref> EJB / ITEMLOCAL EJB-REF-NAME> itemlocal jndi-name> ejb-local-ref> EJB / SupplierLocal EJB-REF-NAME > SupplierLocal jndi-name> ejb-local-ref> JDBC / HHE RES-REF-NAME> Java: / EJBTEST JNDI-NAME> Resource-Ref> session>
RequestItems ejb-name> queue / mdbqueue destination-jndi-name> EJB / Supportlocal ejb-ref-name> SupplierLocal jndi-name> ejb-local-ref> EJB / StoreAccess EJB-REF -Name> StoreAccessBean jndi-name> ejb-ref> message-driven> enterprise-beans>
resource-managers>
jboss>
ejb-jar.xml
XML Version = "1.0" Encoding = "UTF-8"?>
description> generated by xdoclet display-name>
description>
StoreAccessState EJB-NAME>
Au.com.Tusc.SessionState.StoreAccessStateHome home> au.com.tusc.sessionState.storeAccessState remote> au.com.tusc.sessionState.StoreAccessStatelocalHome local- Home> au.com.tusc.SessionState.StoreAccessStateLocal local> au.com.tusc.SessionState.storeAccessStateStatesis ejb-class> stateful session-type> Container Transaction-Type> jdbc / hehe res-ref-name> javax.sql.datasource res-Type > container res-auth> resource-ref>
session>
description>
StoreAccess EJB-NAME>
Au.com.Tusc.Session.StoreAccessHome home> au.com.tusc.session.storeAccess remote> au.com.tusc.session.storeAccessLocalHome local- Home> au.com.tusc.session.storeaccessLocal local> au.com.tusc.session.storeAccessSession EJB-Class> stateless session-type> Container Transaction-Type>
EJB / CustomerLocal EJB-REF-NAMERLOCAL EJB-REF-NAME> Entity EJB-REF-TYPE> au.com. Tusc.bmp.customerlocalhome local-home> au.com.tusc.bmp.customerlocal local> Customer EJB-LINK> EJB-local-ref> EJB / ITEMLOCAL EJB-REF-NAMLOCAL EJB-REF-NAME> Entity EJB-REF-TYPE> au.com.tusc.cmp .Itemlocalhome local-home> au.com.tusc.cmp.itemlocal local> item ejb-limited> ejb-local-ref> > EJB / ManagerLocal EJB-REF-NAME> Entity EJB-REF-TYPE> au.com.tusc.bmp.managerlocalhome < / local-home> au.com.tusc.bmp.managerlocal local> Manager ejb-limited> ejb-local-ref> EJB / Supplier Local EJB-REF-NAME> Entity ejb-ref-type> au.com.tusc.cmp.supplierLocalHome local-home> Au. com.Tusc.cmp.supplierlocal local> Supplier ejb-link> ejb-local-ref>
jdbc / hehe res-ref-name> javax.sql.datasource res-type> Container res-auth > Resource-ref> session>
session> Markup for Those Beans. ->
description>
Item EJB-NAME>
Au.com.tusc.cmp.itemhome home> au.com.tusc.cmp.Item remote> au.com.tusc.cmp.ItemlocalHome local- Home> au.com.tusc.cmp.Itemlocal local>
Au.com.Tusc.cmp.Itemcmp EJB-Class> Container persistence-type> java.lang.string prim-key- Class> false reentrant> 2.x cmp-version> MyStorem Abstract-schema-name> description> itemid field-name> cmp-field> description> SupplierID field-name> cmp-field> description> Description Field-Name> cmp-field> description> Quantity field-name> CMP-Field> description> price field-name> cmp-field> itemid primkey-field>
Findall method-name> mathod-params> query-method> ejb-ql> query> FindBysupplierid method-name> Java .lang.String method-param> method-params> query-method> ejb-ql> query> FindByoutofStock method-name> method-params> query-method> ejb-ql> query> Entity> description>
Supplier EJB-NAME>
au.com.tusc.cmp.supplierHome home> au.com.tusc.cmp.supplier remote> au.com.tusc.cmp.supplierlocalHome local- Home> au.com.tusc.cmp.supplierLocal local>
au.com.tusc.cmp.suppliercmp ejb-class> container persistence-type> java.lang.string prim-key- Class> false reentrant> 2.x cmp-version> MyStoreSupplier Abstract-schema-name> description> SupplierId Field-Name> cmp-field> description> userid field-name> cmp-field> description> FirstName Field-Name> cmp-field> description> LastName field-name> CMP-Field> description> address field-name> cmp-field> description > Message Field-Name> cmp-field> description> Creditlimit <
/ field-name> cmp-field> support> Findall method-name> Method-params> query-method> ejb-ql> query> FindUserid method-name> java.lang.string method-param> method-params> query-method> EJB-QL> query> Entity>
description>
Manager EJB-NAME>
au.com.tusc.bmp.managerhome home> au.com.tusc.bmp.manager remote> au.com.tusc.bmp.managerlocalhome local- Home> au.com.tusc.bmp.managerlocal local>
au.com.tusc.bmp.managerBMP ejb-class> bean persistence-type> au.com.tusc.bmp.managerpk Prim-key-class> false reentrant>
jdbc / hehe res-ref-name> javax.sql.datasource res-type> Container res-auth > Resource-ref> Entity>
description>
Customer EJB-NAME>
au.com.tusc.bmp.customerhome home> au.com.tusc.bmp.customer recote> au.com.tusc.bmp.customerlocalHome local- Home> au.com.tusc.bmp.customerLocal local>
au.com.tusc.bmp.customerbmp ejb-class> bean persistence-type> au.com.tusc.bmp.customerpk Prim-key-class> false reentrant>
jdbc / hehe res-ref-name> javax.sql.datasource res-type> Container res-auth > Resource-ref>
Entity>
Entity> Markup for Those Beans. ->
description>
RequestItems EJB-NAME>
au.com.tusc.mdb.requestItemsBean EJB-CLASS>
Bean Transaction-Type> Auto-Acknowledge ACKNOWEDGE-MODE> javax.jms.queue destination-type> < / Message-Driven-Destination> EJB / StoreAccess EJB-REF-NAME> Session EJB-Ref-Type> Au .com.Tusc.Session.StoreAccessHome home> au.com.tusc.session.storeAccess remote> StoreAccess ejb-link> ejb-ref>
EJB / SupplierLocal EJB-REF-NAME> Entity ejb-ref-type> au.com. Tusc.cmp.supplierLocalHome local-home> au.com.tusc.cmp.supplierlocal local> Supplier ejb-limited> ejb-local-ref>
message-driven>
<-! To add message driven beans that you have deployment descriptor info for, add a file to your XDoclet merge directory called message-driven-beans.xml that contains the message-driven> markup for those Beans. ->
enterprise-beans>
<-! Assembly Descriptor -> <-! To add additional assembly descriptor info here, add a file to your XDoclet merge directory called assembly-descriptor.xml that contains the Assembly-descriptor> Markup. ->
askEMBLY-Descriptor>
ejb-jar>