I'm trying to deploy session beans and entity beans, but I dunno if I will need to
reference them all in a jboss.xml file, my DS is working fine without that file.
So ca, I deploy without using jboss.xml ?
my ejb-jar.xml file looks like this :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar id="EJBJar_1084196237578">
<display-name>EJBJARArchive</display-name>
<enterprise-beans>
<ejb-name>OPCAISSESB</ejb-name>
com.gti.iagence.ejb.opcaisse.session.OPCAISSESBHome
com.gti.iagence.ejb.opcaisse.session.OPCAISSESB
<ejb-class>com.gti.iagence.ejb.opcaisse.session.OPCAISSESBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-local-ref id="EJBLocalRef_1084197960188">
<ejb-ref-name>ejb/EXTRAIT1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.utilmetier.entity.EXTRAITHome</local-home>
com.gti.iagence.ejb.utilmetier.entity.EXTRAIT
<ejb-link>EXTRAIT</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084197960172">
<ejb-ref-name>ejb/COMPTE1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.utilmetier.entity.COMPTEHome</local-home>
com.gti.iagence.ejb.utilmetier.entity.COMPTE
<ejb-link>COMPTE</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084197960203">
<ejb-ref-name>ejb/CAISSE1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.opcaisse.entity.CAISSEHome</local-home>
com.gti.iagence.ejb.opcaisse.entity.CAISSE
<ejb-link>CAISSE</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084197960219">
<ejb-ref-name>ejb/OPCAISSE1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.opcaisse.entity.OPCAISSEHome</local-home>
com.gti.iagence.ejb.opcaisse.entity.OPCAISSE
<ejb-link>OPCAISSE</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084360137141">
<ejb-ref-name>ejb/INSTANCE1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.utilmetier.entity.INSTANCEHome</local-home>
com.gti.iagence.ejb.utilmetier.entity.INSTANCE
<ejb-link>INSTANCE</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084464058000">
<ejb-ref-name>ejb/VERS_DEPL_CENTRAL1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRALHome</local-home>
com.gti.iagence.ejb.opcaisse.entity.VERS_DEPL_CENTRAL
<ejb-link>VERS_DEPL_CENTRAL</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084469748797">
<ejb-ref-name>ejb/VERS_RET_DEPL1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPLHome</local-home>
com.gti.iagence.ejb.opcaisse.entity.VERS_RET_DEPL
<ejb-link>VERS_RET_DEPL</ejb-link>
</ejb-local-ref>
<ejb-local-ref id="EJBLocalRef_1084528627031">
<ejb-ref-name>ejb/CHQDELIV1</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.gti.iagence.ejb.utilspecial.entity.CHQDELIVHome</local-home>
com.gti.iagence.ejb.utilspecial.entity.CHQDELIV
<ejb-link>CHQDELIV</ejb-link>
</ejb-local-ref>
......
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840149#3840149
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840149
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user